A class which read HARPO events from root tree. More...
#include <HarpoReaderRoot.h>
Public Member Functions | |
HarpoReaderRoot () | |
HarpoReaderRoot (HarpoConfig *cfg) | |
Constructor called by a standalone application. More... | |
virtual | ~HarpoReaderRoot () |
void | SetDetFile (TString *name, Int_t plane) |
void | SetRootFile (TString *name) |
Bool_t | NextEvent () |
Bool_t | isTimeSynchro () |
void | SkipEvent () |
HarpoEvent * | GetEvent () |
HarpoRunHeader * | GetRunHeader () |
Create RunHeader with links to all raw headers. More... | |
Bool_t | Init (hReadMode mode=hSyncTime) |
Init method : Open in/out files and check run header signature. More... | |
Long_t | Loop (Long_t maxevents) |
Long_t | Loop () |
Long_t | Find (Long_t eventNo) |
virtual void | SetAnalyseFunction (HarpoAnalyse *func, Int_t i=0) |
virtual void | AddAnalyseFunction (HarpoAnalyse *func) |
virtual Bool_t | isDone () |
virtual Bool_t | isError () |
EOF reached. More... | |
virtual Long_t | LoopAll () |
Read errors. More... | |
virtual void | SetRunNo (Long_t nRun) |
Find raw event by event number. More... | |
virtual Long_t | GetRunNo () |
virtual Long_t | GetReadEvts () |
Protected Attributes | |
Long_t | fRunNo |
Number of readed events. More... | |
Long_t | fNevts |
Long_t | fFirstEvent |
Long_t | fMaxEvents |
Bool_t | fDone |
Bool_t | fError |
Int_t | fNanalyses |
HarpoDetReader ** | fDetReader |
HarpoEvent * | fEvent |
HarpoRunHeader * | fRunHeader |
HarpoAnalyse * | fAnalyse [30] |
HarpoDetSet * | fDetSet |
Private Attributes | |
Bool_t | fSync |
Find raw event by event number. More... | |
hReadMode | fMode |
TFile * | fInRootFile |
TChain * | fInputTree |
HarpoEventHeader * | fEventHeader |
HarpoDetEvent * | fEvents [gkNDetectors] |
HarpoRecoEvent * | fRecoEvent |
TString * | fInputFileName |
A class which read HARPO events from root tree.
Definition at line 25 of file HarpoReaderRoot.h.
HarpoReaderRoot::HarpoReaderRoot | ( | ) |
HarpoReaderRoot::HarpoReaderRoot | ( | HarpoConfig * | cfg | ) |
Constructor called by a standalone application.
The constructor resets all pointers among the data memebers, parses the configuration file. You will need to call Init() metod before access to any data from an input file.
Definition at line 63 of file HarpoReaderRoot.cxx.
|
virtual |
Definition at line 76 of file HarpoReaderRoot.cxx.
|
virtualinherited |
Reimplemented in HarpoReader.
Definition at line 122 of file HarpoReaderBase.cxx.
|
virtual |
Implements HarpoReaderBase.
Definition at line 413 of file HarpoReaderRoot.cxx.
|
virtual |
Implements HarpoReaderBase.
Definition at line 124 of file HarpoReaderRoot.cxx.
|
inlinevirtualinherited |
Reimplemented in HarpoReader.
Definition at line 66 of file HarpoReaderBase.h.
|
virtual |
Create RunHeader with links to all raw headers.
Implements HarpoReaderBase.
Definition at line 176 of file HarpoReaderRoot.cxx.
|
inlinevirtualinherited |
Reimplemented in HarpoReader.
Definition at line 65 of file HarpoReaderBase.h.
Init method : Open in/out files and check run header signature.
Return : true on success or false on any errors.
Implements HarpoReaderBase.
Definition at line 188 of file HarpoReaderRoot.cxx.
|
inlinevirtualinherited |
Reimplemented in HarpoReader.
Definition at line 56 of file HarpoReaderBase.h.
|
inlinevirtualinherited |
EOF reached.
Reimplemented in HarpoReader.
Definition at line 57 of file HarpoReaderBase.h.
|
inlinevirtual |
Implements HarpoReaderBase.
Definition at line 39 of file HarpoReaderRoot.h.
|
virtual |
Implements HarpoReaderBase.
Definition at line 366 of file HarpoReaderRoot.cxx.
|
inline |
Definition at line 54 of file HarpoReaderRoot.h.
|
virtualinherited |
Read errors.
Reimplemented in HarpoReader.
Definition at line 141 of file HarpoReaderBase.cxx.
|
virtual |
Implements HarpoReaderBase.
Definition at line 97 of file HarpoReaderRoot.cxx.
|
virtualinherited |
Reimplemented in HarpoReader.
Definition at line 98 of file HarpoReaderBase.cxx.
|
virtual |
Implements HarpoReaderBase.
Definition at line 85 of file HarpoReaderRoot.cxx.
|
virtual |
Implements HarpoReaderBase.
Definition at line 91 of file HarpoReaderRoot.cxx.
|
inlinevirtualinherited |
Find raw event by event number.
Reimplemented in HarpoReader.
Definition at line 64 of file HarpoReaderBase.h.
|
inlinevirtual |
Implements HarpoReaderBase.
Definition at line 42 of file HarpoReaderRoot.h.
|
protectedinherited |
Definition at line 87 of file HarpoReaderBase.h.
|
protectedinherited |
Definition at line 80 of file HarpoReaderBase.h.
|
protectedinherited |
Definition at line 91 of file HarpoReaderBase.h.
|
protectedinherited |
Definition at line 75 of file HarpoReaderBase.h.
|
protectedinherited |
Definition at line 76 of file HarpoReaderBase.h.
|
protectedinherited |
Definition at line 82 of file HarpoReaderBase.h.
|
private |
Definition at line 75 of file HarpoReaderRoot.h.
|
private |
Definition at line 76 of file HarpoReaderRoot.h.
|
protectedinherited |
Definition at line 73 of file HarpoReaderBase.h.
|
private |
Definition at line 79 of file HarpoReaderRoot.h.
|
private |
Definition at line 73 of file HarpoReaderRoot.h.
|
private |
Definition at line 72 of file HarpoReaderRoot.h.
|
protectedinherited |
Definition at line 74 of file HarpoReaderBase.h.
|
private |
Definition at line 69 of file HarpoReaderRoot.h.
|
protectedinherited |
Definition at line 78 of file HarpoReaderBase.h.
|
protectedinherited |
Definition at line 72 of file HarpoReaderBase.h.
|
private |
Definition at line 77 of file HarpoReaderRoot.h.
|
protectedinherited |
Definition at line 84 of file HarpoReaderBase.h.
|
protectedinherited |
Number of readed events.
Definition at line 71 of file HarpoReaderBase.h.
|
private |
Find raw event by event number.
Definition at line 67 of file HarpoReaderRoot.h.