HighLAND
psyche
psycheSystematics
v3r12
src
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.
11
class
ECalEMEnergyScaleSystematics
:
public
ECalEMEnergySystematicsBase
{
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
AnaEventC
Definition:
CoreDataClasses.hxx:226
ECalEMEnergyScaleSystematics
Definition:
ECalEMEnergyScaleSystematics.hxx:11
ECalEMEnergyScaleSystematics::Apply
void Apply(const ToyExperiment &toy, AnaEventC &event)
Apply the systematic.
Definition:
ECalEMEnergyScaleSystematics.cxx:7
ToyExperiment
Definition:
ToyExperiment.hxx:14
ECalEMEnergyScaleSystematics::ECalEMEnergyScaleSystematics
ECalEMEnergyScaleSystematics()
Definition:
ECalEMEnergyScaleSystematics.hxx:16
ECalEMEnergySystematicsBase
Definition:
ECalEMEnergySystematicsBase.hxx:10
Generated by
1.8.13