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 CALIBFORMATS_CALOTPG_ECALTPGSCALE_H
2 #define CALIBFORMATS_CALOTPG_ECALTPGSCALE_H 1
3 
6 
7 namespace edm {
8  class EventSetup;
9 }
10 
19 class EcalTPGScale {
20 public:
23  virtual double et_RCT(const EcalTrigTowerDetId& id, const
24  EcalTriggerPrimitiveSample& s) const = 0;
26  virtual double et_bin_low(const EcalTrigTowerDetId& id, const
27  EcalTriggerPrimitiveSample& s) const = 0;
29  virtual double et_bin_high(const EcalTrigTowerDetId& id, const
30  EcalTriggerPrimitiveSample& s) const = 0;
32  virtual void setup(const edm::EventSetup& es) const { }
34  virtual void releaseSetup() const { }
35 };
36 
37 #endif
virtual double et_bin_high(const EcalTrigTowerDetId &id, const EcalTriggerPrimitiveSample &s) const =0
virtual void setup(const edm::EventSetup &es) const
Get any needed information from the event setup.
Definition: EcalTPGScale.h:32
virtual double et_RCT(const EcalTrigTowerDetId &id, const EcalTriggerPrimitiveSample &s) const =0
nominal ET value of this sample/code as to be used in RCT LUT creation
virtual void releaseSetup() const
Release any objects obtained from the EventSetup.
Definition: EcalTPGScale.h:34
virtual double et_bin_low(const EcalTrigTowerDetId &id, const EcalTriggerPrimitiveSample &s) const =0
smallest ET value which would resolve into this sample