CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 
17 class HcalTPGScale {
18 public:
19  virtual ~HcalTPGScale() = default;
22  virtual double et_RCT(const HcalTrigTowerDetId& id, const HcalTriggerPrimitiveSample& s) const = 0;
24  virtual double et_bin_low(const HcalTrigTowerDetId& id, const HcalTriggerPrimitiveSample& s) const = 0;
26  virtual double et_bin_high(const HcalTrigTowerDetId& id, const HcalTriggerPrimitiveSample& s) const = 0;
28  virtual void setup(const edm::EventSetup& es) const {}
30  virtual void releaseSetup() const {}
31 };
32 
33 #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:28
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 ~HcalTPGScale()=default
virtual void releaseSetup() const
Release any objects obtained from the EventSetup.
Definition: HcalTPGScale.h:30
virtual double et_bin_high(const HcalTrigTowerDetId &id, const HcalTriggerPrimitiveSample &s) const =0