14 int main(
int argc,
char **argv)
16 std::cout <<
"Starting" << std::endl;
36 printf (
"Int ERROR exiting ...\n");
41 std::cout <<
"Finding event " << cfg->
GetNEvent() << std::endl;
44 std::cout <<
"Event " << cfg->
GetNEvent() <<
" found." << std::endl;
52 <<
" data for event " << cfg->
GetNEvent() << std::endl;
54 if ((ndet ==
XDCC) || ( ndet ==
YDCC )) {
59 std::cout <<
"No Data Map for plane "<< ndet << std::endl;
61 }
else if ( ndet ==
PMM2 ) {
74 std::cout <<
"Event " << cfg->
GetNEvent() <<
" no found." << std::endl;
77 std::cout <<
" Done after event " << rdr->
GetReadEvts()
78 <<
" ( EOF ) : " << rdr->
isDone()
79 <<
" Err " << rdr->
isError() << std::endl;
Bool_t isError()
Read errors.
Long_t Find(Long_t eventNo)
Find raw event by event number.
int main(int argc, char **argv)
Bool_t Init(hReadMode mode=hSyncTime)
Bool_t isExist(ULong_t det)
Detecror date exist //! Number of Real Detectors.
A class which instantiate the real top level reader.
Bool_t isDone()
EOF reached.
Base class for all Harpo Detectors.
unpacked dcc data The class contains the data map for DCC or Feminos The data is stored as a 2D TMatr...
HarpoDetEvent * GetDetEvent(Long_t plane=XDCC)
Long64_t GetNEvent()
Get Event number with we looking for.
Long_t GetReadEvts()
Number of readed events.
void print() const
Read config file in libconfig format.
A class store HARPO row event data and header. Provide access metods to the row event data...
const char * GetDescription() const
const ULong_t gkNDetectors
HarpoDccMap * GetDccMap(Long_t plane=XDCC)
HarpoRunHeader * GetRunHeader()
A class which keeps track of the entire configuration of the analysis.
R__EXTERN HarpoDetSet * gHDetSet