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 
17 class HcalTPGScale {
18 public:
21  virtual double et_RCT(const HcalTrigTowerDetId& id, const
22  HcalTriggerPrimitiveSample& s) const = 0;
24  virtual double et_bin_low(const HcalTrigTowerDetId& id, const
25  HcalTriggerPrimitiveSample& s) const = 0;
27  virtual double et_bin_high(const HcalTrigTowerDetId& id, const
28  HcalTriggerPrimitiveSample& s) const = 0;
30  virtual void setup(const edm::EventSetup& es) const { }
32  virtual void releaseSetup() const { }
33 };
34 
35 #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:30
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:32
virtual double et_bin_high(const HcalTrigTowerDetId &id, const HcalTriggerPrimitiveSample &s) const =0