#include <HcalTriggerPrimitiveSample.h>
Public Member Functions | |
int | compressedEt () const |
get the encoded/compressed Et More... | |
bool | fineGrain (int i=0) const |
get fine-grain bit (traditional) More... | |
HcalTriggerPrimitiveSample () | |
HcalTriggerPrimitiveSample (uint16_t data) | |
HcalTriggerPrimitiveSample (int encodedEt, bool finegrain, int slb, int slbchan) | |
HcalTriggerPrimitiveSample (int encodedEt, int finegrainExtended) | |
uint16_t | raw () const |
get the raw word More... | |
Private Attributes | |
uint16_t | theSample |
Definition at line 11 of file HcalTriggerPrimitiveSample.h.
HcalTriggerPrimitiveSample::HcalTriggerPrimitiveSample | ( | ) |
Definition at line 3 of file HcalTriggerPrimitiveSample.cc.
HcalTriggerPrimitiveSample::HcalTriggerPrimitiveSample | ( | uint16_t | data | ) |
Definition at line 4 of file HcalTriggerPrimitiveSample.cc.
HcalTriggerPrimitiveSample::HcalTriggerPrimitiveSample | ( | int | encodedEt, |
bool | finegrain, | ||
int | slb, | ||
int | slbchan | ||
) |
Definition at line 6 of file HcalTriggerPrimitiveSample.cc.
References fineGrain(), slb(), and theSample.
HcalTriggerPrimitiveSample::HcalTriggerPrimitiveSample | ( | int | encodedEt, |
int | finegrainExtended | ||
) |
|
inline |
get the encoded/compressed Et
Definition at line 21 of file HcalTriggerPrimitiveSample.h.
References theSample.
Referenced by CaloTPGTranscoderULUT::hcaletValue(), operator<<(), L1TZDCProducer::produce(), HcalTriggerPrimitiveDigi::SOI_compressedEt(), and CastorTriggerPrimitiveDigi::SOI_compressedEt().
|
inline |
get fine-grain bit (traditional)
Definition at line 23 of file HcalTriggerPrimitiveSample.h.
References mps_fire::i, theSample, and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by HcalTriggerPrimitiveSample(), operator<<(), CastorTriggerPrimitiveDigi::SOI_fineGrain(), and HcalTriggerPrimitiveDigi::SOI_fineGrain().
|
inline |
get the raw word
Definition at line 19 of file HcalTriggerPrimitiveSample.h.
References theSample.
Referenced by operator<<(), HcalPacker::pack(), slb(), slbAndChan(), slbChan(), CastorUnpacker::unpack(), and HcalUnpacker::unpackVME().
|
private |
Definition at line 26 of file HcalTriggerPrimitiveSample.h.
Referenced by compressedEt(), fineGrain(), HcalTriggerPrimitiveSample(), and raw().