#include <CaloTPGTranscoderULUT.h>
Public Member Functions | |
CaloTPGTranscoderULUT (const std::string &compressionFile="", const std::string &decompressionFile="") | |
virtual EcalTriggerPrimitiveSample | ecalCompress (const EcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const |
Compression from linear samples+fine grain in the ECAL. More... | |
virtual const std::vector < unsigned int > & | getCompressionLUT (const HcalTrigTowerDetId &id) const |
virtual int | getOutputLUTId (const HcalTrigTowerDetId &id) const |
virtual int | getOutputLUTId (const int ieta, const int iphi, const int version) const |
virtual HcalTriggerPrimitiveSample | hcalCompress (const HcalTrigTowerDetId &id, unsigned int sample, int fineGrain) const override |
Compression from linear samples+fine grain in the HTR. More... | |
virtual double | hcaletValue (const int &ieta, const int &iphi, const int &version, const int &compressedValue) const |
virtual double | hcaletValue (const HcalTrigTowerDetId &hid, const HcalTriggerPrimitiveSample &hc) const |
virtual bool | HTvalid (const int ieta, const int iphi, const int version) const |
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. More... | |
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. More... | |
virtual void | setup (HcalLutMetadata const &, HcalTrigTowerGeometry const &, int, int) |
virtual | ~CaloTPGTranscoderULUT () |
Public Member Functions inherited from CaloTPGTranscoder | |
CaloTPGTranscoder () | |
boost::shared_ptr< const EcalTPGCompressor > | getEcalCompressor () const |
boost::shared_ptr< const HcalTPGCompressor > | getHcalCompressor () const |
virtual | ~CaloTPGTranscoder () |
Private Types | |
typedef unsigned int | LUT |
typedef std::vector< double > | RCTdecompression |
Private Member Functions | |
void | loadHCALCompress (HcalLutMetadata const &, HcalTrigTowerGeometry const &) |
Private Attributes | |
std::string | compressionFile_ |
std::string | decompressionFile_ |
std::vector< RCTdecompression > | hcaluncomp_ |
std::vector< int > | ietah |
std::vector< int > | ietal |
double | lsb_factor_ |
std::vector< int > | LUTfactor |
double | nct_factor_ |
double | nominal_gain_ |
std::vector< std::vector< LUT > > | outputLUT_ |
double | rct_factor_ |
unsigned int | size |
const HcalTopology * | theTopology |
std::vector< int > | ZS |
Static Private Attributes | |
static const bool | newHFphi = true |
static const int | NOUTLUTS = 4176 |
static const unsigned int | OUTPUT_LUT_SIZE = 1024 |
static const unsigned int | TPGMAX = 256 |
Additional Inherited Members | |
Public Types inherited from CaloTPGTranscoder | |
enum | Mode { All =0, RCT =1, HcalTPG =2, EcalTPG =3 } |
Definition at line 18 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 42 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 43 of file CaloTPGTranscoderULUT.h.
CaloTPGTranscoderULUT::CaloTPGTranscoderULUT | ( | const std::string & | compressionFile = "" , |
const std::string & | decompressionFile = "" |
||
) |
Definition at line 19 of file CaloTPGTranscoderULUT.cc.
|
virtual |
Definition at line 30 of file CaloTPGTranscoderULUT.cc.
|
virtual |
Compression from linear samples+fine grain in the ECAL.
Implements CaloTPGTranscoder.
Definition at line 160 of file CaloTPGTranscoderULUT.cc.
|
virtual |
Definition at line 200 of file CaloTPGTranscoderULUT.cc.
|
virtual |
Definition at line 184 of file CaloTPGTranscoderULUT.cc.
|
virtual |
Definition at line 191 of file CaloTPGTranscoderULUT.cc.
|
overridevirtual |
Compression from linear samples+fine grain in the HTR.
Implements CaloTPGTranscoder.
Definition at line 125 of file CaloTPGTranscoderULUT.cc.
|
virtual |
Implements CaloTPGTranscoder.
Definition at line 140 of file CaloTPGTranscoderULUT.cc.
|
virtual |
Implements CaloTPGTranscoder.
Definition at line 153 of file CaloTPGTranscoderULUT.cc.
|
virtual |
Definition at line 175 of file CaloTPGTranscoderULUT.cc.
|
private |
Definition at line 33 of file CaloTPGTranscoderULUT.cc.
|
virtual |
Uncompression for the Electron/Photon path in the RCT.
Implements CaloTPGTranscoder.
Definition at line 164 of file CaloTPGTranscoderULUT.cc.
|
virtual |
Uncompression for the JET path in the RCT.
Implements CaloTPGTranscoder.
Definition at line 169 of file CaloTPGTranscoderULUT.cc.
|
virtual |
Definition at line 205 of file CaloTPGTranscoderULUT.cc.
|
private |
Definition at line 60 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 61 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 69 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 63 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 62 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 57 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 65 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 59 of file CaloTPGTranscoderULUT.h.
|
staticprivate |
Definition at line 50 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 56 of file CaloTPGTranscoderULUT.h.
|
staticprivate |
Definition at line 47 of file CaloTPGTranscoderULUT.h.
|
staticprivate |
Definition at line 48 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 68 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 58 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 67 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 45 of file CaloTPGTranscoderULUT.h.
|
staticprivate |
Definition at line 49 of file CaloTPGTranscoderULUT.h.
|
private |
Definition at line 64 of file CaloTPGTranscoderULUT.h.