1 #ifndef gammaFGD2Selection_h 2 #define gammaFGD2Selection_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::kFGD2Gamma;}
36 Int_t _FindLeadingTracksStepIndex;
37 Int_t _TotalMultiplicityCutIndex;
38 Int_t _ElecPIDCutIndex;
39 Int_t _ElecPIDStepIndex;
48 _delta_pos_max = (Float_t)ND::params().
GetParameterD(
"psycheSelections.nueCCAnalysis.Cuts.PairFinder.DeltaPosMax");
49 _pullel_min = (Float_t)ND::params().
GetParameterD(
"psycheSelections.nueCCAnalysis.Cuts.PairFinder.PullElecMin");
50 _pullel_max = (Float_t)ND::params().
GetParameterD(
"psycheSelections.nueCCAnalysis.Cuts.PairFinder.PullElecMax");
56 Float_t _delta_pos_max;
bool IsRelevantRecObjectForSystematicInToy(const AnaEventC &, const ToyBoxB &, AnaRecObjectC *, SystId_h systId, Int_t branch=0) const
Is this track relevant for a given systematic (after selection, called for each toy) ...
bool CheckRedoSelection(const AnaEventC &eventC, const ToyBoxB &PreviousToyBox, Int_t &redoFromStep)
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 &, const ToyBoxB &, AnaTrueObjectC *, SystId_h systId, Int_t branch=0) const
Is this true track relevant for a given systematic (after selection, called for each toy) ...
virtual bool Apply(AnaEventC &event, ToyBoxB &box) const
bool IsRelevantSystematic(const AnaEventC &event, const ToyBoxB &box, SystId_h systId, Int_t branch) const
Is this systematic relevant for this selection.
StepBase * MakeClone()
MANDATORY FUNCTIONS !!!
bool Apply(AnaEventC &event, bool &redo)
Apply all steps in the selection.
bool IsRelevantRecObjectForSystematic(const AnaEventC &event, AnaRecObjectC *track, SystId_h systId, Int_t branch) const
Is this track relevant for a given systematic (prior to selection, call when initializing the event...
double GetParameterD(std::string)
Get parameter. Value is returned as double.
void DefineSteps()
Define all steps in the selection.
void DefineDetectorFV()
Define the detector Fiducial Volume in which this selection is applied.
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...
ToyBoxB ** PreviousToyBox
Array of pointers to the PreviousToyBox (for each event)
StepBase * MakeClone()
MANDATORY FUNCTIONS !!!