34 #ifndef CCalAnalysis_h
35 #define CCalAnalysis_h 1
42 class IAnalysisFactory;
43 class IHistogramFactory;
54 virtual ~CCalAnalysis();
59 void EndOfEvent(
G4int flag);
64 int maxbin() {
return numberOfTimeSlices;}
66 void InsertEnergyHcal(
float*);
67 void InsertEnergyEcal(
float*);
68 void InsertEnergy(
float v);
69 void InsertLateralProfile(
float*);
70 void InsertTime(
float*);
71 void InsertTimeProfile(
int,
double,
double);
73 void setNtuple(
float* hcalE,
float* ecalE,
float elab,
float x,
float y,
74 float z,
float edep,
float edec,
float edhc);
76 static CCalAnalysis* getInstance();
81 static CCalAnalysis* instance;
83 AIDA::IAnalysisFactory* analysisFactory;
87 enum {numberOfTimeSlices = 200};
89 AIDA::IHistogram1D*
energy;
90 AIDA::IHistogram1D* hcalE[28];
91 AIDA::IHistogram1D* ecalE[49];
92 AIDA::IHistogram1D* timeHist[200];
93 AIDA::IHistogram1D* lateralProfile[70];
95 AIDA::IHistogram1D* timeProfile[2];