1 #ifndef CALOTPGTRANSCODERULUT_H 2 #define CALOTPGTRANSCODERULUT_H 1 29 unsigned int&
et,
bool& egVecto,
bool& activity)
const override;
32 unsigned int& et)
const override;
33 virtual double hcaletValue(
const int& ieta,
const int& iphi,
const int&
version,
const int& compressedValue)
const override;
35 virtual bool HTvalid(
const int ieta,
const int iphi,
const int version)
const;
39 virtual int getOutputLUTId(
const int ieta,
const int iphi,
const int version)
const;
54 static const unsigned int TPGMAX = 256;
57 typedef unsigned int LUT;
79 std::vector<std::array<LUT, OUTPUT_LUT_SIZE>>
outputLUT_;
static const unsigned int REDUCE10BIT
std::vector< int > LUTfactor
std::vector< RCTdecompression > hcaluncomp_
std::vector< std::array< LUT, OUTPUT_LUT_SIZE > > 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
unsigned int getOutputLUTSize(const HcalTrigTowerDetId &id) const
virtual const std::vector< unsigned int > getCompressionLUT(const HcalTrigTowerDetId &id) const
std::string decompressionFile_
CaloTPGTranscoderULUT(const std::string &compressionFile="", const std::string &decompressionFile="")
virtual ~CaloTPGTranscoderULUT()
virtual HcalTriggerPrimitiveSample hcalCompress(const HcalTrigTowerDetId &id, unsigned int sample, int fineGrain) const override
Compression from linear samples+fine grain in the HTR.
virtual 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.
const HcalTopology * theTopology
static const unsigned int QIE10_OUTPUT_LUT_SIZE
virtual int getOutputLUTId(const HcalTrigTowerDetId &id) const
static const unsigned int OUTPUT_LUT_SIZE
static const unsigned int REDUCE11BIT
void loadHCALCompress(HcalLutMetadata const &, HcalTrigTowerGeometry const &)
virtual void setup(HcalLutMetadata const &, HcalTrigTowerGeometry const &, int, int)
std::array< double, TPGMAX > RCTdecompression
virtual EcalTriggerPrimitiveSample ecalCompress(const EcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const override
Compression from linear samples+fine grain in the ECAL.
std::string compressionFile_
static const unsigned int QIE11_OUTPUT_LUT_SIZE
et
define resolution functions of each parameter
virtual double hcaletValue(const int &ieta, const int &iphi, const int &version, const int &compressedValue) const override
static const int NOUTLUTS
static const unsigned int TPGMAX
virtual 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 bool newHFphi