1 #ifndef CALIBFORMATS_CALOTPG_CALOTPGTRANSCODER_H
2 #define CALIBFORMATS_CALOTPG_CALOTPGTRANSCODER_H 1
4 #include <boost/shared_ptr.hpp>
37 unsigned int& et,
bool& egVeto,
bool& activity)
const = 0;
41 unsigned int& et)
const = 0;
43 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.
boost::shared_ptr< const HcalTPGCompressor > getHcalCompressor() const
boost::shared_ptr< const EcalTPGCompressor > getEcalCompressor() const
virtual ~CaloTPGTranscoder()
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.
boost::shared_ptr< const EcalTPGCompressor > eccompress_
boost::shared_ptr< const HcalTPGCompressor > hccompress_
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.
virtual double hcaletValue(const int &ieta, const int &iphi, const int &version, const int &compressedValue) const =0