hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Functions
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Enumerations
Enumerator
Files
File List
File Members
All
c
d
f
i
j
l
m
n
p
r
s
u
Functions
c
d
f
i
m
n
r
s
u
Variables
Typedefs
Macros
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
Loading...
Searching...
No Matches
processing
include
HpsEventFile.h
Go to the documentation of this file.
1
#ifndef __HPSEVENT_FILE_H
2
#define __HPSEVENT_FILE_H
3
4
#include "
IEventFile.h
"
5
#include "
HpsEvent.h
"
6
#include "TTreeReader.h"
7
#include "TFile.h"
8
#include "TTree.h"
9
14
class
HpsEventFile
:
public
IEventFile
{
15
16
public
:
23
HpsEventFile
(
const
std::string ifilename,
const
std::string& ofilename);
24
26
virtual
~HpsEventFile
();
27
34
virtual
bool
nextEvent
();
35
41
void
setupEvent
(
IEvent
* ievent);
42
47
void
resetOutputFileDir
() {
ofile_
->cd();}
48
54
TFile*
getOutputFile
() {
return
ofile_
;}
55
60
void
close
();
61
62
63
private
:
64
HpsEvent
*
event_
{
nullptr
};
65
int
entry_
{0};
66
int
maxEntries_
{0};
67
TFile*
ofile_
{
nullptr
};
68
TFile*
rootfile_
{
nullptr
};
69
TTree*
intree_
{
nullptr
};
70
71
//TTreeReader* ttree_reader;
72
};
14
class
HpsEventFile
:
public
IEventFile
{
…
};
73
74
75
#endif
HpsEvent.h
IEventFile.h
HpsEventFile
description
Definition
HpsEventFile.h:14
HpsEventFile::entry_
int entry_
description
Definition
HpsEventFile.h:65
HpsEventFile::intree_
TTree * intree_
description
Definition
HpsEventFile.h:69
HpsEventFile::event_
HpsEvent * event_
description
Definition
HpsEventFile.h:64
HpsEventFile::rootfile_
TFile * rootfile_
description
Definition
HpsEventFile.h:68
HpsEventFile::~HpsEventFile
virtual ~HpsEventFile()
Definition
HpsEventFile.cxx:11
HpsEventFile::close
void close()
description
Definition
HpsEventFile.cxx:24
HpsEventFile::maxEntries_
int maxEntries_
description
Definition
HpsEventFile.h:66
HpsEventFile::ofile_
TFile * ofile_
description
Definition
HpsEventFile.h:67
HpsEventFile::nextEvent
virtual bool nextEvent()
description
Definition
HpsEventFile.cxx:32
HpsEventFile::resetOutputFileDir
void resetOutputFileDir()
description
Definition
HpsEventFile.h:47
HpsEventFile::setupEvent
void setupEvent(IEvent *ievent)
description
Definition
HpsEventFile.cxx:13
HpsEventFile::getOutputFile
TFile * getOutputFile()
Get the output file.
Definition
HpsEventFile.h:54
HpsEvent
Definition
HpsEvent.h:9
IEventFile
description
Definition
IEventFile.h:10
IEvent
Definition
IEvent.h:7
Generated by
1.9.8