#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 22 of file TowerBlockFormatter.h.
TowerBlockFormatter::TowerBlockFormatter | ( | BlockFormatter::Config const & | iC, |
BlockFormatter::Params const & | iP | ||
) |
Definition at line 13 of file TowerBlockFormatter.cc.
void TowerBlockFormatter::DigiToRaw | ( | const EBDataFrame & | dataframe, |
FEDRawData & | rawdata, | ||
const EcalElectronicsMapping * | TheMapping | ||
) |
Definition at line 18 of file TowerBlockFormatter.cc.
References BlockFormatter::bx_, gather_cfg::cout, FEDRawData::data(), BlockFormatter::debug_, TauDecayModes::dec, Exception, FEDmap, FEDorder, alignCSCRings::ff, 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(), EcalElectronicsId::towerId(), groupFilesInBlocks::tt, and EcalElectronicsId::xtalId().
Referenced by EcalDigiToRaw::produce().
void TowerBlockFormatter::DigiToRaw | ( | const EEDataFrame & | dataframe, |
FEDRawData & | rawdata, | ||
const EcalElectronicsMapping * | TheMapping | ||
) |
Definition at line 381 of file TowerBlockFormatter.cc.
References BlockFormatter::bx_, gather_cfg::cout, FEDRawData::data(), EcalElectronicsId::dccId(), BlockFormatter::debug_, TauDecayModes::dec, FEDmap, FEDorder, alignCSCRings::ff, 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(), EcalElectronicsId::towerId(), groupFilesInBlocks::tt, and EcalElectronicsId::xtalId().
void TowerBlockFormatter::EndEvent | ( | FEDRawDataCollection * | productRawData | ) |
Definition at line 173 of file TowerBlockFormatter.cc.
References gather_cfg::cout, FEDRawData::data(), BlockFormatter::debug_, plotBeamSpotDB::first, mps_fire::i, training_settings::idx, createfilelist::int, checklumidiff::l, mps_splice::line, genParticles_cff::map, FEDNumbering::MINECALFEDID, edm::second(), FEDRawData::size(), and digitizers_cfi::strip.
Referenced by EcalDigiToRaw::produce().
|
inline |
Definition at line 32 of file TowerBlockFormatter.h.
References FEDorder.
Referenced by EcalDigiToRaw::produce().
|
private |
Definition at line 35 of file TowerBlockFormatter.h.
Referenced by DigiToRaw().
|
private |
Definition at line 36 of file TowerBlockFormatter.h.
Referenced by DigiToRaw(), and GetFEDorder().
|
static |
Definition at line 27 of file TowerBlockFormatter.h.