42 #ifndef DMXAnalysisManager_h
43 #define DMXAnalysisManager_h 1
50 #include "AIDA/IAnalysisFactory.h"
52 #include "AIDA/ITreeFactory.h"
53 #include "AIDA/ITree.h"
55 #include "AIDA/IHistogramFactory.h"
56 #include "AIDA/IHistogram1D.h"
57 #include "AIDA/IHistogram2D.h"
58 #include "AIDA/IHistogram3D.h"
64 #include "AIDA/ITupleFactory.h"
65 #include "AIDA/ITuple.h"
67 #include "AIDA/IManagedObject.h"
79 class IAnalysisFactory;
82 class IHistogramFactory;
101 class DMXAnalysisManager
105 virtual ~DMXAnalysisManager();
114 void analyseScintHits(
G4int event_id,
G4double energy_pri,
G4double totEnergy,
G4int S_hits,
G4double firstLXeHitTime,
G4int P_hits,
G4double aveTimePmtHits,
G4String firstparticleName,
G4double firstParticleE,
G4bool gamma_ev,
G4bool neutron_ev,
G4bool positron_ev,
G4bool electron_ev,
G4bool other_ev,
long seed1,
long seed2);
123 void analysePrimaryGenerator(
G4double);
135 void PlotHistosInit();
137 void PlotHistosInter(
G4int flag);
140 static DMXAnalysisManager* getInstance();
146 DMXAnalysisManager();
148 static DMXAnalysisManager* instance;
167 long seed1;
long seed2;
177 AIDA::IAnalysisFactory *af;
178 AIDA::ITreeFactory *tf;
180 AIDA::IHistogramFactory *
hf;
181 AIDA::ITupleFactory *tpf;
187 AIDA::IHistogram1D* hEsourcep;
188 AIDA::IHistogram1D* hEdepp;
189 AIDA::IHistogram1D* hEdepRecoil;
190 AIDA::IHistogram1D* hNumPhLow;
191 AIDA::IHistogram1D* hNumPhHigh;
192 AIDA::IHistogram1D* hAvPhArrival;
193 AIDA::IHistogram1D* hPhArrival;
194 AIDA::IHistogram2D* hPMTHits;
195 AIDA::IHistogram2D* h1stPMTHit;
196 AIDA::IHistogram1D* hGammaEdep;
197 AIDA::IHistogram1D* hNeutronEdep;
198 AIDA::IHistogram1D* hElectronEdep;
199 AIDA::IHistogram1D* hPositronEdep;
200 AIDA::IHistogram1D* hOtherEdep;