#include <EcalElectronicsMapping.h>
Classes | |
struct | MapItem |
Wrap a generic EcalTrigTowerDetId to the equivalent one in z+ Quadrant 1 (from 0 < phi < pi/2) More... | |
Public Member Functions | |
void | assign (const DetId &cell, const EcalElectronicsId &, const EcalTriggerElectronicsId &tower) |
set the association between a DetId and a tower More... | |
int | DCCBoundary (int FED) const |
std::vector< DetId > | dccConstituents (int dccId) const |
Get the constituent detids for this dccId. More... | |
int | DCCid (const EBDetId &id) const |
returns the DCC of an EBDetId More... | |
int | DCCid (const EcalTrigTowerDetId &id) const |
returns the DCCid (i.e. the FED) of a Trigger Tower More... | |
std::vector< DetId > | dccTowerConstituents (int dccId, int tower) const |
Get the constituent detids for this dccId. More... | |
EcalElectronicsMapping () | |
std::pair< int, int > | getDCCandSC (EcalScDetId id) const |
DetId | getDetId (const EcalElectronicsId &id) const |
Get the detid given an electronicsId. More... | |
DetId | getDetId (const EcalTriggerElectronicsId &id) const |
Get the detid given a trigger electronicsId. More... | |
std::vector< EcalScDetId > | getEcalScDetId (int DCCid, int DCC_Channel, bool ignoreSingleCrystal=true) const |
EcalElectronicsId | getElectronicsId (const DetId &id) const |
Get the electronics id for this det id. More... | |
EcalElectronicsId | getElectronicsId (const EcalTriggerElectronicsId &id) const |
Get the electronics id given a trigger electronicsId. More... | |
int | GetFED (double eta, double phi) const |
std::vector< int > | GetListofFEDs (const RectangularEtaPhiRegion ®ion) const |
void | GetListofFEDs (const RectangularEtaPhiRegion ®ion, std::vector< int > &FEDs) const |
int | getLMNumber (const DetId &id) const |
EcalTriggerElectronicsId | getTriggerElectronicsId (const DetId &id) const |
Get the trigger electronics id for this det id. More... | |
EcalTriggerElectronicsId | getTriggerElectronicsId (const EcalElectronicsId &id) const |
Get the trigger electronics id given an electronicsId. More... | |
EcalTrigTowerDetId | getTrigTowerDetId (int TCCid, int iTT) const |
Builds a EcalTrigTowerDetID from the TCCid & TriggerTower index in TCC. More... | |
int | iTT (const EcalTrigTowerDetId &id) const |
returns the index of a Trigger Tower within its TCC. More... | |
std::vector< DetId > | pseudoStripConstituents (int tccId, int tt, int pseudostrip) const |
Get the constituent detids for this dccId. More... | |
bool | rightTower (int tower) const |
std::vector< DetId > | stripConstituents (int dccId, int tower, int strip) const |
Get the constituent detids for this dccId. More... | |
EcalSubdetector | subdet (int dccid, int mode) const |
std::vector< DetId > | tccConstituents (int tccId) const |
Get the constituent detids for this dccId. More... | |
int | TCCid (const EBDetId &id) const |
returns the TCCid of an EBDetId More... | |
int | TCCid (const EcalTrigTowerDetId &id) const |
returns the TCCid of a Trigger Tower More... | |
std::vector< DetId > | ttConstituents (int tccId, int tt) const |
Get the constituent detids for this dccId. More... | |
int | zside (int dcctcc, int mode) const |
Static Public Attributes | |
static const int | DCCID_PHI0_EBM = EcalElectronicsId::DCCID_PHI0_EBM |
static const int | DCCID_PHI0_EBP = EcalElectronicsId::DCCID_PHI0_EBP |
static const int | iEEEtaMinInner = 22 |
static const int | iEEEtaMinOuter = 18 |
static const int | kCrystalsInPhi = EBDetId::kCrystalsInPhi |
static const int | kEBTowersInEta = EcalTrigTowerDetId::kEBTowersInEta |
static const int | kEBTowersInPhi = EcalTrigTowerDetId::kEBTowersInPhi |
static const int | kEBTowersPerSM = EcalTrigTowerDetId::kEBTowersPerSM |
static const int | kEETowersInEta = EcalTrigTowerDetId::kEETowersInEta |
static const int | kEETowersInEtaPerInnerTCC = 7 |
static const int | kEETowersInEtaPerOuterTCC = 4 |
static const int | kEETowersInPhiPerQuadrant = EcalTrigTowerDetId::kEETowersInPhiPerQuadrant |
static const int | kEETowersInPhiPerTCC = 4 |
static const int | kTCCinPhi = 18 |
static const int | kTowersInPhi = EBDetId::kTowersInPhi |
static const int | MAX_DCCID = EcalElectronicsId::MAX_DCCID |
static const int | MAX_DCCID_EBM = EcalElectronicsId::MAX_DCCID_EBM |
static const int | MAX_DCCID_EBP = EcalElectronicsId::MAX_DCCID_EBP |
static const int | MAX_DCCID_EEM = EcalElectronicsId::MAX_DCCID_EEM |
static const int | MAX_DCCID_EEP = EcalElectronicsId::MAX_DCCID_EEP |
static const int | MAX_LM = 92 |
static const int | MAX_TCCID = EcalTriggerElectronicsId::MAX_TCCID |
static const int | MAX_TCCID_EBM = EcalTriggerElectronicsId::MAX_TCCID_EBM |
static const int | MAX_TCCID_EBP = EcalTriggerElectronicsId::MAX_TCCID_EBP |
static const int | MAX_TCCID_EEM = EcalTriggerElectronicsId::MAX_TCCID_EEM |
static const int | MAX_TCCID_EEP = EcalTriggerElectronicsId::MAX_TCCID_EEP |
static const int | MIN_DCCID = EcalElectronicsId::MIN_DCCID |
static const int | MIN_DCCID_EBM = EcalElectronicsId::MIN_DCCID_EBM |
static const int | MIN_DCCID_EBP = EcalElectronicsId::MIN_DCCID_EBP |
static const int | MIN_DCCID_EEM = EcalElectronicsId::MIN_DCCID_EEM |
static const int | MIN_DCCID_EEP = EcalElectronicsId::MIN_DCCID_EEP |
static const int | MIN_LM_EBM = 1 |
static const int | MIN_LM_EBP = 37 |
static const int | MIN_LM_EEM = 73 |
static const int | MIN_LM_EEP = 83 |
static const int | MIN_TCCID = EcalTriggerElectronicsId::MIN_TCCID |
static const int | MIN_TCCID_EBM = EcalTriggerElectronicsId::MIN_TCCID_EBM |
static const int | MIN_TCCID_EBP = EcalTriggerElectronicsId::MIN_TCCID_EBP |
static const int | MIN_TCCID_EEM = EcalTriggerElectronicsId::MIN_TCCID_EEM |
static const int | MIN_TCCID_EEP = EcalTriggerElectronicsId::MIN_TCCID_EEP |
static const int | TCCID_PHI0_EBM = EcalTriggerElectronicsId::TCCID_PHI0_EBM |
static const int | TCCID_PHI0_EBP = EcalTriggerElectronicsId::TCCID_PHI0_EBP |
static const int | TCCID_PHI0_EEM_IN = EcalTriggerElectronicsId::TCCID_PHI0_EEM_IN |
static const int | TCCID_PHI0_EEM_OUT = EcalTriggerElectronicsId::TCCID_PHI0_EEM_OUT |
static const int | TCCID_PHI0_EEP_IN = EcalTriggerElectronicsId::TCCID_PHI0_EEP_IN |
static const int | TCCID_PHI0_EEP_OUT = EcalTriggerElectronicsId::TCCID_PHI0_EEP_OUT |
Private Types | |
typedef boost::multi_index::multi_index_container< MapItem, boost::multi_index::indexed_by< boost::multi_index::ordered_unique< boost::multi_index::member< MapItem, DetId, &MapItem::cell > >, boost::multi_index::ordered_unique< boost::multi_index::member< MapItem, EcalElectronicsId, &MapItem::elid > >, boost::multi_index::ordered_unique< boost::multi_index::member< MapItem, EcalTriggerElectronicsId, &MapItem::trelid > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< MapItem, int, &MapItem::dccId > >, boost::multi_index::ordered_non_unique< boost::multi_index::composite_key< MapItem, boost::multi_index::const_mem_fun< MapItem, int, &MapItem::dccId >, boost::multi_index::const_mem_fun< MapItem, int, &MapItem::towerId > > >, boost::multi_index::ordered_non_unique< boost::multi_index::composite_key< MapItem, boost::multi_index::const_mem_fun< MapItem, int, &MapItem::dccId >, boost::multi_index::const_mem_fun< MapItem, int, &MapItem::towerId >, boost::multi_index::const_mem_fun< MapItem, int, &MapItem::stripId > > >, boost::multi_index::ordered_non_unique< boost::multi_index::const_mem_fun< MapItem, int, &MapItem::tccId > >, boost::multi_index::ordered_non_unique< boost::multi_index::composite_key< MapItem, boost::multi_index::const_mem_fun< MapItem, int, &MapItem::tccId >, boost::multi_index::const_mem_fun< MapItem, int, &MapItem::ttId > > >, boost::multi_index::ordered_non_unique< boost::multi_index::composite_key< MapItem, boost::multi_index::const_mem_fun< MapItem, int, &MapItem::tccId >, boost::multi_index::const_mem_fun< MapItem, int, &MapItem::ttId >, boost::multi_index::const_mem_fun< MapItem, int, &MapItem::pseudoStripId > > > > > | EcalElectronicsMap |
typedef EcalElectronicsMap::nth_index< 3 >::type | EcalElectronicsMap_by_DccId |
typedef EcalElectronicsMap::nth_index< 4 >::type | EcalElectronicsMap_by_DccId_and_TowerId |
typedef EcalElectronicsMap::nth_index< 5 >::type | EcalElectronicsMap_by_DccId_TowerId_and_StripId |
typedef EcalElectronicsMap::nth_index< 0 >::type | EcalElectronicsMap_by_DetId |
typedef EcalElectronicsMap::nth_index< 1 >::type | EcalElectronicsMap_by_ElectronicsId |
typedef EcalElectronicsMap::nth_index< 6 >::type | EcalElectronicsMap_by_TccId |
typedef EcalElectronicsMap::nth_index< 7 >::type | EcalElectronicsMap_by_TccId_and_TtId |
typedef EcalElectronicsMap::nth_index< 8 >::type | EcalElectronicsMap_by_TccId_TtId_and_PseudostripId |
typedef EcalElectronicsMap::nth_index< 2 >::type | EcalElectronicsMap_by_TriggerElectronicsId |
Private Attributes | |
std::map< int, int > | LaserMonitoringMap_EB |
std::map< int, int > | LaserMonitoringMap_EE |
EcalElectronicsMap | m_items |
Static Private Attributes | |
static const int | DCCMODE = 0 |
static const int | TCCMODE = 1 |
Definition at line 28 of file EcalElectronicsMapping.h.
|
private |
Definition at line 254 of file EcalElectronicsMapping.h.
|
private |
Definition at line 260 of file EcalElectronicsMapping.h.
|
private |
Definition at line 261 of file EcalElectronicsMapping.h.
|
private |
Definition at line 262 of file EcalElectronicsMapping.h.
|
private |
Definition at line 256 of file EcalElectronicsMapping.h.
|
private |
Definition at line 257 of file EcalElectronicsMapping.h.
|
private |
Definition at line 264 of file EcalElectronicsMapping.h.
|
private |
Definition at line 265 of file EcalElectronicsMapping.h.
|
private |
Definition at line 266 of file EcalElectronicsMapping.h.
|
private |
Definition at line 258 of file EcalElectronicsMapping.h.
EcalElectronicsMapping::EcalElectronicsMapping | ( | ) |
Definition at line 37 of file EcalElectronicsMapping.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::dcc().
void EcalElectronicsMapping::assign | ( | const DetId & | cell, |
const EcalElectronicsId & | elid, | ||
const EcalTriggerElectronicsId & | tower | ||
) |
set the association between a DetId and a tower
Definition at line 756 of file EcalElectronicsMapping.cc.
References l1tHGCalTowerProducer_cfi::tower.
Referenced by EcalElectronicsMappingBuilder::FillFromDatabase().
int EcalElectronicsMapping::DCCBoundary | ( | int | FED | ) | const |
Definition at line 930 of file EcalElectronicsMapping.cc.
std::vector< DetId > EcalElectronicsMapping::dccConstituents | ( | int | dccId | ) | const |
Get the constituent detids for this dccId.
Definition at line 562 of file EcalElectronicsMapping.cc.
References ecaldqm::dccId(), ALCARECOPPSCalTrackBasedSel_cff::detid, EcalBarrel, EcalEndcap, Exception, mps_fire::i, mps_monitormerge::items, and l1tHGCalTowerProducer_cfi::tower.
Referenced by ecaldqm::binning::getBinningSM_().
int EcalElectronicsMapping::DCCid | ( | const EBDetId & | id | ) | const |
returns the DCC of an EBDetId
Definition at line 71 of file EcalElectronicsMapping.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::dcc(), and ecaldqm::zside().
Referenced by EcalTPGParamBuilder::analyze(), ecaldqm::binning::channelName(), TCCBlockFormatter::DigiToRaw(), TowerBlockFormatter::DigiToRaw(), and EcalDigiToRaw::produce().
int EcalElectronicsMapping::DCCid | ( | const EcalTrigTowerDetId & | id | ) | const |
returns the DCCid (i.e. the FED) of a Trigger Tower
Definition at line 190 of file EcalElectronicsMapping.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::dcc(), EcalBarrel, EcalEndcap, Exception, HLT_IsoTrack_cff::offset, and ecaldqm::zside().
std::vector< DetId > EcalElectronicsMapping::dccTowerConstituents | ( | int | dccId, |
int | tower | ||
) | const |
Get the constituent detids for this dccId.
Definition at line 590 of file EcalElectronicsMapping.cc.
References ecaldqm::dccId(), EcalBarrel, EcalEndcap, EBDetId::ETAPHIMODE, Exception, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, mps_monitormerge::items, l1tHGCalTowerProducer_cfi::tower, and ecaldqm::zside().
Referenced by EcalElectronicsMapper::fillMaps(), and DCCDataUnpacker::getCCUValue().
std::pair< int, int > EcalElectronicsMapping::getDCCandSC | ( | EcalScDetId | id | ) | const |
Retrieves the DCC channel that reads the crystals constituting an ECAL supercystal (SC). For standard 5x5 complete SCs, there is a one-to-one matching between DCC channel and SC. For partial SCs, the relation from SC to DCC channel is N-to-N. The 3-2-1 partial SC type has 1 crystal read by a DCC channel and the others read by another DCC channel. If the former crystal is ignored for the DCC channel matching, then the SC-to-DCC channel association is simplified to 1-to-N relation. This method uses this prescription and therefore returns a single DCC channel.
id | SC identifier |
Definition at line 762 of file EcalElectronicsMapping.cc.
References EcalElectronicsId::dccId(), hgcal::mappingtools::getElectronicsId(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), EcalElectronicsId::towerId(), EEDetId::validDetId(), EEDetId::XYMODE, and ecaldqm::zside().
Referenced by EcalSelectiveReadoutValidation::dccCh(), EcalSelectiveReadoutValidation::dccId(), EcalSelectiveReadout::eeRuInterest(), EcalSelectiveReadout::printDccChMap(), and EcalDigiToRaw::produce().
DetId EcalElectronicsMapping::getDetId | ( | const EcalElectronicsId & | id | ) | const |
Get the detid given an electronicsId.
Definition at line 411 of file EcalElectronicsMapping.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::dcc(), MillePedeFileConverter_cfg::e, EcalBarrel, EcalEndcap, EBDetId::ETAPHIMODE, Exception, spr::find(), hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nano_mu_digi_cff::strip, l1tHGCalTowerProducer_cfi::tower, and ecaldqm::zside().
Referenced by ecaldqm::binning::channelName(), EcalElectronicsMapper::fillMaps(), ecaldqm::binning::findBinCrystal_(), ecaldqm::binning::findBinSuperCrystal_(), DCCDataUnpacker::getChannelValue(), and EcalDetIdToBeRecoveredProducer::produce().
DetId EcalElectronicsMapping::getDetId | ( | const EcalTriggerElectronicsId & | id | ) | const |
Get the detid given a trigger electronicsId.
Definition at line 513 of file EcalElectronicsMapping.cc.
References EcalBarrel, EcalEndcap, Exception, spr::find(), hgcal::mappingtools::getElectronicsId(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
std::vector< EcalScDetId > EcalElectronicsMapping::getEcalScDetId | ( | int | DCCid, |
int | DCC_Channel, | ||
bool | ignoreSingleCrystal = true |
||
) | const |
builds EcalScDetId's from (DCC, DCC_channel) Most of the time there is only one SC read-out by the DCC channel, but few DCC channels read VPTs coming from two different partial SCs. There are also 4 SCs per endcap whose one crystal is read out by a different DCC channel than the others. In such case, the SC will be assiociated to the DCC channel reading most of the crystals, the DCC channel reading only one crystal being ignored.
ignoreSingleCrystal. | There are four partial SCs per endcap whose one crystal is read out by a different DCC channel than for the other crystals. If this parameter is true these single crystals will be ignored: if a SC has only one crystal read out by the DCC channel, then the SC will not be included in the returned list. a differentsimplification, SC read out by two different DCC channels |
Definition at line 800 of file EcalElectronicsMapping.cc.
References cms::cuda::assert(), debug, EEDetId::ix(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix(), EEDetId::iy(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::iy(), and EEDetId::zside().
Referenced by EcalElectronicsMapper::fillMaps(), ecaldqm::StatusManager::readFromStream(), EcalReadoutTools::readOutUnitOf(), PFEcalEndcapRecHitCreator::readOutUnitOf(), and EcalSelectiveReadoutValidation::readOutUnitOf().
EcalElectronicsId EcalElectronicsMapping::getElectronicsId | ( | const DetId & | id | ) | const |
Get the electronics id for this det id.
Definition at line 325 of file EcalElectronicsMapping.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::dcc(), EcalBarrel, EcalEndcap, Exception, spr::find(), hcalRecHitTable_cff::ieta, EBDetId::ietaAbs(), hcalRecHitTable_cff::iphi, EBDetId::iphi(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nano_mu_digi_cff::strip, l1tHGCalTowerProducer_cfi::tower, EBDetId::tower(), and ecaldqm::zside().
Referenced by EcalURecHitHists::analyze(), EcalTPGParamBuilder::analyze(), EcalCosmicsHists::analyze(), ecaldqm::binning::channelName(), EcalDccWeightBuilder::dbId(), EcalSelectiveReadoutValidation::dccCh(), TowerBlockFormatter::DigiToRaw(), EcalSelectiveReadout::eeRuInterest(), EcalElectronicsMapper::fillMaps(), EcalDisplaysByEvent::makeHistos(), EcalDigiToRaw::produce(), EcalPedOffset::readDACs(), EcalDigiDisplay::readEBDigis(), EcalPedHists::readEBdigis(), EcalDigiDisplay::readEEDigis(), EcalPedHists::readEEdigis(), EcalReadoutTools::readOutUnitOf(), PFEcalEndcapRecHitCreator::readOutUnitOf(), EcalSelectiveReadoutValidation::readOutUnitOf(), EcalMipGraphs::selectDigi(), EcalDisplaysByEvent::selectDigi(), EcalMipGraphs::selectHits(), and EcalDisplaysByEvent::selectHits().
EcalElectronicsId EcalElectronicsMapping::getElectronicsId | ( | const EcalTriggerElectronicsId & | id | ) | const |
Get the electronics id given a trigger electronicsId.
Definition at line 533 of file EcalElectronicsMapping.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::dcc(), EcalBarrel, EcalEndcap, Exception, spr::find(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nano_mu_digi_cff::strip, EcalElectronicsId::subdet(), l1tHGCalTowerProducer_cfi::tower, and ecaldqm::zside().
int EcalElectronicsMapping::GetFED | ( | double | eta, |
double | phi | ||
) | const |
Definition at line 1089 of file EcalElectronicsMapping.cc.
References OccupancyTask_cfi::DCC, PVValHelper::eta, createfilelist::int, and hcalRecHitTable_cff::iphi.
Referenced by EcalRegionCabling::elementIndex().
std::vector< int > EcalElectronicsMapping::GetListofFEDs | ( | const RectangularEtaPhiRegion & | region | ) | const |
Definition at line 942 of file EcalElectronicsMapping.cc.
References ALCARECOHcalCalPedestal_cff::FEDs, and nano_mu_digi_cff::region.
void EcalElectronicsMapping::GetListofFEDs | ( | const RectangularEtaPhiRegion & | region, |
std::vector< int > & | FEDs | ||
) | const |
Definition at line 947 of file EcalElectronicsMapping.cc.
References debug, eleIsoSequence_cff::deltaR, ALCARECOHcalCalPedestal_cff::FEDs, heavyIonCSV_trainingSettings::idx, M_PI, and nano_mu_digi_cff::region.
int EcalElectronicsMapping::getLMNumber | ( | const DetId & | id | ) | const |
Definition at line 1135 of file EcalElectronicsMapping.cc.
References EcalElectronicsId::dccId(), EcalBarrel, EcalEndcap, Exception, hgcal::mappingtools::getElectronicsId(), EBDetId::ietaSM(), EBDetId::iphiSM(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, EEDetId::ix(), and ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::endcap::ix().
Referenced by EcalCosmicsHists::analyze().
EcalTriggerElectronicsId EcalElectronicsMapping::getTriggerElectronicsId | ( | const DetId & | id | ) | const |
Get the trigger electronics id for this det id.
Definition at line 390 of file EcalElectronicsMapping.cc.
References EcalBarrel, EcalEndcap, Exception, spr::find(), hgcal::mappingtools::getElectronicsId(), and ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it.
Referenced by EcalTPGParamBuilder::analyze(), ecaldqm::binning::channelName(), EcalElectronicsMapper::fillMaps(), EcalTrigPrimFunctionalAlgo::findStripNr(), EcalFenixStrip::process(), and EcalEBTrigPrimTestAlgo::run().
EcalTriggerElectronicsId EcalElectronicsMapping::getTriggerElectronicsId | ( | const EcalElectronicsId & | id | ) | const |
Get the trigger electronics id given an electronicsId.
Definition at line 483 of file EcalElectronicsMapping.cc.
References EcalBarrel, EcalEndcap, Exception, spr::find(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nano_mu_digi_cff::strip, EcalTriggerElectronicsId::subdet(), l1tHGCalTowerProducer_cfi::tower, and ecaldqm::zside().
EcalTrigTowerDetId EcalElectronicsMapping::getTrigTowerDetId | ( | int | TCCid, |
int | iTT | ||
) | const |
Builds a EcalTrigTowerDetID from the TCCid & TriggerTower index in TCC.
Definition at line 241 of file EcalElectronicsMapping.cc.
References funct::abs(), EcalBarrel, EcalEndcap, Exception, hcalRecHitTable_cff::ieta, SurfaceOrientation::inner, hcalRecHitTable_cff::iphi, SurfaceOrientation::outer, EcalTrigTowerDetId::SUBDETIJMODE, and ecaldqm::zside().
Referenced by ecaldqm::binning::channelName(), EcalElectronicsMapper::fillMaps(), and L1CaloEcalScaleConfigOnlineProd::newObject().
int EcalElectronicsMapping::iTT | ( | const EcalTrigTowerDetId & | id | ) | const |
returns the index of a Trigger Tower within its TCC.
Definition at line 103 of file EcalElectronicsMapping.cc.
References EcalBarrel, EcalEndcap, Exception, SurfaceOrientation::inner, and ecaldqm::zside().
Referenced by EcalTPGParamBuilder::analyze(), TCCBlockFormatter::DigiToRaw(), and EcalDigiToRaw::produce().
std::vector< DetId > EcalElectronicsMapping::pseudoStripConstituents | ( | int | tccId, |
int | tt, | ||
int | pseudostrip | ||
) | const |
Get the constituent detids for this dccId.
Definition at line 731 of file EcalElectronicsMapping.cc.
References ecaldqm::dccId(), EcalBarrel, mps_monitormerge::items, ecaldqm::tccId(), and ecaldqm::zside().
Referenced by ecaldqm::MESetDet2D::fill().
bool EcalElectronicsMapping::rightTower | ( | int | tower | ) | const |
Definition at line 920 of file EcalElectronicsMapping.cc.
References l1tHGCalTowerProducer_cfi::tower.
std::vector< DetId > EcalElectronicsMapping::stripConstituents | ( | int | dccId, |
int | tower, | ||
int | strip | ||
) | const |
Get the constituent detids for this dccId.
Definition at line 635 of file EcalElectronicsMapping.cc.
References ecaldqm::dccId(), EcalBarrel, EBDetId::ETAPHIMODE, hcalRecHitTable_cff::ieta, hcalRecHitTable_cff::iphi, mps_monitormerge::items, nano_mu_digi_cff::strip, l1tHGCalTowerProducer_cfi::tower, and ecaldqm::zside().
EcalSubdetector EcalElectronicsMapping::subdet | ( | int | dccid, |
int | mode | ||
) | const |
Definition at line 880 of file EcalElectronicsMapping.cc.
References EcalBarrel, EcalEndcap, Exception, and ALCARECOPromptCalibProdSiPixelAli0T_cff::mode.
std::vector< DetId > EcalElectronicsMapping::tccConstituents | ( | int | tccId | ) | const |
Get the constituent detids for this dccId.
Definition at line 681 of file EcalElectronicsMapping.cc.
References ecaldqm::dccId(), EcalBarrel, mps_monitormerge::items, ecaldqm::tccId(), and ecaldqm::zside().
Referenced by EcalElectronicsMapper::fillMaps().
int EcalElectronicsMapping::TCCid | ( | const EBDetId & | id | ) | const |
returns the TCCid of an EBDetId
Definition at line 87 of file EcalElectronicsMapping.cc.
References ecaldqm::zside().
Referenced by EcalTPGParamBuilder::analyze(), and TCCBlockFormatter::DigiToRaw().
int EcalElectronicsMapping::TCCid | ( | const EcalTrigTowerDetId & | id | ) | const |
returns the TCCid of a Trigger Tower
Definition at line 148 of file EcalElectronicsMapping.cc.
References EcalBarrel, EcalEndcap, Exception, hcalRecHitTable_cff::ieta, SurfaceOrientation::inner, and ecaldqm::zside().
std::vector< DetId > EcalElectronicsMapping::ttConstituents | ( | int | tccId, |
int | tt | ||
) | const |
Get the constituent detids for this dccId.
Definition at line 706 of file EcalElectronicsMapping.cc.
References ecaldqm::dccId(), EcalBarrel, mps_monitormerge::items, ecaldqm::tccId(), and ecaldqm::zside().
int EcalElectronicsMapping::zside | ( | int | dcctcc, |
int | mode | ||
) | const |
Definition at line 895 of file EcalElectronicsMapping.cc.
References Exception, and ALCARECOPromptCalibProdSiPixelAli0T_cff::mode.
|
static |
Definition at line 165 of file EcalElectronicsMapping.h.
|
static |
Definition at line 166 of file EcalElectronicsMapping.h.
|
staticprivate |
Definition at line 198 of file EcalElectronicsMapping.h.
|
static |
Definition at line 151 of file EcalElectronicsMapping.h.
|
static |
Definition at line 150 of file EcalElectronicsMapping.h.
|
static |
Definition at line 136 of file EcalElectronicsMapping.h.
|
static |
Definition at line 143 of file EcalElectronicsMapping.h.
|
static |
Definition at line 141 of file EcalElectronicsMapping.h.
|
static |
Definition at line 142 of file EcalElectronicsMapping.h.
|
static |
Definition at line 144 of file EcalElectronicsMapping.h.
|
static |
Definition at line 148 of file EcalElectronicsMapping.h.
|
static |
Definition at line 149 of file EcalElectronicsMapping.h.
|
static |
Definition at line 145 of file EcalElectronicsMapping.h.
|
static |
Definition at line 147 of file EcalElectronicsMapping.h.
|
static |
Definition at line 188 of file EcalElectronicsMapping.h.
|
static |
Definition at line 137 of file EcalElectronicsMapping.h.
|
private |
Definition at line 275 of file EcalElectronicsMapping.h.
|
private |
Definition at line 276 of file EcalElectronicsMapping.h.
|
private |
Definition at line 269 of file EcalElectronicsMapping.h.
|
static |
Definition at line 154 of file EcalElectronicsMapping.h.
|
static |
Definition at line 159 of file EcalElectronicsMapping.h.
|
static |
Definition at line 161 of file EcalElectronicsMapping.h.
|
static |
Definition at line 157 of file EcalElectronicsMapping.h.
|
static |
Definition at line 163 of file EcalElectronicsMapping.h.
|
static |
Definition at line 195 of file EcalElectronicsMapping.h.
|
static |
Definition at line 169 of file EcalElectronicsMapping.h.
Referenced by TCCBlockFormatter::DigiToRaw().
|
static |
Definition at line 174 of file EcalElectronicsMapping.h.
|
static |
Definition at line 176 of file EcalElectronicsMapping.h.
|
static |
Definition at line 172 of file EcalElectronicsMapping.h.
|
static |
Definition at line 178 of file EcalElectronicsMapping.h.
|
static |
Definition at line 155 of file EcalElectronicsMapping.h.
|
static |
Definition at line 158 of file EcalElectronicsMapping.h.
|
static |
Definition at line 160 of file EcalElectronicsMapping.h.
|
static |
Definition at line 156 of file EcalElectronicsMapping.h.
|
static |
Definition at line 162 of file EcalElectronicsMapping.h.
|
static |
Definition at line 192 of file EcalElectronicsMapping.h.
|
static |
Definition at line 193 of file EcalElectronicsMapping.h.
|
static |
Definition at line 191 of file EcalElectronicsMapping.h.
|
static |
Definition at line 194 of file EcalElectronicsMapping.h.
|
static |
Definition at line 170 of file EcalElectronicsMapping.h.
|
static |
Definition at line 173 of file EcalElectronicsMapping.h.
|
static |
Definition at line 175 of file EcalElectronicsMapping.h.
|
static |
Definition at line 171 of file EcalElectronicsMapping.h.
|
static |
Definition at line 177 of file EcalElectronicsMapping.h.
|
static |
Definition at line 180 of file EcalElectronicsMapping.h.
|
static |
Definition at line 181 of file EcalElectronicsMapping.h.
|
static |
Definition at line 183 of file EcalElectronicsMapping.h.
|
static |
Definition at line 184 of file EcalElectronicsMapping.h.
|
static |
Definition at line 185 of file EcalElectronicsMapping.h.
|
static |
Definition at line 186 of file EcalElectronicsMapping.h.
|
staticprivate |
Definition at line 199 of file EcalElectronicsMapping.h.