48 #ifndef GammaRayTelAnalysis_h
49 #define GammaRayTelAnalysis_h 1
55 #include <AIDA/AIDA.h>
59 class GammaRayTelAnalysisMessenger;
62 class AIDA::IAnalysisFactory;
64 class AIDA::IHistogramFactory;
65 class AIDA::ITupleFactory;
67 class AIDA::IHistogram1D;
68 class AIDA::IHistogram2D;
70 class GammaRayTelAnalysis {
72 virtual ~GammaRayTelAnalysis();
81 void EndOfEvent(
G4int flag);
86 void SetHisto1DDraw(
G4String str) {histo1DDraw = str;};
87 void SetHisto1DSave(
G4String str) {histo1DSave = str;};
88 void SetHisto2DDraw(
G4String str) {histo2DDraw = str;};
89 void SetHisto2DSave(
G4String str) {histo2DSave = str;};
90 void SetHisto2DMode(
G4String str) {histo2DMode = str;};
92 G4String GetHisto2DMode() {
return histo2DMode;};
94 void InsertPositionXZ(
double x,
double z);
95 void InsertPositionYZ(
double y,
double z);
96 void InsertEnergy(
double en);
97 void InsertHits(
int nplane);
99 void setNtuple(
float E,
float p,
float x,
float y,
float z);
101 static GammaRayTelAnalysis* getInstance();
105 GammaRayTelAnalysis();
107 void plot1D(IHistogram1D* histo);
108 void plot2D(IHistogram2D* histo);
112 static GammaRayTelAnalysis* instance;
116 IAnalysisFactory* analysisFactory;
132 GammaRayTelAnalysisMessenger* analysisMessenger;