CMS 3D CMS Logo

ElectronEnergyCalibratorRun2.h
Go to the documentation of this file.
1 #ifndef ElectronEnergyCalibratorRun2_h
2 #define ElectronEnergyCalibratorRun2_h
3 
4 #include <TRandom.h>
9 
10 #include <vector>
11 
13 public:
14  // dummy constructor for persistence
16 
17  // further configuration will be added when we will learn how it will work
20 
23  void initPrivateRng(TRandom *rnd);
24 
28 
32  unsigned int runNumber,
33  edm::StreamID const &id = edm::StreamID::invalidStreamID()) const;
34 
35 protected:
36  // whatever data will be needed
39  TRandom *rng_;
40 
44  double gauss(edm::StreamID const &id) const;
46 };
47 
48 #endif
EnergyScaleCorrection_class
Read and get energy scale and smearings from .dat files.
Definition: EnergyScaleCorrection_class.h:118
EpCombinationTool.h
edm::StreamID
Definition: StreamID.h:30
ElectronEnergyCalibratorRun2::gauss
double gauss(edm::StreamID const &id) const
Definition: ElectronEnergyCalibratorRun2.cc:61
ElectronEnergyCalibratorRun2::_correctionRetriever
EnergyScaleCorrection_class _correctionRetriever
Definition: ElectronEnergyCalibratorRun2.h:45
ElectronEnergyCalibratorRun2::synchronization_
bool synchronization_
Definition: ElectronEnergyCalibratorRun2.h:38
ElectronEnergyCalibratorRun2::rng_
TRandom * rng_
Definition: ElectronEnergyCalibratorRun2.h:39
SimpleElectron.h
ElectronEnergyCalibratorRun2::ElectronEnergyCalibratorRun2
ElectronEnergyCalibratorRun2()
Definition: ElectronEnergyCalibratorRun2.h:15
convertSQLiteXML.runNumber
runNumber
Definition: convertSQLiteXML.py:91
EnergyScaleCorrection_class.h
SimpleElectron
Definition: SimpleElectron.h:8
ElectronEnergyCalibratorRun2
Definition: ElectronEnergyCalibratorRun2.h:12
metsig::electron
Definition: SignAlgoResolutions.h:48
reco::GsfElectron
Definition: GsfElectron.h:35
calibratedElectrons_cfi.synchronization
synchronization
Definition: calibratedElectrons_cfi.py:33
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
ElectronEnergyCalibratorRun2::epCombinationTool_
EpCombinationTool * epCombinationTool_
Definition: ElectronEnergyCalibratorRun2.h:37
ElectronEnergyCalibratorRun2::~ElectronEnergyCalibratorRun2
~ElectronEnergyCalibratorRun2()
Definition: ElectronEnergyCalibratorRun2.cc:26
ElectronEnergyCalibratorRun2::isMC_
bool isMC_
Definition: ElectronEnergyCalibratorRun2.h:38
ElectronEnergyCalibratorRun2::calibrate
void calibrate(SimpleElectron &electron, edm::StreamID const &id=edm::StreamID::invalidStreamID()) const
Definition: ElectronEnergyCalibratorRun2.cc:37
edm::StreamID::invalidStreamID
static StreamID invalidStreamID()
Definition: StreamID.h:44
ElectronEnergyCalibratorRun2::initPrivateRng
void initPrivateRng(TRandom *rnd)
Definition: ElectronEnergyCalibratorRun2.cc:28
StandaloneTrackMonitor_cfi.isMC
isMC
Definition: StandaloneTrackMonitor_cfi.py:13
StreamID.h
EpCombinationTool
Definition: EpCombinationTool.h:10