CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
CalibratedElectronProducer Class Reference

#include <CalibratedElectronProducer.h>

Inheritance diagram for CalibratedElectronProducer:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 CalibratedElectronProducer (const edm::ParameterSet &)
 
virtual void produce (edm::Event &, const edm::EventSetup &)
 
virtual ~CalibratedElectronProducer ()
 
- Public Member Functions inherited from edm::EDProducer
 EDProducer ()
 
ModuleDescription const & moduleDescription () const
 
virtual ~EDProducer ()
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 ProducerBase ()
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription
const &)> 
registrationCallback () const
 used by the fwk to register list of products More...
 
virtual ~ProducerBase ()
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
 EDConsumerBase ()
 
ProductHolderIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const
 
std::vector
< ProductHolderIndexAndSkipBit >
const & 
itemsToGetFromEvent () const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const
 
void modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
bool registeredToConsume (ProductHolderIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Attributes

bool applyLinearityCorrection
 
const CaloGeometrycaloGeometry_
 
std::string combinationRegressionInputPath
 
int combinationType
 
int correctionsType
 
std::string dataset
 
const CaloTopologyecalTopology_
 
edm::EDGetTokenT
< edm::ValueMap< double > > 
energyErrorRegToken_
 
edm::EDGetTokenT
< edm::ValueMap< double > > 
energyRegToken_
 
bool geomInitialized_
 
edm::EDGetTokenT
< reco::GsfElectronCollection
inputElectronsToken_
 
bool isAOD
 
bool isMC
 
std::string linCorrectionsInputPath
 
double lumiRatio
 
ElectronEPcombinatormyCombinator
 
EpCombinationToolmyEpCombinationTool
 
std::string nameNewEnergyErrorReg_
 
std::string nameNewEnergyReg_
 
std::string newElectronName_
 
edm::EDGetTokenT
< EcalRecHitCollection
recHitCollectionEBToken_
 
edm::EDGetTokenT
< EcalRecHitCollection
recHitCollectionEEToken_
 
std::string scaleCorrectionsInputPath
 
bool synchronization
 
ElectronEnergyCalibratortheEnCorrector
 
bool updateEnergyError
 
bool verbose
 

Additional Inherited Members

- Public Types inherited from edm::EDProducer
typedef EDProducer ModuleType
 
- Public Types inherited from edm::ProducerBase
typedef
ProductRegistryHelper::TypeLabelList 
TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 

Detailed Description

Description: EDProducer of GsfElectron objects

Implementation: <Notes on="" implementation>="">

Definition at line 27 of file CalibratedElectronProducer.h.

Constructor & Destructor Documentation

CalibratedElectronProducer::CalibratedElectronProducer ( const edm::ParameterSet cfg)
explicit

Definition at line 38 of file CalibratedElectronProducer.cc.

References gather_cfg::cout, dataset::dataset, Exception, contentValuesFiles::fullPath, edm::ParameterSet::getParameter(), AlCaHLTBitMon_QueryRunRegistry::string, and verbose.

39 {
40  inputElectronsToken_ = consumes<reco::GsfElectronCollection>(cfg.getParameter<edm::InputTag>("inputElectronsTag"));
41 
42  energyRegToken_ = consumes<edm::ValueMap<double> >(cfg.getParameter<edm::InputTag>("nameEnergyReg"));
43  energyErrorRegToken_ = consumes<edm::ValueMap<double> >(cfg.getParameter<edm::InputTag>("nameEnergyErrorReg"));
44 
45  recHitCollectionEBToken_ = consumes<EcalRecHitCollection>(cfg.getParameter<edm::InputTag>("recHitCollectionEB"));
46  recHitCollectionEEToken_ = consumes<EcalRecHitCollection>(cfg.getParameter<edm::InputTag>("recHitCollectionEE"));
47 
48 
49  nameNewEnergyReg_ = cfg.getParameter<std::string>("nameNewEnergyReg");
50  nameNewEnergyErrorReg_ = cfg.getParameter<std::string>("nameNewEnergyErrorReg");
51  newElectronName_ = cfg.getParameter<std::string>("outputGsfElectronCollectionLabel");
52 
53 
54  dataset = cfg.getParameter<std::string>("inputDataset");
55  isMC = cfg.getParameter<bool>("isMC");
56  updateEnergyError = cfg.getParameter<bool>("updateEnergyError");
57  lumiRatio = cfg.getParameter<double>("lumiRatio");
58  correctionsType = cfg.getParameter<int>("correctionsType");
59  applyLinearityCorrection = cfg.getParameter<bool>("applyLinearityCorrection");
60  combinationType = cfg.getParameter<int>("combinationType");
61  verbose = cfg.getParameter<bool>("verbose");
62  synchronization = cfg.getParameter<bool>("synchronization");
63  combinationRegressionInputPath = cfg.getParameter<std::string>("combinationRegressionInputPath");
64  scaleCorrectionsInputPath = cfg.getParameter<std::string>("scaleCorrectionsInputPath");
65  linCorrectionsInputPath = cfg.getParameter<std::string>("linearityCorrectionsInputPath");
66 
67  //basic checks
68  if ( isMC && ( dataset != "Summer11" && dataset != "Fall11"
69  && dataset!= "Summer12" && dataset != "Summer12_DR53X_HCP2012"
70  && dataset != "Summer12_LegacyPaper" ) )
71  {
72  throw cms::Exception("CalibratedgsfElectronProducer|ConfigError") << "Unknown MC dataset";
73  }
74  if ( !isMC && ( dataset != "Prompt" && dataset != "ReReco"
75  && dataset != "Jan16ReReco" && dataset != "ICHEP2012"
76  && dataset != "Moriond2013" && dataset != "22Jan2013ReReco" ) )
77  {
78  throw cms::Exception("CalibratedgsfElectronProducer|ConfigError") << "Unknown Data dataset";
79  }
80 
81  // Linearity correction only applied on combined momentum obtain with regression combination
83  {
84  std::cout << "[CalibratedElectronProducer] "
85  << "Warning: you chose combinationType!=3 and applyLinearityCorrection=True. Linearity corrections are only applied on top of combination 3." << std::endl;
86  }
87 
88  std::cout << "[CalibratedGsfElectronProducer] Correcting scale for dataset " << dataset << std::endl;
89 
90  //initializations
91  std::string pathToDataCorr;
92  switch (correctionsType)
93  {
94  case 0:
95  break;
96  case 1:
97  if ( verbose )
98  {
99  std::cout << "You choose regression 1 scale corrections" << std::endl;
100  }
101  break;
102  case 2:
103  if ( verbose )
104  {
105  std::cout << "You choose regression 2 scale corrections." << std::endl;
106  }
107  break;
108  case 3:
109  throw cms::Exception("CalibratedgsfElectronProducer|ConfigError")
110  << "You choose standard non-regression ecal energy scale corrections. They are not implemented yet.";
111  break;
112  default:
113  throw cms::Exception("CalibratedgsfElectronProducer|ConfigError")
114  << "Unknown correctionsType !!!" ;
115  }
116 
118  (
121  dataset,
124  lumiRatio,
125  isMC,
127  verbose,
129  );
130 
131  if ( verbose )
132  {
133  std::cout<<"[CalibratedGsfElectronProducer] "
134  << "ElectronEnergyCalibrator object is created" << std::endl;
135  }
136 
139  (
141  "CombinationWeight"
142  );
143 
145 
146  if ( verbose )
147  {
148  std::cout << "[CalibratedGsfElectronProducer] "
149  << "Combination tools are created and initialized" << std::endl;
150  }
151 
152  produces<edm::ValueMap<double> >(nameNewEnergyReg_);
153  produces<edm::ValueMap<double> >(nameNewEnergyErrorReg_);
154  produces<GsfElectronCollection> (newElectronName_);
155  geomInitialized_ = false;
156 }
T getParameter(std::string const &) const
bool init(const std::string &regressionFile, const std::string &bdtName="")
edm::EDGetTokenT< EcalRecHitCollection > recHitCollectionEEToken_
edm::EDGetTokenT< edm::ValueMap< double > > energyRegToken_
edm::EDGetTokenT< EcalRecHitCollection > recHitCollectionEBToken_
edm::EDGetTokenT< edm::ValueMap< double > > energyErrorRegToken_
edm::EDGetTokenT< reco::GsfElectronCollection > inputElectronsToken_
ElectronEnergyCalibrator * theEnCorrector
tuple cout
Definition: gather_cfg.py:145
CalibratedElectronProducer::~CalibratedElectronProducer ( )
virtual

Definition at line 158 of file CalibratedElectronProducer.cc.

159 {}

Member Function Documentation

void CalibratedElectronProducer::produce ( edm::Event event,
const edm::EventSetup setup 
)
virtual

Implements edm::EDProducer.

Definition at line 161 of file CalibratedElectronProducer.cc.

References reco::GsfElectron::BADTRACK, reco::GsfElectron::BIGBREM, reco::GsfElectron::candidateP4Kind(), reco::GsfElectron::classification(), reco::GsfElectron::core(), reco::GsfElectron::correctedEcalEnergy(), reco::GsfElectron::correctedEcalEnergyError(), reco::GsfElectron::correctMomentum(), gather_cfg::cout, reco::GsfElectron::ecalDriven(), reco::GsfElectron::ecalDrivenSeed(), HI_PhotonSkim_cff::electrons, relativeConstraints::error, Exception, edm::helper::Filler< Map >::fill(), reco::GsfElectron::GAP, edm::EventSetup::get(), reco::GsfElectron::GOLDEN, edm::helper::Filler< Map >::insert(), reco::GsfElectron::isEB(), reco::GsfElectron::isEE(), reco::LeafCandidate::p(), reco::GsfElectron::p4(), reco::GsfElectron::p4Error(), funct::pow(), edm::Handle< T >::product(), SuperClusterHelper::r9(), HLT_25ns10e33_v2_cff::recHits, DTTTrigCorrFirst::run, reco::GsfElectron::SHOWERING, mathSSE::sqrt(), edm::Event::streamID(), reco::GsfElectron::superCluster(), reco::GsfElectron::trackerDrivenSeed(), reco::btau::trackMomentum, reco::GsfElectron::trackMomentumAtVtx(), and reco::GsfElectron::trackMomentumError().

Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().

162 {
163  if (!geomInitialized_)
164  {
165  edm::ESHandle<CaloTopology> theCaloTopology;
166  setup.get<CaloTopologyRecord>().get(theCaloTopology);
167  ecalTopology_ = & (*theCaloTopology);
168 
169  edm::ESHandle<CaloGeometry> theCaloGeometry;
170  setup.get<CaloGeometryRecord>().get(theCaloGeometry);
171  caloGeometry_ = & (*theCaloGeometry);
172  geomInitialized_ = true;
173  }
174 
175  // Read GsfElectrons
177  event.getByToken(inputElectronsToken_,oldElectronsH) ;
178 
179  // Read RecHits
182  event.getByToken( recHitCollectionEBToken_, pEBRecHits );
183  event.getByToken( recHitCollectionEEToken_, pEERecHits );
184 
185  // ReadValueMaps
186  edm::Handle<edm::ValueMap<double> > valMapEnergyH;
187  event.getByToken(energyRegToken_,valMapEnergyH);
188  edm::Handle<edm::ValueMap<double> > valMapEnergyErrorH;
189  event.getByToken(energyErrorRegToken_,valMapEnergyErrorH);
190 
191  // Prepare output collections
192  std::auto_ptr<GsfElectronCollection> electrons( new reco::GsfElectronCollection ) ;
193  // Fillers for ValueMaps:
194  std::auto_ptr<edm::ValueMap<double> > regrNewEnergyMap(new edm::ValueMap<double>() );
195  edm::ValueMap<double>::Filler energyFiller(*regrNewEnergyMap);
196 
197  std::auto_ptr<edm::ValueMap<double> > regrNewEnergyErrorMap(new edm::ValueMap<double>() );
198  edm::ValueMap<double>::Filler energyErrorFiller(*regrNewEnergyErrorMap);
199 
200  // first clone the initial collection
201  unsigned nElectrons = oldElectronsH->size();
202  for( unsigned iele = 0; iele < nElectrons; ++iele )
203  {
204  electrons->push_back((*oldElectronsH)[iele]);
205  }
206 
207  std::vector<double> regressionValues;
208  std::vector<double> regressionErrorValues;
209  regressionValues.reserve(nElectrons);
210  regressionErrorValues.reserve(nElectrons);
211 
212  if ( correctionsType != 0 )
213  {
214  for ( unsigned iele = 0; iele < nElectrons ; ++iele)
215  {
216  reco::GsfElectron & ele ( (*electrons)[iele]);
217  reco::GsfElectronRef elecRef(oldElectronsH,iele);
218  double regressionEnergy = (*valMapEnergyH)[elecRef];
219  double regressionEnergyError = (*valMapEnergyErrorH)[elecRef];
220 
221  regressionValues.push_back(regressionEnergy);
222  regressionErrorValues.push_back(regressionEnergyError);
223 
224  // r9
225  const EcalRecHitCollection * recHits=0;
226  if( ele.isEB() )
227  {
228  recHits = pEBRecHits.product();
229  } else recHits = pEERecHits.product();
230 
231  SuperClusterHelper mySCHelper( &(ele), recHits, ecalTopology_, caloGeometry_ );
232 
233  int elClass = -1;
234  int run = event.run();
235 
236  float r9 = mySCHelper.r9();
237  double correctedEcalEnergy = ele.correctedEcalEnergy();
238  double correctedEcalEnergyError = ele.correctedEcalEnergyError();
239  double trackMomentum = ele.trackMomentumAtVtx().R();
240  double trackMomentumError = ele.trackMomentumError();
241  double combinedMomentum = ele.p();
242  double combinedMomentumError = ele.p4Error(ele.candidateP4Kind());
243  // FIXME : p4Error not filled for pure tracker electrons
244  // Recompute it using the parametrization implemented in
245  // RecoEgamma/EgammaElectronAlgos/src/ElectronEnergyCorrector.cc::simpleParameterizationUncertainty()
246  if( !ele.ecalDrivenSeed() )
247  {
248  double error = 999. ;
249  double momentum = (combinedMomentum<15. ? 15. : combinedMomentum);
250  if ( ele.isEB() )
251  {
252  float parEB[3] = { 5.24e-02, 2.01e-01, 1.00e-02};
253  error = momentum * sqrt( pow(parEB[0]/sqrt(momentum),2) + pow(parEB[1]/momentum,2) + pow(parEB[2],2) );
254  }
255  else if ( ele.isEE() )
256  {
257  float parEE[3] = { 1.46e-01, 9.21e-01, 1.94e-03} ;
258  error = momentum * sqrt( pow(parEE[0]/sqrt(momentum),2) + pow(parEE[1]/momentum,2) + pow(parEE[2],2) );
259  }
260  combinedMomentumError = error;
261  }
262 
263  if (ele.classification() == reco::GsfElectron::GOLDEN) {elClass = 0;}
264  if (ele.classification() == reco::GsfElectron::BIGBREM) {elClass = 1;}
265  if (ele.classification() == reco::GsfElectron::BADTRACK) {elClass = 2;}
266  if (ele.classification() == reco::GsfElectron::SHOWERING) {elClass = 3;}
267  if (ele.classification() == reco::GsfElectron::GAP) {elClass = 4;}
268 
269  SimpleElectron mySimpleElectron
270  (
271  run,
272  elClass,
273  r9,
274  correctedEcalEnergy,
275  correctedEcalEnergyError,
276  trackMomentum,
277  trackMomentumError,
278  regressionEnergy,
279  regressionEnergyError,
280  combinedMomentum,
281  combinedMomentumError,
282  ele.superCluster()->eta(),
283  ele.isEB(),
284  isMC,
285  ele.ecalDriven(),
286  ele.trackerDrivenSeed()
287  );
288 
289  // energy calibration for ecalDriven electrons
290  if ( ele.core()->ecalDrivenSeed() || correctionsType==2 || combinationType==3 )
291  {
292  theEnCorrector->calibrate(mySimpleElectron, event.streamID());
293 
294  // E-p combination
295 
296  switch ( combinationType )
297  {
298  case 0:
299  if ( verbose )
300  {
301  std::cout << "[CalibratedGsfElectronProducer] "
302  << "You choose not to combine." << std::endl;
303  }
304  break;
305  case 1:
306  if ( verbose )
307  {
308  std::cout << "[CalibratedGsfElectronProducer] "
309  << "You choose corrected regression energy for standard combination" << std::endl;
310  }
312  myCombinator->combine(mySimpleElectron);
313  break;
314  case 2:
315  if ( verbose )
316  {
317  std::cout << "[CalibratedGsfElectronProducer] "
318  << "You choose uncorrected regression energy for standard combination" << std::endl;
319  }
321  myCombinator->combine(mySimpleElectron);
322  break;
323  case 3:
324  if ( verbose )
325  {
326  std::cout << "[CalibratedGsfElectronProducer] "
327  << "You choose regression combination." << std::endl;
328  }
329  myEpCombinationTool->combine(mySimpleElectron);
330  theEnCorrector->correctLinearity(mySimpleElectron);
331  break;
332  default:
333  throw cms::Exception("CalibratedgsfElectronProducer|ConfigError")
334  << "Unknown combination Type !!!" ;
335  }
336 
337  math::XYZTLorentzVector oldMomentum = ele.p4() ;
338  math::XYZTLorentzVector newMomentum_ ;
339  newMomentum_ = math::XYZTLorentzVector
340  ( oldMomentum.x()*mySimpleElectron.getCombinedMomentum()/oldMomentum.t(),
341  oldMomentum.y()*mySimpleElectron.getCombinedMomentum()/oldMomentum.t(),
342  oldMomentum.z()*mySimpleElectron.getCombinedMomentum()/oldMomentum.t(),
343  mySimpleElectron.getCombinedMomentum() ) ;
344 
345  ele.correctMomentum
346  (
347  newMomentum_,
348  mySimpleElectron.getTrackerMomentumError(),
349  mySimpleElectron.getCombinedMomentumError()
350  );
351 
352  if ( verbose )
353  {
354  std::cout << "[CalibratedGsfElectronProducer] Combined momentum after saving "
355  << ele.p4().t() << std::endl;
356  }
357  }// end of if (ele.core()->ecalDrivenSeed())
358  }// end of loop on electrons
359  } else
360  {
361  if ( verbose )
362  {
363  std::cout << "[CalibratedGsfElectronProducer] "
364  << "You choose not to correct. Uncorrected Regression Energy is taken." << std::endl;
365  }
366  }
367 
368  // Save the electrons
369  const edm::OrphanHandle<reco::GsfElectronCollection> gsfNewElectronHandle = event.put(electrons, newElectronName_) ;
370  energyFiller.insert(gsfNewElectronHandle,regressionValues.begin(),regressionValues.end());
371  energyFiller.fill();
372  energyErrorFiller.insert(gsfNewElectronHandle,regressionErrorValues.begin(),regressionErrorValues.end());
373  energyErrorFiller.fill();
374 
375  event.put(regrNewEnergyMap,nameNewEnergyReg_);
376  event.put(regrNewEnergyErrorMap,nameNewEnergyErrorReg_);
377 }
void combine(SimpleElectron &mySimpleElectron)
void calibrate(SimpleElectron &electron, edm::StreamID const &)
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
edm::EDGetTokenT< EcalRecHitCollection > recHitCollectionEEToken_
edm::EDGetTokenT< edm::ValueMap< double > > energyRegToken_
edm::EDGetTokenT< EcalRecHitCollection > recHitCollectionEBToken_
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:29
T sqrt(T t)
Definition: SSEVec.h:18
void correctLinearity(SimpleElectron &electron)
edm::EDGetTokenT< edm::ValueMap< double > > energyErrorRegToken_
void setCombinationMode(int mode)
T const * product() const
Definition: Handle.h:81
const T & get() const
Definition: EventSetup.h:56
edm::EDGetTokenT< reco::GsfElectronCollection > inputElectronsToken_
ElectronEnergyCalibrator * theEnCorrector
StreamID streamID() const
Definition: Event.h:80
void combine(SimpleElectron &electron)
tuple cout
Definition: gather_cfg.py:145
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40

Member Data Documentation

bool CalibratedElectronProducer::applyLinearityCorrection
private

Definition at line 49 of file CalibratedElectronProducer.h.

const CaloGeometry* CalibratedElectronProducer::caloGeometry_
private

Definition at line 56 of file CalibratedElectronProducer.h.

std::string CalibratedElectronProducer::combinationRegressionInputPath
private

Definition at line 59 of file CalibratedElectronProducer.h.

int CalibratedElectronProducer::combinationType
private

Definition at line 50 of file CalibratedElectronProducer.h.

int CalibratedElectronProducer::correctionsType
private

Definition at line 48 of file CalibratedElectronProducer.h.

std::string CalibratedElectronProducer::dataset
private
const CaloTopology* CalibratedElectronProducer::ecalTopology_
private

Definition at line 55 of file CalibratedElectronProducer.h.

edm::EDGetTokenT<edm::ValueMap<double> > CalibratedElectronProducer::energyErrorRegToken_
private

Definition at line 37 of file CalibratedElectronProducer.h.

edm::EDGetTokenT<edm::ValueMap<double> > CalibratedElectronProducer::energyRegToken_
private

Definition at line 36 of file CalibratedElectronProducer.h.

bool CalibratedElectronProducer::geomInitialized_
private

Definition at line 57 of file CalibratedElectronProducer.h.

edm::EDGetTokenT<reco::GsfElectronCollection> CalibratedElectronProducer::inputElectronsToken_
private

Definition at line 35 of file CalibratedElectronProducer.h.

bool CalibratedElectronProducer::isAOD
private

Definition at line 45 of file CalibratedElectronProducer.h.

bool CalibratedElectronProducer::isMC
private
std::string CalibratedElectronProducer::linCorrectionsInputPath
private

Definition at line 61 of file CalibratedElectronProducer.h.

double CalibratedElectronProducer::lumiRatio
private

Definition at line 53 of file CalibratedElectronProducer.h.

ElectronEPcombinator* CalibratedElectronProducer::myCombinator
private

Definition at line 65 of file CalibratedElectronProducer.h.

EpCombinationTool* CalibratedElectronProducer::myEpCombinationTool
private

Definition at line 64 of file CalibratedElectronProducer.h.

std::string CalibratedElectronProducer::nameNewEnergyErrorReg_
private

Definition at line 42 of file CalibratedElectronProducer.h.

std::string CalibratedElectronProducer::nameNewEnergyReg_
private

Definition at line 41 of file CalibratedElectronProducer.h.

std::string CalibratedElectronProducer::newElectronName_
private

Definition at line 58 of file CalibratedElectronProducer.h.

edm::EDGetTokenT<EcalRecHitCollection> CalibratedElectronProducer::recHitCollectionEBToken_
private

Definition at line 38 of file CalibratedElectronProducer.h.

edm::EDGetTokenT<EcalRecHitCollection> CalibratedElectronProducer::recHitCollectionEEToken_
private

Definition at line 39 of file CalibratedElectronProducer.h.

std::string CalibratedElectronProducer::scaleCorrectionsInputPath
private

Definition at line 60 of file CalibratedElectronProducer.h.

bool CalibratedElectronProducer::synchronization
private

Definition at line 52 of file CalibratedElectronProducer.h.

ElectronEnergyCalibrator* CalibratedElectronProducer::theEnCorrector
private

Definition at line 63 of file CalibratedElectronProducer.h.

bool CalibratedElectronProducer::updateEnergyError
private

Definition at line 47 of file CalibratedElectronProducer.h.

bool CalibratedElectronProducer::verbose
private