1 #ifndef CALIBFORMATS_CALOTPG_CALOTPGTRANSCODER_H
2 #define CALIBFORMATS_CALOTPG_CALOTPGTRANSCODER_H 1
33 int fineGrain)
const = 0;
37 bool fineGrain)
const = 0;
45 bool& activity)
const = 0;
51 unsigned int& et)
const = 0;
53 virtual double hcaletValue(
const int& ieta,
const int& iphi,
const int&
version,
const int& compressedValue)
const = 0;
virtual HcalTriggerPrimitiveSample hcalCompress(const HcalTrigTowerDetId &id, unsigned int sample, int fineGrain) const =0
Compression from linear samples+fine grain in the HTR.
virtual ~CaloTPGTranscoder()
std::shared_ptr< const EcalTPGCompressor > getEcalCompressor() const
std::shared_ptr< const HcalTPGCompressor > hccompress_
std::shared_ptr< const EcalTPGCompressor > eccompress_
virtual void rctEGammaUncompress(const HcalTrigTowerDetId &hid, const HcalTriggerPrimitiveSample &hc, const EcalTrigTowerDetId &eid, const EcalTriggerPrimitiveSample &ec, unsigned int &et, bool &egVeto, bool &activity) const =0
Uncompression for the Electron/Photon path in the RCT.
virtual EcalTriggerPrimitiveSample ecalCompress(const EcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const =0
Compression from linear samples+fine grain in the ECAL.
virtual void rctJetUncompress(const HcalTrigTowerDetId &hid, const HcalTriggerPrimitiveSample &hc, const EcalTrigTowerDetId &eid, const EcalTriggerPrimitiveSample &ec, unsigned int &et) const =0
Uncompression for the JET path in the RCT.
std::shared_ptr< const HcalTPGCompressor > getHcalCompressor() const
virtual double hcaletValue(const int &ieta, const int &iphi, const int &version, const int &compressedValue) const =0