1 #ifndef CALOTPGTRANSCODERULUT_H 2 #define CALOTPGTRANSCODERULUT_H 1 24 int fineGrain)
const override;
27 bool fineGrain)
const override;
35 bool& activity)
const override;
40 unsigned int&
et)
const override;
69 static const unsigned int TPGMAX = 256;
static const unsigned int REDUCE10BIT
std::vector< int > LUTfactor
std::vector< RCTdecompression > hcaluncomp_
std::vector< std::vector< LUT > > outputLUT_
std::set< HcalDetId > plan1_towers_
static const unsigned int QIE8_OUTPUT_LUT_SIZE
virtual bool HTvalid(const int ieta, const int iphi, const int version) const
virtual void setup(HcalLutMetadata const &, HcalTrigTowerGeometry const &, int nctScaleShift, int rctScaleShift, double lsbQIE8, double lsbQIE11, bool allLinear)
CaloTPGTranscoderULUT(const std::string &compressionFile="", const std::string &decompressionFile="")
const std::string decompressionFile_
void rctJetUncompress(const HcalTrigTowerDetId &hid, const HcalTriggerPrimitiveSample &hc, const EcalTrigTowerDetId &eid, const EcalTriggerPrimitiveSample &ec, unsigned int &et) const override
Uncompression for the JET path in the RCT.
virtual const std::vector< unsigned int > getCompressionLUT(const HcalTrigTowerDetId &id) const
std::array< float, TPGMAX > RCTdecompression
HcalTriggerPrimitiveSample hcalCompress(const HcalTrigTowerDetId &id, unsigned int sample, int fineGrain) const override
Compression from linear samples+fine grain in the HTR.
const HcalTopology * theTopology
static const unsigned int QIE10_OUTPUT_LUT_SIZE
void rctEGammaUncompress(const HcalTrigTowerDetId &hid, const HcalTriggerPrimitiveSample &hc, const EcalTrigTowerDetId &eid, const EcalTriggerPrimitiveSample &ec, unsigned int &et, bool &egVecto, bool &activity) const override
Uncompression for the Electron/Photon path in the RCT.
static const unsigned int OUTPUT_LUT_SIZE
static const unsigned int REDUCE11BIT
void loadHCALCompress(HcalLutMetadata const &, HcalTrigTowerGeometry const &)
EcalTriggerPrimitiveSample ecalCompress(const EcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const override
Compression from linear samples+fine grain in the ECAL.
static const unsigned int QIE11_OUTPUT_LUT_SIZE
static const int NOUTLUTS
const std::string compressionFile_
static const unsigned int TPGMAX
unsigned int getOutputLUTSize(const HcalTrigTowerDetId &id) const
static const bool newHFphi
double hcaletValue(const int &ieta, const int &iphi, const int &version, const int &compressedValue) const override
~CaloTPGTranscoderULUT() override
bool isOnlyQIE11(const HcalTrigTowerDetId &id) const
virtual int getOutputLUTId(const HcalTrigTowerDetId &id) const