64 std::cout <<
"Print Det " << ndet << std::endl;
67 std::cout <<
"** Class ["<< devt->ClassName() <<
"]" << std::endl;
87 std::cout <<
"HarpoRunHeader = " <<
fRunHeader << std::endl;
91 Info(
"process()",
"Processing Event %ld",
nEvents);
99 Info(
"process()",
" Processing Event %ld",
nEvents);
107 Info(
"process()",
" Get DetEvent %d",ndet);
123 Info(
"process()",
" Tree Filled ");
129 Info(
"process",
"Splitting (evt %li)",
nEvents);
147 Info(
"HarpoAnalyseWriter",
"Do Not Save ionisation data");
155 "No Root Output File name gived, use default" << std::endl;
183 fNewFile =
new TFile(fileName,
"RECREATE",
186 fNewTree =
new TTree(
"HarpoTree",
"Harpo ROOT Tree");
196 fNewTree->Branch(
"RecoEvent",
"HarpoRecoEvent",
208 std::cout <<
"Branch for T2K XDCC" << std::endl;
213 else if (trdr == 1) {
214 std::cout <<
"Branch for MINOS XDCC" << std::endl;
220 std::cout <<
"UNKNOWN XDCC" << std::endl;
225 std::cout <<
"Branch for T2K YDCC" << std::endl;
230 else if (trdr == 1) {
231 std::cout <<
"Branch for MINOS YDCC" << std::endl;
237 std::cout <<
"UNKNOWN YDCC" << std::endl;
264 Info(
"Save",
"%s",
fNewFile->GetName());
272 std::cout <<
"Save Header " << ndet <<
" " << hdr << std::endl;
273 if(hdr) hdr->Write(Form(
"fDetHeader%d",ndet));
276 std::cout <<
"fRunHeader " <<
fRunHeader << std::endl;
282 printf(
"fNewFile %s closed %d bytes written\n",
fNewFile->GetName(),
fNewNb );
void Save(char *mode=NULL)
Bool_t isWriterEnabled()
Check if Writer Enabled.
TString * GetProgramName()
Get Program Name.
HarpoRecoEvent * GetRecoEvent()
A virtual class store event data for un detector.
TString * GetOutFile()
Get Output root file name.
const char * GetName() const
Bool_t isExist(ULong_t det)
Detecror date exist //! Number of Real Detectors.
Object containing the reconstruction information for one event (with array of HarpoRecoClusters Harpo...
void InitFile(const char *name)
Base class for all Harpo Detectors.
A class store HARPO row DCC event data and header. End provide access metods to the row data...
A class store HARPO row FEMINOS event data and header. End provide access metods to the row data...
HarpoDetEvent * fDetEvt[gkNDetectors]
HarpoDetEvent * GetDetEvent(Long_t plane=XDCC)
Bool_t fDoAna
Redefine empty default.
void ProcessEvent(HarpoEvent *event)
Data from Keller temperuture and pressure sensors.
void Set(HarpoEvent *event)
HarpoEventHeader * fEvtHdr
void SetHeader(HarpoEventHeader *data)
HarpoRecoEvent * fRecoEvent
Long64_t GetDetRdrType(HarpoDetType nDet)
Return type of reader impementation for given Harpo Detector.
A class which write harpo events to ROOT Tree.
A class store HARPO raw PMM2 event buffer and header. End provide access metods to the row data...
HarpoEventHeader * GetHeader()
A class store HARPO row event data and header. Provide access metods to the row event data...
HarpoRunHeader * fRunHeader
const ULong_t gkNDetectors
HarpoDccMap * GetDccMap(Long_t plane=XDCC)
R__EXTERN HarpoDetSet * gHDetSet
void print()
Mast be implemented, This method which do all job.
A class store HARPO EVENT : header and row data. Its provide also the methods for access to this data...