HighLAND
numuBkgInAntiNuModeCCMultiPiSelection.hxx
1 #ifndef numuBkgInAntiNuModeCCMultiPiSelection_h
2 #define numuBkgInAntiNuModeCCMultiPiSelection_h
3 
4 #include "numuCCMultiPiSelection.hxx"
5 #include "numuBkgInAntiNuModeCCSelection.hxx"
6 
8  public:
9  numuBkgInAntiNuModeCCMultiPiSelection(bool forceBreak=true);
11 
12  //---- These are mandatory functions
13  void DefineSteps();
14  void DefineDetectorFV();
16  bool FillEventSummary(AnaEventC& event, Int_t allCutsPassed[]);
17  SampleId::SampleEnum GetSampleEnum(){return SampleId::kFGD1NuMuBkgInAntiNuModeCC;}
18  bool IsRelevantRecObjectForSystematic(const AnaEventC& event, AnaRecObjectC* recObj, SystId_h systId, Int_t branch) const;
19  bool IsRelevantTrueObjectForSystematic(const AnaEventC& event, AnaTrueObjectC* trueObj, SystId_h systId, Int_t branch) const;
20  bool IsRelevantSystematic(const AnaEventC& event, const ToyBoxB& box, SystId_h systId, Int_t branch) const;
21  void InitializeEvent(AnaEventC& event);
22  bool CheckRedoSelection(const AnaEventC& event, const ToyBoxB& PreviousToyBox, Int_t& redoFromStep);
23 
24 protected:
25 
26  numuBkgInAntiNuModeCCSelection _numuBkgInAntiNuModeCCSelection;
27  numuCCMultiPiSelection _numuCCMultiPiSelection;
28 };
29 
31 public:
32  using StepBase::Apply;
33  bool Apply(AnaEventC& event, ToyBoxB& box) const;
35 };
36 
37 #endif
void InitializeEvent(AnaEventC &event)
Fill the EventBox with the objects needed by this selection.
bool IsRelevantRecObjectForSystematic(const AnaEventC &event, AnaRecObjectC *recObj, SystId_h systId, Int_t branch) const
Is this track relevant for a given systematic (prior to selection, call when initializing the event...
void DefineSteps()
Define all steps in the selection.
bool IsRelevantTrueObjectForSystematic(const AnaEventC &event, AnaTrueObjectC *trueObj, 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 * MakeToyBox()
Create the appropriate type of box.
virtual bool Apply(AnaEventC &event, ToyBoxB &box) const
Definition: StepBase.hxx:46
void DefineDetectorFV()
Define the detector Fiducial Volume in which this selection is applied.
bool Apply(AnaEventC &event, bool &redo)
Apply all steps in the selection.
bool CheckRedoSelection(const AnaEventC &event, const ToyBoxB &PreviousToyBox, Int_t &redoFromStep)
bool IsRelevantSystematic(const AnaEventC &event, const ToyBoxB &box, SystId_h systId, Int_t branch) const
Is this systematic relevant for this selection.
ToyBoxB ** PreviousToyBox
Array of pointers to the PreviousToyBox (for each event)