@@ -107,6 +107,10 @@ class VGammaHadronCuts : public VAnalysisUtilities
107107 double fTMVA_EvaluationResult ;
108108 VTMVAEvaluatorResults* fTMVAEvaluatorResults ;
109109
110+ // reconstruction methods
111+ unsigned int fEnergyReconstructionMethod ;
112+ unsigned int fDirectionReconstructionMethod ;
113+
110114 // orbital phase analysis
111115 TFile* fPhaseCut_File ; // !
112116 TTree* fPhaseCut_Tree ; // !
@@ -186,16 +190,16 @@ class VGammaHadronCuts : public VAnalysisUtilities
186190 VGammaHadronCuts ();
187191 ~VGammaHadronCuts ();
188192
189- bool applyDirectionCuts ( unsigned int iEnergyReconstructionMethod = 0 , bool bCount = false , double x0 = -99999 ., double y0 = -99999 . );
190- bool applyEnergyReconstructionQualityCuts ( unsigned int iEnergyReconstructionMethod = 0 , bool bCount = false );
193+ bool applyDirectionCuts ( bool bCount = false , double x0 = -99999 ., double y0 = -99999 . );
194+ bool applyEnergyReconstructionQualityCuts ( bool bCount = false );
191195 bool applyInsideFiducialAreaCut ( bool bCount = false );
192196 bool applyInsideFiducialAreaCut ( float Xoff, float Yoff, bool bCount = false );
193197 bool applyMCXYoffCut ( double x, double y, bool bCount = false );
194198 bool applyMeanReducedScaledStereoShapeCuts ();
195199 bool applyMeanStereoShapeCuts ();
196200 bool applyMeanScaledStereoShapeCuts ();
197201 bool applyPhaseCut ( int i );
198- bool applyStereoQualityCuts ( unsigned int iEnergyReconstructionMethod = 0 , bool bCount = false , int iEntry = 0 , bool fIsOn = false );
202+ bool applyStereoQualityCuts ( bool bCount = false , int iEntry = 0 , bool fIsOn = false );
199203 bool applyStereoShapeCuts ();
200204 bool applyTMVACut ( int i );
201205 bool applyXGBoostCut ( int i );
@@ -208,13 +212,6 @@ class VGammaHadronCuts : public VAnalysisUtilities
208212 {
209213 return fArrayCentre_Y ;
210214 }
211- double getReconstructedEnergy ( unsigned int iEnergyReconstructionMethod = 0 );
212- double getReconstructedEnergyChi2 ( unsigned int iEnergyReconstructionMethod = 0 );
213- double getReconstructedEnergydE ( unsigned int iEnergyReconstructionMethod = 0 . );
214- double getReconstructedXoff ();
215- double getReconstructedYoff ();
216- double getReconstructedXcore ();
217- double getReconstructedYcore ();
218215 int getGammaHadronCutSelector ()
219216 {
220217 return fGammaHadronCutSelector ;
@@ -254,7 +251,7 @@ class VGammaHadronCuts : public VAnalysisUtilities
254251 {
255252 return fTMVAEvaluatorResults ;
256253 }
257- void initialize ();
254+ void initialize ( unsigned int iEnergyMethod, unsigned int iDirectionMethod );
258255 bool isGamma ( int i = 0 , bool bCount = false , bool fIsOn = true );
259256 bool isMCCuts ()
260257 {
@@ -305,6 +302,11 @@ class VGammaHadronCuts : public VAnalysisUtilities
305302 fArrayCentre_X = iX;
306303 fArrayCentre_Y = iY;
307304 }
305+ void setStereoReconstructionMethod ( unsigned int iEnergyMethod = 0 , unsigned int iDirectionMethod = 0 )
306+ {
307+ fEnergyReconstructionMethod = iEnergyMethod;
308+ fDirectionReconstructionMethod = iDirectionMethod;
309+ }
308310 void setTelToAnalyze ( vector< unsigned int > iTelToAnalyze )
309311 {
310312 fTelToAnalyze = iTelToAnalyze;
0 commit comments