CMS 3D CMS Logo

EcalTPGScale.h
Go to the documentation of this file.
1 #ifndef ECALTPGSCALE_H
2 #define ECALTPGSCALE_H
3 
15 
16 class EcalTPGScale {
17 public:
18  struct Tokens {
23  };
24 
25  EcalTPGScale(Tokens const&, const edm::EventSetup& evtSetup);
26 
27  double getTPGInGeV(const EcalTriggerPrimitiveDigi& tpDigi) const;
28  double getTPGInGeV(unsigned int ADC, const EcalTrigTowerDetId& towerId) const;
29 
30  unsigned int getLinearizedTPG(unsigned int ADC, const EcalTrigTowerDetId& towerId) const;
31  unsigned int getTPGInADC(double energy, const EcalTrigTowerDetId& towerId) const;
32 
33 private:
37 };
38 
39 #endif
EcalTPGScale::Tokens::physConstToken_
const edm::ESGetToken< EcalTPGPhysicsConst, EcalTPGPhysicsConstRcd > physConstToken_
Definition: EcalTPGScale.h:20
EcalTPGLutGroupRcd.h
EcalTPGScale
Definition: EcalTPGScale.h:16
EcalTPGScale::lutGrp_
EcalTPGLutGroup const & lutGrp_
Definition: EcalTPGScale.h:35
EcalTPGScale::Tokens
Definition: EcalTPGScale.h:18
EcalTrigTowerDetId
Definition: EcalTrigTowerDetId.h:14
EcalTPGScale::Tokens::lutMapToken_
const edm::ESGetToken< EcalTPGLutIdMap, EcalTPGLutIdMapRcd > lutMapToken_
Definition: EcalTPGScale.h:22
ESGetToken.h
EcalTPGScale::getLinearizedTPG
unsigned int getLinearizedTPG(unsigned int ADC, const EcalTrigTowerDetId &towerId) const
Definition: EcalTPGScale.cc:44
EcalTPGLutGroup
Definition: EcalTPGLutGroup.h:13
EcalTriggerPrimitiveDigi.h
EcalTPGLutIdMap.h
EcalTPGScale::EcalTPGScale
EcalTPGScale(Tokens const &, const edm::EventSetup &evtSetup)
Definition: EcalTPGScale.cc:10
ADC
Definition: ZdcTBAnalysis.h:46
HCALHighEnergyHPDFilter_cfi.energy
energy
Definition: HCALHighEnergyHPDFilter_cfi.py:5
EcalTPGLutIdMap
Definition: EcalTPGLutIdMap.h:10
EcalTrigTowerDetId.h
EcalTPGLutGroup.h
EcalTPGScale::getTPGInGeV
double getTPGInGeV(const EcalTriggerPrimitiveDigi &tpDigi) const
Definition: EcalTPGScale.cc:17
edm::EventSetup
Definition: EventSetup.h:57
edm::ESGetToken< EcalTPGPhysicsConst, EcalTPGPhysicsConstRcd >
EcalTPGPhysicsConst
Definition: EcalTPGPhysicsConst.h:9
ecaldqm::towerId
unsigned towerId(DetId const &)
Definition: EcalDQMCommonUtils.cc:79
EcalTPGScale::getTPGInADC
unsigned int getTPGInADC(double energy, const EcalTrigTowerDetId &towerId) const
Definition: EcalTPGScale.cc:67
EcalTriggerPrimitiveDigi
Definition: EcalTriggerPrimitiveDigi.h:16
EcalTPGLutIdMapRcd.h
EventSetup.h
EcalTPGPhysicsConst.h
ConsumesCollector.h
EcalTPGScale::Tokens::lutGrpToken_
const edm::ESGetToken< EcalTPGLutGroup, EcalTPGLutGroupRcd > lutGrpToken_
Definition: EcalTPGScale.h:21
EcalTPGPhysicsConstRcd.h
EcalTPGScale::phys_
EcalTPGPhysicsConst const & phys_
Definition: EcalTPGScale.h:34
EcalTPGScale::Tokens::Tokens
Tokens(edm::ConsumesCollector)
Definition: EcalTPGScale.cc:5
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
EcalTPGScale::lut_
EcalTPGLutIdMap const & lut_
Definition: EcalTPGScale.h:36