File indexing completed on 2024-04-06 11:58:11
0001 #ifndef CALIBFORMATS_CALOTPG_HCALTPGSCALE_H
0002 #define CALIBFORMATS_CALOTPG_HCALTPGSCALE_H 1
0003
0004 #include "DataFormats/HcalDetId/interface/HcalTrigTowerDetId.h"
0005 #include "DataFormats/HcalDigi/interface/HcalTriggerPrimitiveSample.h"
0006
0007 namespace edm {
0008 class EventSetup;
0009 }
0010
0011
0012
0013
0014
0015
0016
0017 class HcalTPGScale {
0018 public:
0019 virtual ~HcalTPGScale() = default;
0020
0021
0022 virtual double et_RCT(const HcalTrigTowerDetId& id, const HcalTriggerPrimitiveSample& s) const = 0;
0023
0024 virtual double et_bin_low(const HcalTrigTowerDetId& id, const HcalTriggerPrimitiveSample& s) const = 0;
0025
0026 virtual double et_bin_high(const HcalTrigTowerDetId& id, const HcalTriggerPrimitiveSample& s) const = 0;
0027
0028 virtual void setup(const edm::EventSetup& es) const {}
0029
0030 virtual void releaseSetup() const {}
0031 };
0032
0033 #endif