#include <BlockFormatter.h>
Classes | |
struct | Config |
struct | Params |
Public Types | |
typedef uint16_t | Word16 |
typedef uint64_t | Word64 |
Public Member Functions | |
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 |
Protected Attributes | |
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 13 of file BlockFormatter.h.
typedef uint16_t BlockFormatter::Word16 |
Definition at line 16 of file BlockFormatter.h.
typedef uint64_t BlockFormatter::Word64 |
Definition at line 15 of file BlockFormatter.h.
Definition at line 11 of file BlockFormatter.cc.
References BlockFormatter::Config::plistDCCId_.
void BlockFormatter::CleanUp | ( | FEDRawDataCollection * | productRawData, |
std::map< int, std::map< int, int > > * | FEDorder | ||
) |
Definition at line 104 of file BlockFormatter.cc.
References gather_cfg::cout, FEDRawData::data(), debug_, doBarrel_, doEndCap_, FEDRawDataCollection::FEDData(), spr::find(), FEDNumbering::MINECALFEDID, FEDRawData::resize(), and FEDRawData::size().
Referenced by EcalDigiToRaw::produce().
void BlockFormatter::DigiToRaw | ( | FEDRawDataCollection * | productRawData | ) |
Definition at line 25 of file BlockFormatter.cc.
References nano_mu_digi_cff::bx, bx_, gather_cfg::cout, FEDRawData::data(), debug_, TauDecayModes::dec, doBarrel_, doEndCap_, FEDRawDataCollection::FEDData(), mps_fire::i, dqmiolumiharvest::j, lv1_, EcalElectronicsId::MAX_DCCID_EBP, EcalElectronicsId::MIN_DCCID_EBM, EcalElectronicsId::MIN_DCCID_EEP, FEDNumbering::MINECALFEDID, orbit_number_, FEDRawData::resize(), contentValuesCheck::run_number, runnumber_, FEDRawData::size(), and testProducerWithPsetDescEmpty_cfi::x1.
Referenced by EcalDigiToRaw::produce().
void BlockFormatter::print | ( | FEDRawData & | rawdata | ) |
Definition at line 89 of file BlockFormatter.cc.
References gather_cfg::cout, FEDRawData::data(), TauDecayModes::dec, mps_fire::i, createfilelist::int, dqmiolumiharvest::j, create_idmaps::n, FEDRawData::size(), and findQualityFiles::size.
Referenced by SRBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), and EcalDigiToRaw::produce().
void BlockFormatter::PrintSizes | ( | FEDRawDataCollection * | productRawData | ) |
Definition at line 182 of file BlockFormatter.cc.
References gather_cfg::cout, TauDecayModes::dec, FEDRawDataCollection::FEDData(), EcalPhiSymFlatTableProducers_cfi::id, FEDNumbering::MINECALFEDID, and FEDRawData::size().
|
protected |
Definition at line 49 of file BlockFormatter.h.
Referenced by SRBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), and DigiToRaw().
|
protected |
Definition at line 47 of file BlockFormatter.h.
|
protected |
Definition at line 53 of file BlockFormatter.h.
Referenced by CleanUp(), SRBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), DigiToRaw(), and TowerBlockFormatter::EndEvent().
|
protected |
Definition at line 55 of file BlockFormatter.h.
Referenced by CleanUp(), TCCBlockFormatter::DigiToRaw(), and DigiToRaw().
|
protected |
Definition at line 56 of file BlockFormatter.h.
Referenced by CleanUp(), TCCBlockFormatter::DigiToRaw(), and DigiToRaw().
|
protected |
Definition at line 58 of file BlockFormatter.h.
|
protected |
Definition at line 57 of file BlockFormatter.h.
|
protected |
Definition at line 59 of file BlockFormatter.h.
|
static |
Definition at line 37 of file BlockFormatter.h.
|
protected |
Definition at line 50 of file BlockFormatter.h.
Referenced by SRBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), and DigiToRaw().
|
protected |
Definition at line 48 of file BlockFormatter.h.
Referenced by DigiToRaw().
|
protected |
Definition at line 45 of file BlockFormatter.h.
|
protected |
Definition at line 51 of file BlockFormatter.h.
Referenced by DigiToRaw().