12 #include "TApplication.h"
14 int main(
int argc,
char **argv)
16 Long_t processed = -1;
34 printf (
"Int ERROR exiting ...\n");
38 TApplication *theApp =
new TApplication(
"App", &argc, argv);
39 gROOT->SetStyle(
"Plain"); gStyle->SetPalette(1);
41 std::cout <<
"Det = " << cfg->
GetDet() << std::endl;
46 processed = rdr->
Loop();
52 printf(
"\n Done processed Events %li\n",processed);
Long64_t GetDet()
Get Detector Number for single detector readers.
void SetAnalyseFunction(HarpoDetAnalyse *func)
void Save(char *mode=NULL)
A virtual class which define intrafece between HARPO Reader and Event Analysis code.
void SetDet(Long_t plane)
Long_t Loop()
Read errors.
void print() const
Read config file in libconfig format.
A class which read HARPO dcc file from one FEMINOS and creant Dcc Events and Dcc Headers for FEMINOS ...
Bool_t Init()
Init method : Open in/out files and check run header signature.
int main(int argc, char **argv)
static hReaderType gHReaderType
Reader Type.
HarpoFeminosHeader * GetDetHeader()
A class which keeps track of the entire configuration of the analysis.