#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 () |
void | StartEvent () |
TowerBlockFormatter () | |
~TowerBlockFormatter () | |
Public Member Functions inherited from BlockFormatter | |
BlockFormatter () | |
void | CleanUp (FEDRawDataCollection *productRawData, std::map< int, std::map< int, int > > *FEDorder) |
void | DigiToRaw (FEDRawDataCollection *productRawData) |
void | print (FEDRawData &rawdata) |
void | PrintSizes (FEDRawDataCollection *productRawData) |
void | SetParam (EcalDigiToRaw *base) |
~BlockFormatter () | |
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 | |
bool | debug_ |
bool | doBarrel_ |
bool | doEndCap_ |
bool | doSR_ |
bool | doTCC_ |
bool | doTower_ |
int * | pbx_ |
int * | pcounter_ |
std::vector< int32_t > * | plistDCCId_ |
int * | plv1_ |
int * | porbit_number_ |
int * | prunnumber_ |
Definition at line 22 of file TowerBlockFormatter.h.
TowerBlockFormatter::TowerBlockFormatter | ( | ) |
Definition at line 15 of file TowerBlockFormatter.cc.
TowerBlockFormatter::~TowerBlockFormatter | ( | ) |
Definition at line 19 of file TowerBlockFormatter.cc.
void TowerBlockFormatter::DigiToRaw | ( | const EBDataFrame & | dataframe, |
FEDRawData & | rawdata, | ||
const EcalElectronicsMapping * | TheMapping | ||
) |
Definition at line 25 of file TowerBlockFormatter.cc.
References gather_cfg::cout, FEDRawData::data(), TauDecayModes::dec, end, Exception, alignCSCRings::ff, spr::find(), i, EBDataFrame::id(), edm::eventsetup::heterocontainer::insert(), FEDNumbering::MINECALFEDID, reco::print(), FEDRawData::resize(), EcalDataFrame::sample(), EcalDataFrame::size(), FEDRawData::size(), EcalElectronicsId::stripId(), reco::t2, EcalElectronicsId::towerId(), groupFilesInBlocks::tt, and EcalElectronicsId::xtalId().
void TowerBlockFormatter::DigiToRaw | ( | const EEDataFrame & | dataframe, |
FEDRawData & | rawdata, | ||
const EcalElectronicsMapping * | TheMapping | ||
) |
Definition at line 403 of file TowerBlockFormatter.cc.
References gather_cfg::cout, FEDRawData::data(), EcalElectronicsId::dccId(), TauDecayModes::dec, end, alignCSCRings::ff, spr::find(), i, EEDataFrame::id(), edm::eventsetup::heterocontainer::insert(), FEDNumbering::MINECALFEDID, reco::print(), FEDRawData::resize(), EcalDataFrame::sample(), EcalDataFrame::size(), FEDRawData::size(), EcalElectronicsId::stripId(), reco::t2, EcalElectronicsId::towerId(), groupFilesInBlocks::tt, and EcalElectronicsId::xtalId().
void TowerBlockFormatter::EndEvent | ( | FEDRawDataCollection * | productRawData | ) |
Definition at line 180 of file TowerBlockFormatter.cc.
References hitfit::clear(), gather_cfg::cout, FEDRawData::data(), plotBeamSpotDB::first, i, customizeTrackingMonitorSeedNumber::idx, j, cmsLHEtoEOSManager::l, geometryCSVtoXML::line, FEDNumbering::MINECALFEDID, edm::second(), and FEDRawData::size().
|
inline |
Definition at line 33 of file TowerBlockFormatter.h.
References FEDorder.
void TowerBlockFormatter::StartEvent | ( | ) |
Definition at line 393 of file TowerBlockFormatter.cc.
|
private |
Definition at line 36 of file TowerBlockFormatter.h.
|
private |
Definition at line 37 of file TowerBlockFormatter.h.
Referenced by GetFEDorder().
|
static |
Definition at line 27 of file TowerBlockFormatter.h.