#include <TCCBlockFormatter.h>
Public Member Functions | |
void | DigiToRaw (const EcalTriggerPrimitiveDigi &trigprim, FEDRawData &rawdata, const EcalElectronicsMapping *TheMapping) |
TCCBlockFormatter (BlockFormatter::Config const &, BlockFormatter::Params const &) | |
Public Member Functions inherited from BlockFormatter | |
BlockFormatter (Config const &iC, Params const &iP) | |
void | CleanUp (FEDRawDataCollection *productRawData, std::map< int, std::map< int, int > > *FEDorder) |
void | DigiToRaw (FEDRawDataCollection *productRawData) |
void | print (FEDRawData &rawdata) |
void | PrintSizes (FEDRawDataCollection *productRawData) |
Static Public Attributes | |
static const int | kCardsPerTower = 5 |
Static Public Attributes inherited from BlockFormatter | |
static const int | kCardsPerTower = 5 |
Private Attributes | |
bool | AllTPsamples_ |
Additional Inherited Members | |
Public Types inherited from BlockFormatter | |
typedef uint16_t | Word16 |
typedef uint64_t | Word64 |
Protected Attributes inherited from BlockFormatter | |
int | bx_ |
int | counter_ |
const bool | debug_ |
const bool | doBarrel_ |
const bool | doEndCap_ |
const bool | doSR_ |
const bool | doTCC_ |
const bool | doTower_ |
int | lv1_ |
int | orbit_number_ |
const std::vector< int32_t > * | plistDCCId_ |
int | runnumber_ |
Definition at line 19 of file TCCBlockFormatter.h.
TCCBlockFormatter::TCCBlockFormatter | ( | BlockFormatter::Config const & | iC, |
BlockFormatter::Params const & | iP | ||
) |
Definition at line 13 of file TCCBlockFormatter.cc.
References AllTPsamples_.
void TCCBlockFormatter::DigiToRaw | ( | const EcalTriggerPrimitiveDigi & | trigprim, |
FEDRawData & | rawdata, | ||
const EcalElectronicsMapping * | TheMapping | ||
) |
Definition at line 17 of file TCCBlockFormatter.cc.
References AllTPsamples_, makePileupJSON::bx, BlockFormatter::bx_, EcalTriggerPrimitiveDigi::compressedEt(), gather_cfg::cout, FEDRawData::data(), EcalElectronicsMapping::DCCid(), BlockFormatter::debug_, TauDecayModes::dec, BlockFormatter::doBarrel_, BlockFormatter::doEndCap_, EcalBarrel, EcalEndcap, EcalTriggerPrimitiveDigi::fineGrain(), EcalTriggerPrimitiveDigi::id(), EcalTrigTowerDetId::ieta(), EcalTrigTowerDetId::ietaAbs(), ntuplemaker::iline, SurfaceOrientation::inner, EcalTrigTowerDetId::iphi(), EcalElectronicsMapping::iTT(), BlockFormatter::lv1_, EcalElectronicsId::MAX_DCCID_EEM, EcalElectronicsId::MAX_DCCID_EEP, EcalElectronicsMapping::MAX_TCCID, EcalElectronicsId::MIN_DCCID_EEM, EcalElectronicsId::MIN_DCCID_EEP, FEDNumbering::MINECALFEDID, NUMB_SM_EB_PLU_MAX, NUMB_SM_EB_PLU_MIN, BlockFormatter::print(), FEDRawData::resize(), EcalTriggerPrimitiveDigi::size(), FEDRawData::size(), EcalTrigTowerDetId::subDet(), EcalElectronicsMapping::TCCid(), and EcalTriggerPrimitiveDigi::ttFlag().
Referenced by EcalDigiToRaw::produce().
|
private |
Definition at line 29 of file TCCBlockFormatter.h.
Referenced by DigiToRaw(), and TCCBlockFormatter().
|
static |
Definition at line 23 of file TCCBlockFormatter.h.