#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 15 of file BlockFormatter.h.
typedef uint16_t BlockFormatter::Word16 |
Definition at line 18 of file BlockFormatter.h.
typedef uint64_t BlockFormatter::Word64 |
Definition at line 17 of file BlockFormatter.h.
Definition at line 13 of file BlockFormatter.cc.
References bx_, counter_, debug_, doBarrel_, doEndCap_, doSR_, doTCC_, doTower_, lv1_, orbit_number_, BlockFormatter::Config::plistDCCId_, and runnumber_.
void BlockFormatter::CleanUp | ( | FEDRawDataCollection * | productRawData, |
std::map< int, std::map< int, int > > * | FEDorder | ||
) |
Definition at line 114 of file BlockFormatter.cc.
References gather_cfg::cout, FEDRawData::data(), debug_, doBarrel_, doEndCap_, spr::find(), FEDNumbering::MINECALFEDID, matplotRender::rawdata, FEDRawData::resize(), and FEDRawData::size().
Referenced by EcalDigiToRaw::produce().
void BlockFormatter::DigiToRaw | ( | FEDRawDataCollection * | productRawData | ) |
Definition at line 29 of file BlockFormatter.cc.
References bx_, gather_cfg::cout, FEDRawData::data(), debug_, TauDecayModes::dec, doBarrel_, doEndCap_, mps_fire::i, lv1_, EcalElectronicsId::MAX_DCCID_EBP, EcalElectronicsId::MIN_DCCID_EBM, EcalElectronicsId::MIN_DCCID_EEP, FEDNumbering::MINECALFEDID, orbit_number_, matplotRender::rawdata, FEDRawData::resize(), runnumber_, FEDRawData::size(), globals_cff::x1, and CaloTPGTranscoder_cfi::ZS.
Referenced by EcalDigiToRaw::produce().
void BlockFormatter::print | ( | FEDRawData & | rawdata | ) |
Definition at line 98 of file BlockFormatter.cc.
References gather_cfg::cout, FEDRawData::data(), TauDecayModes::dec, mps_fire::i, createfilelist::int, gen::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 191 of file BlockFormatter.cc.
References gather_cfg::cout, TauDecayModes::dec, triggerObjects_cff::id, FEDNumbering::MINECALFEDID, matplotRender::rawdata, and FEDRawData::size().
|
protected |
Definition at line 53 of file BlockFormatter.h.
Referenced by BlockFormatter(), SRBlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), and DigiToRaw().
|
protected |
Definition at line 51 of file BlockFormatter.h.
Referenced by BlockFormatter().
|
protected |
Definition at line 57 of file BlockFormatter.h.
Referenced by BlockFormatter(), CleanUp(), SRBlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), DigiToRaw(), and TowerBlockFormatter::EndEvent().
|
protected |
Definition at line 59 of file BlockFormatter.h.
Referenced by BlockFormatter(), CleanUp(), TCCBlockFormatter::DigiToRaw(), and DigiToRaw().
|
protected |
Definition at line 60 of file BlockFormatter.h.
Referenced by BlockFormatter(), CleanUp(), TCCBlockFormatter::DigiToRaw(), and DigiToRaw().
|
protected |
Definition at line 62 of file BlockFormatter.h.
Referenced by BlockFormatter().
|
protected |
Definition at line 61 of file BlockFormatter.h.
Referenced by BlockFormatter().
|
protected |
Definition at line 63 of file BlockFormatter.h.
Referenced by BlockFormatter().
|
static |
Definition at line 39 of file BlockFormatter.h.
|
protected |
Definition at line 54 of file BlockFormatter.h.
Referenced by BlockFormatter(), SRBlockFormatter::DigiToRaw(), TCCBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), and DigiToRaw().
|
protected |
Definition at line 52 of file BlockFormatter.h.
Referenced by BlockFormatter(), and DigiToRaw().
|
protected |
Definition at line 49 of file BlockFormatter.h.
|
protected |
Definition at line 55 of file BlockFormatter.h.
Referenced by BlockFormatter(), and DigiToRaw().