#include <TowerBlockFormatter.h>
Public Member Functions | |
void | DigiToRaw (const EBDataFrame &dataframe, FEDRawData &rawdata, const EcalElectronicsMapping *TheMapping) |
void | DigiToRaw (const EEDataFrame &dataframe, FEDRawData &rawdata, const EcalElectronicsMapping *TheMapping) |
void | EndEvent (FEDRawDataCollection *productRawData) |
std::map< int, std::map< int, int > > & | GetFEDorder () |
TowerBlockFormatter (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 | |
std::map< int, std::map< int, int > > | FEDmap |
std::map< int, std::map< int, int > > | FEDorder |
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 TowerBlockFormatter.h.
TowerBlockFormatter::TowerBlockFormatter | ( | BlockFormatter::Config const & | iC, |
BlockFormatter::Params const & | iP | ||
) |
Definition at line 12 of file TowerBlockFormatter.cc.
void TowerBlockFormatter::DigiToRaw | ( | const EBDataFrame & | dataframe, |
FEDRawData & | rawdata, | ||
const EcalElectronicsMapping * | TheMapping | ||
) |
Definition at line 14 of file TowerBlockFormatter.cc.
References l1GtPatternGenerator_cfi::bx, BlockFormatter::bx_, gather_cfg::cout, FEDRawData::data(), EcalElectronicsMapping::DCCid(), BlockFormatter::debug_, TauDecayModes::dec, Exception, FEDmap, FEDorder, alignCSCRings::ff, EcalElectronicsMapping::getElectronicsId(), mps_fire::i, EBDataFrame::id(), createfilelist::int, BlockFormatter::lv1_, genParticles_cff::map, FEDNumbering::MINECALFEDID, BlockFormatter::print(), FEDRawData::resize(), EcalDataFrame::sample(), EcalDataFrame::size(), FEDRawData::size(), EcalElectronicsId::stripId(), RandomServiceHelper::t1, RandomServiceHelper::t2, EcalElectronicsId::towerId(), and EcalElectronicsId::xtalId().
Referenced by EcalDigiToRaw::produce().
void TowerBlockFormatter::DigiToRaw | ( | const EEDataFrame & | dataframe, |
FEDRawData & | rawdata, | ||
const EcalElectronicsMapping * | TheMapping | ||
) |
Definition at line 388 of file TowerBlockFormatter.cc.
References l1GtPatternGenerator_cfi::bx, BlockFormatter::bx_, gather_cfg::cout, FEDRawData::data(), EcalElectronicsId::dccId(), BlockFormatter::debug_, TauDecayModes::dec, FEDmap, FEDorder, alignCSCRings::ff, EcalElectronicsMapping::getElectronicsId(), mps_fire::i, EEDataFrame::id(), createfilelist::int, BlockFormatter::lv1_, genParticles_cff::map, FEDNumbering::MINECALFEDID, BlockFormatter::print(), FEDRawData::resize(), EcalDataFrame::sample(), EcalDataFrame::size(), FEDRawData::size(), EcalElectronicsId::stripId(), RandomServiceHelper::t1, RandomServiceHelper::t2, EcalElectronicsId::towerId(), and EcalElectronicsId::xtalId().
void TowerBlockFormatter::EndEvent | ( | FEDRawDataCollection * | productRawData | ) |
Definition at line 169 of file TowerBlockFormatter.cc.
References gather_cfg::cout, FEDRawData::data(), BlockFormatter::debug_, FEDRawDataCollection::FEDData(), ProducerSetup_cfi::FrontEnd, mps_fire::i, heavyIonCSV_trainingSettings::idx, createfilelist::int, dqmiolumiharvest::j, cmsLHEtoEOSManager::l, mps_splice::line, genParticles_cff::map, FEDNumbering::MINECALFEDID, FEDRawData::size(), and digitizers_cfi::strip.
Referenced by EcalDigiToRaw::produce().
|
inline |
Definition at line 28 of file TowerBlockFormatter.h.
References FEDorder.
Referenced by EcalDigiToRaw::produce().
|
private |
Definition at line 31 of file TowerBlockFormatter.h.
Referenced by DigiToRaw().
|
private |
Definition at line 32 of file TowerBlockFormatter.h.
Referenced by DigiToRaw(), and GetFEDorder().
|
static |
Definition at line 23 of file TowerBlockFormatter.h.