23 #include <arpa/inet.h>
74 Info(
"Dummy SetRootFile",
"%s",name->Data());
86 if ( ! res )
return res;
129 if(
gHarpoDebug>0) Info(
"Init",
"Readout mode %d",mode);
163 std::cout <<
"Add Det Header "<< ndet <<
" " << rawhdr << std::endl;
175 if(
gHarpoDebug>0) Info(
"Loop",
"maxevents = %ld",maxevents);
179 Info(
"Loop",
"Get Event %ld",
fNevts);
182 Info(
"Loop",
"Process event %p",evt);
196 Info(
"Loop",
"Event processed");
203 Info(
"Loop",
"Event Deleted");
217 "Fatal Analysis Error %d aborting prgram.\n",st);
221 if (++cnt >= maxevents)
break;
HarpoRunHeader * fRunHeader
HarpoRunHeader * GetRunHeader()
Create RunHeader with links to all raw headers.
A virtual class store event data for un detector.
Long_t fRunNo
Number of readed events.
Long_t Loop(Long_t maxevents)
Bool_t isExist(ULong_t det)
Detecror date exist //! Number of Real Detectors.
virtual ~HarpoReaderSim()
TString * GetInFile(Int_t idet)
Get Input file name for detector.
HarpoAnalyse * fAnalyse[30]
A class which read HARPO sim file from one SIM and creant Sim Events and Sim Headers for SIM Events o...
A base class for all top level HARPO readers.
Data from Keller temperuture and pressure sensors.
void SetRunNo(Long_t nRun)
Find raw event by event number.
void SetHeader(HarpoEventHeader *data)
A class which read HARPO simulated events.
void SetDet(Long_t plane)
virtual void ProcessEvent(HarpoEvent *event)
Set pointer to new event for analyse, anlyse event , and delete.
virtual Bool_t NextEvent()=0
Bool_t Init(hReadMode mode=hSyncTime)
Init method : Open in/out files and check run header signature.
void SetDetFile(TString *name)
HarpoEventHeader * GetHeader()
A class store HARPO row event data and header. Provide access metods to the row event data...
void SetDetFile(TString *name, Int_t plane)
Long_t Find(Long_t eventNo)
const ULong_t gkNDetectors
void SetDetEvent(HarpoDetEvent *event, ULong_t plane=XDCC)
A class which keeps track of the entire configuration of the analysis.
HarpoDetReader ** fDetReader
HarpoEventHeader * fEventHeader
void SetRootFile(TString *name)