CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalTPGScale.h
Go to the documentation of this file.
1 #ifndef CALIBFORMATS_CALOTPG_HCALTPGSCALE_H
2 #define CALIBFORMATS_CALOTPG_HCALTPGSCALE_H 1
3 
6 
7 namespace edm {
8  class EventSetup;
9 }
10 
19 class HcalTPGScale {
20 public:
23  virtual double et_RCT(const HcalTrigTowerDetId& id, const
24  HcalTriggerPrimitiveSample& s) const = 0;
26  virtual double et_bin_low(const HcalTrigTowerDetId& id, const
27  HcalTriggerPrimitiveSample& s) const = 0;
29  virtual double et_bin_high(const HcalTrigTowerDetId& id, const
30  HcalTriggerPrimitiveSample& 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_low(const HcalTrigTowerDetId &id, const HcalTriggerPrimitiveSample &s) const =0
smallest ET value which would resolve into this sample
virtual void setup(const edm::EventSetup &es) const
Get any needed information from the event setup.
Definition: HcalTPGScale.h:32
virtual double et_RCT(const HcalTrigTowerDetId &id, const HcalTriggerPrimitiveSample &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: HcalTPGScale.h:34
virtual double et_bin_high(const HcalTrigTowerDetId &id, const HcalTriggerPrimitiveSample &s) const =0