#ifndef HRICH700GEOTESTREALQA_H #define HRICH700GEOTESTREALQA_H #include "hlocation.h" #include "hreconstructor.h" #include "hcategory.h" #include "hiterator.h" #include "hrich700histmanager.h" #include "hgeantkine.h" #include "TCanvas.h" #include <vector> #include <string> using namespace std; class HRich700DigiPar; class HRich700GeoTestRealQa : public HReconstructor { private: // Input / output categories HCategory* fCatRichCal; //! HCategory* fCatRichHit; //! HCategory* fCatRichRaw; //! HCategory* fCatParticleCand; //! HCategory* fCatEvtInfo; HRich700DigiPar* fDigiPar; //! Int_t fEventNum; //! HRich700HistManager* fHM; string fOutputDir; string fOutputRootFile; void initHist(); void fillHistCals(); void fillHistRings(); void fillHistRaw(); void fillHistParticleCands(); void drawHist(Bool_t doEventScale); Int_t getClosestCand(Double_t theta, Double_t phi); Bool_t isCurrentEventGood(); public: HRich700GeoTestRealQa(); ~HRich700GeoTestRealQa(); Bool_t init(); Bool_t reinit(); Int_t execute(); Bool_t finalize(); void drawFromFile(const string& fileName, const string& outputDir); void drawManyFromFile(const vector<string>& fileNames, const vector<string>& legNames, const string& outputDir); void setOutputDir(const string& dir) {fOutputDir = dir;} void setOutputRootFile(const string& rootFile) {fOutputRootFile = rootFile;} ClassDef(HRich700GeoTestRealQa, 0) }; #endif // HRICH700GEOTESTQA_H