Go to the documentation of this file. 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 QIE10_OUTPUT_LUT_SIZE
std::vector< int > LUTfactor
static const unsigned int REDUCE10BIT
static const unsigned int TPGMAX
static const bool newHFphi
std::set< HcalDetId > plan1_towers_
virtual const std::vector< unsigned int > getCompressionLUT(const HcalTrigTowerDetId &id) const
HcalTriggerPrimitiveSample hcalCompress(const HcalTrigTowerDetId &id, unsigned int sample, int fineGrain) const override
Compression from linear samples+fine grain in the HTR.
std::vector< RCTdecompression > hcaluncomp_
std::array< float, TPGMAX > RCTdecompression
const std::string decompressionFile_
std::vector< std::vector< LUT > > outputLUT_
virtual bool HTvalid(const int ieta, const int iphi, const int version) const
CaloTPGTranscoderULUT(const std::string &compressionFile="", const std::string &decompressionFile="")
static const unsigned int REDUCE11BIT
virtual void setup(HcalLutMetadata const &, HcalTrigTowerGeometry const &, int nctScaleShift, int rctScaleShift, double lsbQIE8, double lsbQIE11, bool allLinear)
virtual int getOutputLUTId(const HcalTrigTowerDetId &id) const
static const int NOUTLUTS
static const unsigned int OUTPUT_LUT_SIZE
void loadHCALCompress(HcalLutMetadata const &, HcalTrigTowerGeometry const &)
static const unsigned int QIE8_OUTPUT_LUT_SIZE
static const unsigned int QIE11_OUTPUT_LUT_SIZE
EcalTriggerPrimitiveSample ecalCompress(const EcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const override
Compression from linear samples+fine grain in the ECAL.
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.
const std::string compressionFile_
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.
unsigned int getOutputLUTSize(const HcalTrigTowerDetId &id) const
const HcalTopology * theTopology
double hcaletValue(const int &ieta, const int &iphi, const int &version, const int &compressedValue) const override
~CaloTPGTranscoderULUT() override
bool isOnlyQIE11(const HcalTrigTowerDetId &id) const