#include <EcalTB07DaqFormatter.h>
Public Member Functions | |
EcalTB07DaqFormatter (std::string tbName, int a[68][5][5], int b[71], int c[201]) | |
void | interpretRawData (const FEDRawData &data, EBDigiCollection &digicollection, EEDigiCollection &eeDigiCollection, EcalPnDiodeDigiCollection &pndigicollection, EcalRawDataCollection &DCCheaderCollection, EBDetIdCollection &dccsizecollection, EcalElectronicsIdCollection &ttidcollection, EcalElectronicsIdCollection &blocksizecollection, EBDetIdCollection &chidcollection, EBDetIdCollection &gaincollection, EBDetIdCollection &gainswitchcollection, EcalElectronicsIdCollection &memttidcollection, EcalElectronicsIdCollection &memblocksizecollection, EcalElectronicsIdCollection &memgaincollection, EcalElectronicsIdCollection &memchidcollection, EcalTrigPrimDigiCollection &tpcollection) |
virtual | ~EcalTB07DaqFormatter () |
Private Types | |
enum | SMElectronics_t { kSamplesPerChannel = 10, kSamplesPerPn = 50, kChannelsPerTower = 25, kStripsPerTower = 5, kChannelsPerStrip = 5, kPnPerTowerBlock = 5, kTriggerTowersAndMem = 70 } |
enum | SMGeom_t { kModules = 4, kTriggerTowers = 68, kTowersInPhi = 4, kTowersInEta = 17, kCrystals = 1700, kPns = 10, kCrystalsInPhi = 20, kCrystalsInEta = 85, kCrystalsPerTower = 25, kCardsPerTower = 5, kChannelsPerCard = 5 } |
Private Member Functions | |
std::pair< int, int > | cellIndex (int tower_id, int strip, int xtal) |
int | cryIc (int tower_id, int strip, int xtal) |
void | DecodeMEM (DCCTBTowerBlock *towerblock, EcalPnDiodeDigiCollection &pndigicollection, EcalElectronicsIdCollection &memttidcollection, EcalElectronicsIdCollection &memblocksizecollection, EcalElectronicsIdCollection &memgaincollection, EcalElectronicsIdCollection &memchidcollection) |
int | getEE_ix (int tower, int strip, int ch) |
int | getEE_iy (int tower, int strip, int ch) |
bool | leftTower (int tower) const |
bool | rightTower (int tower) const |
Private Attributes | |
unsigned | _ExpectedTowers [71] |
unsigned | _expTowersIndex |
unsigned | _numExpectedTowers |
int | cryIcMap_ [68][5][5] |
int | data_MEM [500] |
int | memRawSample_ [kStripsPerTower][kChannelsPerStrip][kSamplesPerChannel+1] |
bool | pnAllocated |
bool | pnIsOkInBlock [kPnPerTowerBlock] |
std::string | tbName_ |
int | tbStatusToLocation_ [71] |
int | tbTowerIDToLocation_ [201] |
DCCTBDataParser * | theParser_ |
Definition at line 27 of file EcalTB07DaqFormatter.h.
|
private |
Enumerator | |
---|---|
kSamplesPerChannel | |
kSamplesPerPn | |
kChannelsPerTower | |
kStripsPerTower | |
kChannelsPerStrip | |
kPnPerTowerBlock | |
kTriggerTowersAndMem |
Definition at line 89 of file EcalTB07DaqFormatter.h.
|
private |
Enumerator | |
---|---|
kModules | |
kTriggerTowers | |
kTowersInPhi | |
kTowersInEta | |
kCrystals | |
kPns | |
kCrystalsInPhi | |
kCrystalsInEta | |
kCrystalsPerTower | |
kCardsPerTower | |
kChannelsPerCard |
Definition at line 75 of file EcalTB07DaqFormatter.h.
EcalTB07DaqFormatter::EcalTB07DaqFormatter | ( | std::string | tbName, |
int | a[68][5][5], | ||
int | b[71], | ||
int | c[201] | ||
) |
Definition at line 34 of file EcalTB07DaqFormatter.cc.
References cryIcMap_, mps_fire::i, dqmiolumiharvest::j, isotrackApplyRegressor::k, LogDebug, unpacker2007h4_cff::tbName, tbName_, tbStatusToLocation_, tbTowerIDToLocation_, and theParser_.
|
inlinevirtual |
|
private |
Definition at line 793 of file EcalTB07DaqFormatter.cc.
References PVValHelper::eta, kCardsPerTower, kChannelsPerCard, kCrystalsPerTower, kTowersInPhi, phi, rightTower(), and nano_mu_digi_cff::strip.
|
private |
Definition at line 845 of file EcalTB07DaqFormatter.cc.
References cryIcMap_, nano_mu_digi_cff::strip, and l1tHGCalTowerProducer_cfi::tower.
Referenced by getEE_ix(), getEE_iy(), and interpretRawData().
|
private |
Definition at line 595 of file EcalTB07DaqFormatter.cc.
References _ExpectedTowers, _expTowersIndex, edm::EDCollection< T >::begin(), data_MEM, edm::EDCollection< T >::empty(), edm::EDCollection< T >::end(), cuy::ib, EcalPhiSymFlatTableProducers_cfi::id, kChannelsPerStrip, kChannelsPerTower, kPnPerTowerBlock, kSamplesPerChannel, kSamplesPerPn, kStripsPerTower, LogDebug, memRawSample_, pnIsOkInBlock, edm::EDCollection< T >::push_back(), edm::SortedCollection< T, SORT >::push_back(), ecalGpuTask_cfi::sample, EcalPnDiodeDigi::setSample(), EcalPnDiodeDigi::setSize(), nano_mu_digi_cff::strip, DCCTBTowerBlock::towerID(), and DCCTBTowerBlock::xtalBlocks().
Referenced by interpretRawData().
|
private |
Definition at line 821 of file EcalTB07DaqFormatter.cc.
References cryIc(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), nano_mu_digi_cff::strip, tbName_, and l1tHGCalTowerProducer_cfi::tower.
Referenced by interpretRawData().
|
private |
Definition at line 833 of file EcalTB07DaqFormatter.cc.
References cryIc(), createfilelist::int, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), nano_mu_digi_cff::strip, tbName_, and l1tHGCalTowerProducer_cfi::tower.
Referenced by interpretRawData().
void EcalTB07DaqFormatter::interpretRawData | ( | const FEDRawData & | data, |
EBDigiCollection & | digicollection, | ||
EEDigiCollection & | eeDigiCollection, | ||
EcalPnDiodeDigiCollection & | pndigicollection, | ||
EcalRawDataCollection & | DCCheaderCollection, | ||
EBDetIdCollection & | dccsizecollection, | ||
EcalElectronicsIdCollection & | ttidcollection, | ||
EcalElectronicsIdCollection & | blocksizecollection, | ||
EBDetIdCollection & | chidcollection, | ||
EBDetIdCollection & | gaincollection, | ||
EBDetIdCollection & | gainswitchcollection, | ||
EcalElectronicsIdCollection & | memttidcollection, | ||
EcalElectronicsIdCollection & | memblocksizecollection, | ||
EcalElectronicsIdCollection & | memgaincollection, | ||
EcalElectronicsIdCollection & | memchidcollection, | ||
EcalTrigPrimDigiCollection & | tpcollection | ||
) |
Definition at line 67 of file EcalTB07DaqFormatter.cc.
References _ExpectedTowers, _expTowersIndex, _numExpectedTowers, edm::DataFrameContainer::back(), edmScanValgrind::buffer, gather_cfg::cout, cryIc(), FEDRawData::data(), DCCTBDataParser::dccEvents(), EcalDCCTBHeaderRuntypeDecoder::Decode(), DecodeMEM(), EcalBarrel, l1tstage2_dqm_sourceclient-live_cfg::fedId, dqmdumpme::first, getEE_ix(), getEE_iy(), mps_fire::i, testProducerWithPsetDescEmpty_cfi::i1, EcalPhiSymFlatTableProducers_cfi::id, createfilelist::int, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), kChannelsPerCard, kChannelsPerStrip, kChannelsPerTower, kCrystals, kPns, kStripsPerTower, kTowersInPhi, kTriggerTowers, kTriggerTowersAndMem, LogDebug, MAX_TCC_SIZE, MAX_TT_SIZE, DCCTBDataParser::parseBuffer(), pnAllocated, edm::DataFrameContainer::pop_back(), edm::EDCollection< T >::push_back(), EBDigiCollection::push_back(), EEDigiCollection::push_back(), edm::SortedCollection< T, SORT >::push_back(), edm::DataFrameContainer::reserve(), edm::SortedCollection< T, SORT >::reserve(), edm::second(), EcalDCCHeaderBlock::setBasicTriggerType(), EcalDCCHeaderBlock::setBX(), EcalDCCHeaderBlock::setErrors(), EcalDCCHeaderBlock::setFedId(), EcalDCCHeaderBlock::setFEStatus(), EcalDCCHeaderBlock::setId(), EcalDCCHeaderBlock::setLV1(), EcalDCCHeaderBlock::setOrbit(), EcalDCCHeaderBlock::setRunNumber(), EcalTriggerPrimitiveDigi::setSample(), EcalDataFrame::setSample(), EcalDCCHeaderBlock::setSelectiveReadout(), EcalTriggerPrimitiveDigi::setSize(), EcalDCCHeaderBlock::setSrpStatus(), EcalDCCHeaderBlock::setTccStatus(), EcalDCCHeaderBlock::setTestZeroSuppression(), EcalDCCHeaderBlock::setZeroSuppression(), FEDRawData::size(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::sm(), AlCaHLTBitMon_QueryRunRegistry::string, nano_mu_digi_cff::strip, tbName_, tbStatusToLocation_, tbTowerIDToLocation_, theParser_, l1tHGCalTowerProducer_cfi::tower, and findQualityFiles::v.
Referenced by EcalDCCTB07UnpackingModule::produce().
|
private |
Definition at line 867 of file EcalTB07DaqFormatter.cc.
References rightTower(), and l1tHGCalTowerProducer_cfi::tower.
|
private |
Definition at line 859 of file EcalTB07DaqFormatter.cc.
References l1tHGCalTowerProducer_cfi::tower.
Referenced by cellIndex(), and leftTower().
|
private |
Definition at line 101 of file EcalTB07DaqFormatter.h.
Referenced by DecodeMEM(), and interpretRawData().
|
private |
Definition at line 102 of file EcalTB07DaqFormatter.h.
Referenced by DecodeMEM(), and interpretRawData().
|
private |
Definition at line 100 of file EcalTB07DaqFormatter.h.
Referenced by interpretRawData().
|
private |
Definition at line 67 of file EcalTB07DaqFormatter.h.
Referenced by cryIc(), and EcalTB07DaqFormatter().
|
private |
Definition at line 106 of file EcalTB07DaqFormatter.h.
Referenced by DecodeMEM().
|
private |
Definition at line 105 of file EcalTB07DaqFormatter.h.
Referenced by DecodeMEM().
|
private |
Definition at line 107 of file EcalTB07DaqFormatter.h.
Referenced by interpretRawData().
|
private |
Definition at line 108 of file EcalTB07DaqFormatter.h.
Referenced by DecodeMEM().
|
private |
Definition at line 70 of file EcalTB07DaqFormatter.h.
Referenced by EcalTB07DaqFormatter(), getEE_ix(), getEE_iy(), and interpretRawData().
|
private |
Definition at line 68 of file EcalTB07DaqFormatter.h.
Referenced by EcalTB07DaqFormatter(), and interpretRawData().
|
private |
Definition at line 69 of file EcalTB07DaqFormatter.h.
Referenced by EcalTB07DaqFormatter(), and interpretRawData().
|
private |
Definition at line 66 of file EcalTB07DaqFormatter.h.
Referenced by EcalTB07DaqFormatter(), and interpretRawData().