HighLAND
ECalEMEnergyScaleSystematics.hxx
1 #ifndef ECalEMEnergyScaleSystematics_h
2 #define ECalEMEnergyScaleSystematics_h
3 
4 #include "ECalEMEnergySystematicsBase.hxx"
5 
6 /// This systematic shifts the momentum of all tracks with TPC information.
7 ///
8 /// For each virtual analysis, all tracks are shifted by the same amount.
9 /// The shift for each analysis is chosen from a Gaussian distribution
10 /// specified by the user.
12 public:
13 
14  /// Instantiate the momentum scale systematic. nbins bins for the PDF. scale and scaleError describe
15  /// the Gaussian distribution from which the shift in momentum is chosen.
16  ECalEMEnergyScaleSystematics():ECalEMEnergySystematicsBase(1, "ECalEMEnergyScale", k1D_SYMMETRIC_NOMEAN){}
17 
18  virtual ~ECalEMEnergyScaleSystematics() {}
19 
20  /// Apply the systematic
21  void Apply(const ToyExperiment& toy, AnaEventC& event);
22 
23 
24 
25 };
26 
27 #endif
void Apply(const ToyExperiment &toy, AnaEventC &event)
Apply the systematic.