1 #ifndef gammaSelection_h 2 #define gammaSelection_h 4 #include "SelectionBase.hxx" 5 #include "Parameters.hxx" 6 #include "ToyBoxTracker.hxx" 8 #include "SubDetId.hxx" 10 #include "nueCCSelection.hxx" 23 bool FillEventSummary(
AnaEventC& event, Int_t allCutsPassed[]);
24 SampleId::SampleEnum GetSampleEnum(){
return SampleId::kFGD1Gamma;}
37 Int_t _FindLeadingTracksStepIndex;
38 Int_t _TotalMultiplicityCutIndex;
39 Int_t _ElecPIDCutIndex;
40 Int_t _ElecPIDStepIndex;
70 _num_tpc_nodes = ND::params().
GetParameterI(
"psycheSelections.gammaAnalysis.Cuts.Quality.MinTPCNodesPrimary");
82 _inv_mass_min = (Float_t)ND::params().
GetParameterD(
"psycheSelections.gammaAnalysis.Cuts.PairFinder.InvMassMin");
88 Float_t _inv_mass_min;
94 _elepullpri_min = (Float_t)ND::params().
GetParameterD(
"psycheSelections.gammaAnalysis.Cuts.PID.PullElecMin");
95 _elepullpri_max = (Float_t)ND::params().
GetParameterD(
"psycheSelections.gammaAnalysis.Cuts.PID.PullElecMax");
101 Float_t _elepullpri_min;
102 Float_t _elepullpri_max;
void DefineDetectorFV()
Define the detector Fiducial Volume in which this selection is applied.
int GetParameterI(std::string)
Get parameter. Value is returned as integer.
bool IsRelevantRecObjectForSystematicInToy(const AnaEventC &event, const ToyBoxB &boxB, AnaRecObjectC *recObj, SystId_h systId, Int_t branch) const
Is this track relevant for a given systematic (after selection, called for each toy) ...
StepBase * MakeClone()
MANDATORY FUNCTIONS !!!
bool IsRelevantSystematic(const AnaEventC &event, const ToyBoxB &box, SystId_h systId, Int_t branch) const
Is this systematic relevant for this selection.
void DefineSteps()
Define all steps in the selection.
StepBase * MakeClone()
MANDATORY FUNCTIONS !!!
bool CheckRedoSelection(const AnaEventC &eventC, const ToyBoxB &PreviousToyBox, Int_t &redoFromStep)
StepBase * MakeClone()
MANDATORY FUNCTIONS !!!
virtual bool Apply(AnaEventC &event, ToyBoxB &box) const
bool IsRelevantRecObjectForSystematic(const AnaEventC &event, AnaRecObjectC *trackRecC, SystId_h systId, Int_t branch) const
Is this track relevant for a given systematic (prior to selection, call when initializing the event...
bool Apply(AnaEventC &event, bool &redo)
Apply all steps in the selection.
double GetParameterD(std::string)
Get parameter. Value is returned as double.
void InitializeEvent(AnaEventC &event)
Fill the EventBox with the objects needed by this selection.
ToyBoxB * MakeToyBox()
Create the appropriate type of box.
bool IsRelevantTrueObjectForSystematicInToy(const AnaEventC &event, const ToyBoxB &boxB, AnaTrueObjectC *trueObj, SystId_h systId, Int_t branch) const
Is this true track relevant for a given systematic (after selection, called for each toy) ...
StepBase * MakeClone()
MANDATORY FUNCTIONS !!!
StepBase * MakeClone()
MANDATORY FUNCTIONS !!!
StepBase * MakeClone()
MANDATORY FUNCTIONS !!!
ToyBoxB ** PreviousToyBox
Array of pointers to the PreviousToyBox (for each event)
bool IsRelevantTrueObjectForSystematic(const AnaEventC &event, AnaTrueObjectC *trueTrack, SystId_h systId, Int_t branch) const
Is this true track relevant for a given systematic (prior to selection, call when initializing the ev...