HighLAND
PileUpSystematics.hxx
1 #ifndef PileUpSystematics_h
2 #define PileUpSystematics_h
3 
4 #include "EventWeightBase.hxx"
5 #include "BinnedParams.hxx"
6 
7 /// There are a number of categories of possible pile up, but only the effect of sand muons is
8 /// significant for this analysis. Events are rejected if there is activity in TPC1 (cut *) since in most
9 /// cases, the TPC1 activity is due to tracks from interactions downstream of the detector
10 /// (sand muons) or outside the tracker fiducial volume. A quick study of MC events rejected due to
11 /// the TPC1 veto indicates that the majority are not true CC interactions. Since sand muons are
12 /// not included in the standard NEUT simulation, the Monte Carlo does not include the effect of
13 /// events that are rejected due to coincidence with a Sand Muon and a correction must be made ...
14 
15 // This systematic should then be applied as a simple weighting factor to all events in the analysis:
16 
17 /// TN-152 for a longer explanaition
18 
20 public:
21 
23 
24  virtual ~PileUpSystematics() {
25  if (_fgd1) delete _fgd1; _fgd1 = NULL;
26  if (_fgd2) delete _fgd2; _fgd2 = NULL;
27  }
28 
29  /// Apply this systematic
31  Weight_h ComputeWeight(const ToyExperiment&, const AnaEventC&, const ToyBoxB&){return 1;}
32  Weight_h ComputeWeight(const ToyExperiment& toy, const AnaEventC& event, const ToyBoxB& box, const SelectionBase& sel);
33 
34  BinnedParams* _fgd1;
35  BinnedParams* _fgd2;
36 
37 };
38 
39 #endif
Weight_h ComputeWeight(const ToyExperiment &, const AnaEventC &, const ToyBoxB &)
virtual Weight_h ComputeWeight(const ToyExperiment &toy, const AnaEventC &event, const ToyBoxB &box, const SelectionBase &sel)
This is now the actual method called by SystematicManager, which allows further selection tunning of ...
TN-152 for a longer explanaition.