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
static StreamID invalidStreamID()
Definition: StreamID.h:45
EnergyScaleCorrection_class _correctionRetriever
double gauss(edm::StreamID const &id) const
dictionary isMC
Definition: DiMuonV_cfg.py:36
void calibrate(SimpleElectron &electron, edm::StreamID const &id=edm::StreamID::invalidStreamID()) const
Read and get energy scale and smearings from .dat files.