CMS 3D CMS Logo

EcalTPGScale.h
Go to the documentation of this file.
1 #ifndef ECALTPGSCALE_H
2 #define ECALTPGSCALE_H
3 
7 
8 class EcalTPGScale {
9 public:
10  EcalTPGScale();
11  ~EcalTPGScale();
12 
13  void setEventSetup(const edm::EventSetup& evtSetup);
14 
15  double getTPGInGeV(const EcalTriggerPrimitiveDigi& tpDigi);
16  double getTPGInGeV(unsigned int ADC, const EcalTrigTowerDetId& towerId);
17 
18  unsigned int getLinearizedTPG(unsigned int ADC, const EcalTrigTowerDetId& towerId);
19  unsigned int getTPGInADC(double energy, const EcalTrigTowerDetId& towerId);
20 
21 private:
23 };
24 
25 #endif
unsigned int getLinearizedTPG(unsigned int ADC, const EcalTrigTowerDetId &towerId)
Definition: EcalTPGScale.cc:47
const edm::EventSetup * setup_
Definition: EcalTPGScale.h:22
void setEventSetup(const edm::EventSetup &evtSetup)
Definition: EcalTPGScale.cc:16
double getTPGInGeV(const EcalTriggerPrimitiveDigi &tpDigi)
Definition: EcalTPGScale.cc:18
unsigned int getTPGInADC(double energy, const EcalTrigTowerDetId &towerId)
Definition: EcalTPGScale.cc:75
l1t::HGCalTowerID towerId
Definition: classes.h:36