1 #ifndef CALOTPGTRANSCODERULUT_H
2 #define CALOTPGTRANSCODERULUT_H 1
28 unsigned int& et,
bool& egVecto,
bool& activity)
const;
31 unsigned int& et)
const;
32 virtual double hcaletValue(
const int& ieta,
const int& iphi,
const int&
version,
const int& compressedValue)
const;
34 virtual bool HTvalid(
const int ieta,
const int iphi,
const int version)
const;
38 virtual int getOutputLUTId(
const int ieta,
const int iphi,
const int version)
const;
42 typedef unsigned int LUT;
49 static const unsigned int TPGMAX = 256;
virtual double hcaletValue(const int &ieta, const int &iphi, const int &version, const int &compressedValue) const
std::vector< int > LUTfactor
std::vector< RCTdecompression > hcaluncomp_
std::vector< std::vector< LUT > > outputLUT_
virtual bool HTvalid(const int ieta, const int iphi, const int version) const
std::string decompressionFile_
CaloTPGTranscoderULUT(const std::string &compressionFile="", const std::string &decompressionFile="")
virtual const std::vector< unsigned int > & getCompressionLUT(const HcalTrigTowerDetId &id) const
virtual ~CaloTPGTranscoderULUT()
virtual void rctJetUncompress(const HcalTrigTowerDetId &hid, const HcalTriggerPrimitiveSample &hc, const EcalTrigTowerDetId &eid, const EcalTriggerPrimitiveSample &ec, unsigned int &et) const
Uncompression for the JET path in the RCT.
const HcalTopology * theTopology
virtual int getOutputLUTId(const HcalTrigTowerDetId &id) const
static const unsigned int OUTPUT_LUT_SIZE
virtual void rctEGammaUncompress(const HcalTrigTowerDetId &hid, const HcalTriggerPrimitiveSample &hc, const EcalTrigTowerDetId &eid, const EcalTriggerPrimitiveSample &ec, unsigned int &et, bool &egVecto, bool &activity) const
Uncompression for the Electron/Photon path in the RCT.
void loadHCALCompress(HcalLutMetadata const &, HcalTrigTowerGeometry const &)
std::vector< double > RCTdecompression
virtual void setup(HcalLutMetadata const &, HcalTrigTowerGeometry const &, int, int)
std::string compressionFile_
static const int NOUTLUTS
static const unsigned int TPGMAX
virtual EcalTriggerPrimitiveSample ecalCompress(const EcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const
Compression from linear samples+fine grain in the ECAL.
static const bool newHFphi
virtual HcalTriggerPrimitiveSample hcalCompress(const HcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const
Compression from linear samples+fine grain in the HTR.