CMS 3D CMS Logo

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
HcalTPGScale::~HcalTPGScale
virtual ~HcalTPGScale()=default
HcalTriggerPrimitiveSample
Definition: HcalTriggerPrimitiveSample.h:11
edm
HLT enums.
Definition: AlignableModifier.h:19
HcalTPGScale::et_bin_high
virtual double et_bin_high(const HcalTrigTowerDetId &id, const HcalTriggerPrimitiveSample &s) const =0
HcalTPGScale::releaseSetup
virtual void releaseSetup() const
Release any objects obtained from the EventSetup.
Definition: HcalTPGScale.h:30
HcalTPGScale
Definition: HcalTPGScale.h:17
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HcalTrigTowerDetId.h
edm::EventSetup
Definition: EventSetup.h:58
HcalTriggerPrimitiveSample.h
EventSetup
HcalTPGScale::et_bin_low
virtual double et_bin_low(const HcalTrigTowerDetId &id, const HcalTriggerPrimitiveSample &s) const =0
smallest ET value which would resolve into this sample
HcalTPGScale::setup
virtual void setup(const edm::EventSetup &es) const
Get any needed information from the event setup.
Definition: HcalTPGScale.h:28
HcalTPGScale::et_RCT
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
HcalTrigTowerDetId
Definition: HcalTrigTowerDetId.h:14