#include <CaloTPGTranscoder.h>
Public Types | |
enum | Mode { All =0, RCT =1, HcalTPG =2, EcalTPG =3 } |
Public Member Functions | |
CaloTPGTranscoder () | |
virtual EcalTriggerPrimitiveSample | ecalCompress (const EcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const =0 |
Compression from linear samples+fine grain in the ECAL. More... | |
boost::shared_ptr < EcalTPGCompressor > | getEcalCompressor () const |
boost::shared_ptr < HcalTPGCompressor > | getHcalCompressor () const |
virtual HcalTriggerPrimitiveSample | hcalCompress (const HcalTrigTowerDetId &id, unsigned int sample, bool fineGrain) const =0 |
Compression from linear samples+fine grain in the HTR. More... | |
virtual double | hcaletValue (const int &ieta, const int &compET) const =0 |
virtual double | hcaletValue (const int &ieta, const int &iphi, const int &compressedValue) const =0 |
virtual double | hcaletValue (const HcalTrigTowerDetId &hid, const HcalTriggerPrimitiveSample &hc) const =0 |
virtual void | rctEGammaUncompress (const HcalTrigTowerDetId &hid, const HcalTriggerPrimitiveSample &hc, const EcalTrigTowerDetId &eid, const EcalTriggerPrimitiveSample &ec, unsigned int &et, bool &egVeto, bool &activity) const =0 |
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 =0 |
Uncompression for the JET path in the RCT. More... | |
virtual void | releaseSetup () const |
Release any objects obtained from the EventSetup. More... | |
virtual void | setup (const edm::EventSetup &es, Mode mode=All) const |
Obtain any needed objects from the EventSetup. Note that any member variables which are changed must be mutable. More... | |
virtual | ~CaloTPGTranscoder () |
Private Attributes | |
boost::shared_ptr < EcalTPGCompressor > | eccompress_ |
boost::shared_ptr < HcalTPGCompressor > | hccompress_ |
Abstract interface for the mutual transcoder required for compressing and uncompressing the ET stored in HCAL and ECAL Trigger Primitives
Definition at line 24 of file CaloTPGTranscoder.h.
Enumerator | |
---|---|
All | |
RCT | |
HcalTPG | |
EcalTPG |
Definition at line 29 of file CaloTPGTranscoder.h.
CaloTPGTranscoder::CaloTPGTranscoder | ( | ) |
Definition at line 5 of file CaloTPGTranscoder.cc.
|
virtual |
Definition at line 10 of file CaloTPGTranscoder.cc.
|
pure virtual |
Compression from linear samples+fine grain in the ECAL.
Implemented in CaloTPGTranscoderULUT.
Referenced by EcalTPGCompressor::compress().
|
inline |
Definition at line 51 of file CaloTPGTranscoder.h.
References eccompress_.
|
inline |
Definition at line 50 of file CaloTPGTranscoder.h.
References hccompress_.
|
pure virtual |
Compression from linear samples+fine grain in the HTR.
Implemented in CaloTPGTranscoderULUT.
Referenced by HcalTPGCompressor::compress(), and HcalLuttoDB::extractOutputLut().
|
pure virtual |
Implemented in CaloTPGTranscoderULUT.
Referenced by L1RCTSaveInput::analyze(), and L1RCTLutWriter::analyze().
|
pure virtual |
Implemented in CaloTPGTranscoderULUT.
|
pure virtual |
Implemented in CaloTPGTranscoderULUT.
|
pure virtual |
Uncompression for the Electron/Photon path in the RCT.
Implemented in CaloTPGTranscoderULUT.
|
pure virtual |
Uncompression for the JET path in the RCT.
Implemented in CaloTPGTranscoderULUT.
|
virtual |
Release any objects obtained from the EventSetup.
Definition at line 16 of file CaloTPGTranscoder.cc.
|
virtual |
Obtain any needed objects from the EventSetup. Note that any member variables which are changed must be mutable.
Reimplemented in CaloTPGTranscoderULUT.
Definition at line 13 of file CaloTPGTranscoder.cc.
|
private |
Definition at line 54 of file CaloTPGTranscoder.h.
Referenced by getEcalCompressor().
|
private |
Definition at line 53 of file CaloTPGTranscoder.h.
Referenced by getHcalCompressor().