CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalTPGScale.h
Go to the documentation of this file.
1 #ifndef ECALTPGSCALE_H
2 #define ECALTPGSCALE_H
3 
7 
9 {
10  public:
11  EcalTPGScale() ;
12  ~EcalTPGScale() ;
13 
14  void setEventSetup(const edm::EventSetup & evtSetup) ;
15 
16  double getTPGInGeV(const EcalTriggerPrimitiveDigi & tpDigi) ;
17  double getTPGInGeV(unsigned int ADC, const EcalTrigTowerDetId & towerId) ;
18 
19  unsigned int getLinearizedTPG(unsigned int ADC, const EcalTrigTowerDetId & towerId) ;
20  unsigned int getTPGInADC(double energy, const EcalTrigTowerDetId & towerId) ;
21 
22  private:
24 
25 };
26 
27 #endif
unsigned int getLinearizedTPG(unsigned int ADC, const EcalTrigTowerDetId &towerId)
Definition: EcalTPGScale.cc:54
const edm::EventSetup * setup_
Definition: EcalTPGScale.h:23
void setEventSetup(const edm::EventSetup &evtSetup)
Definition: EcalTPGScale.cc:19
double getTPGInGeV(const EcalTriggerPrimitiveDigi &tpDigi)
Definition: EcalTPGScale.cc:24
unsigned int getTPGInADC(double energy, const EcalTrigTowerDetId &towerId)
Definition: EcalTPGScale.cc:82
unsigned towerId(DetId const &)