48 GammaRayTelAnalysisMessenger::GammaRayTelAnalysisMessenger(GammaRayTelAnalysis* analysis)
49 :gammaRayTelAnalysis(analysis)
53 gammaRayTelAnalysisDir->SetGuidance(
"GammaRayTel analysis control.");
67 Histo1DDrawCmd->SetGuidance(
"Enable the drawing of the 1d histograms every event.");
68 Histo1DDrawCmd->SetGuidance(
"Choice: disable, enable(default)");
69 Histo1DDrawCmd->SetParameterName(
"choice",
true);
70 Histo1DDrawCmd->SetDefaultValue(
"ebable");
71 Histo1DDrawCmd->SetCandidates(
"disable enable");
75 Histo1DSaveCmd->SetGuidance(
"Enable the saving of the 1d histograms every run.");
76 Histo1DSaveCmd->SetGuidance(
"Choice: disable, enable(default)");
77 Histo1DSaveCmd->SetParameterName(
"choice",
true);
78 Histo1DSaveCmd->SetDefaultValue(
"enable");
79 Histo1DSaveCmd->SetCandidates(
"disable enable");
100 Histo2DDrawCmd->SetGuidance(
"Enable the drawing of the 2d histograms every events.");
101 Histo2DDrawCmd->SetGuidance(
"Choice: disable, enable(default)");
102 Histo2DDrawCmd->SetParameterName(
"choice",
true);
103 Histo2DDrawCmd->SetDefaultValue(
"enable");
104 Histo2DDrawCmd->SetCandidates(
"disable enable");
108 Histo2DSaveCmd->SetGuidance(
"Enable the saving of the 2d histograms every run.");
109 Histo2DSaveCmd->SetGuidance(
"Choice: disable, enable(default)");
110 Histo2DSaveCmd->SetParameterName(
"choice",
true);
111 Histo2DSaveCmd->SetDefaultValue(
"enable");
112 Histo2DSaveCmd->SetCandidates(
"disable enable");
116 Histo2DModeCmd->SetGuidance(
"Select the mode for the 2d histograms.");
117 Histo2DModeCmd->SetGuidance(
"Choice: position, strip(default)");
118 Histo2DModeCmd->SetGuidance(
"position -> the histo is filled with true positions in mm");
119 Histo2DModeCmd->SetGuidance(
"strip -> the histo is filled with the number of the strip and the plane");
120 Histo2DModeCmd->SetParameterName(
"choice",
true);
121 Histo2DModeCmd->SetDefaultValue(
"strip");
122 Histo2DModeCmd->SetCandidates(
"position strip");
128 GammaRayTelAnalysisMessenger::~GammaRayTelAnalysisMessenger()
130 delete Histo1DDrawCmd;
131 delete Histo1DSaveCmd;
132 delete Histo2DDrawCmd;
133 delete Histo2DSaveCmd;
134 delete Histo2DModeCmd;
144 if( command == Histo1DDrawCmd )
145 { gammaRayTelAnalysis->SetHisto1DDraw(newValue);}
147 if( command == Histo1DSaveCmd )
148 { gammaRayTelAnalysis->SetHisto1DSave(newValue);}
152 if( command == Histo2DDrawCmd )
153 { gammaRayTelAnalysis->SetHisto2DDraw(newValue);}
155 if( command == Histo2DSaveCmd )
156 { gammaRayTelAnalysis->SetHisto2DSave(newValue);}
158 if( command == Histo2DModeCmd )
159 { gammaRayTelAnalysis->SetHisto2DMode(newValue);}