1 #ifndef CALOTPGTRANSCODERULUT_H
2 #define CALOTPGTRANSCODERULUT_H 1
31 unsigned int& et,
bool& egVecto,
bool& activity)
const;
34 unsigned int& et)
const;
35 virtual double hcaletValue(
const int& ieta,
const int& compressedValue)
const;
36 virtual double hcaletValue(
const int& ieta,
const int& iphi,
const int& compressedValue)
const;
38 virtual bool HTvalid(
const int ieta,
const int iphi)
const;
46 typedef unsigned int LUT;
std::vector< int > LUTfactor
std::vector< RCTdecompression > hcaluncomp_
edm::ESHandle< HcalLutMetadata > lutMetadata_
virtual void setup(const edm::EventSetup &es, Mode) const
Obtain any needed objects from the EventSetup. Note that any member variables which are changed must ...
std::string decompressionFile_
CaloTPGTranscoderULUT(const std::string &compressionFile="", const std::string &decompressionFile="")
virtual std::vector< unsigned char > getCompressionLUT(HcalTrigTowerDetId id) const
edm::ESHandle< HcalTrigTowerGeometry > theTrigTowerGeometry
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.
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.
virtual bool HTvalid(const int ieta, const int iphi) const
void printDecompression() const
LUT * outputLUT_[NOUTLUTS]
std::vector< double > RCTdecompression
std::string compressionFile_
virtual double hcaletValue(const int &ieta, const int &compressedValue) const
static const int NOUTLUTS
virtual int getOutputLUTId(const int ieta, const int iphi) const
void loadHCALCompress(void) const
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
void loadHCALUncompress(void) const
virtual HcalTriggerPrimitiveSample hcalCompress(const HcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const
Compression from linear samples+fine grain in the HTR.