#include <EBDetId.h>
Public Types | |
enum | { Subdet =EcalBarrel } |
enum | { kSizeForDenseIndexing = MAX_HASH + 1 } |
Public Types inherited from DetId | |
enum | Detector { Tracker =1, Muon =2, Ecal =3, Hcal =4, Calo =5 } |
Public Member Functions | |
float | approxEta () const |
uint32_t | denseIndex () const |
EBDetId () | |
EBDetId (uint32_t rawid) | |
EBDetId (int index1, int index2, int mode=ETAPHIMODE) | |
EBDetId (const DetId &id) | |
int | hashedIndex () const |
get a compact index for arrays More... | |
int | ic () const |
get ECAL/crystal number inside SM More... | |
int | ieta () const |
get the crystal ieta More... | |
int | ietaAbs () const |
get the absolute value of the crystal ieta More... | |
int | ietaSM () const |
get the crystal ieta in the SM convention (1-85) More... | |
int | im () const |
get the number of module inside the SM (1-4) More... | |
int | iphi () const |
get the crystal iphi More... | |
int | iphiSM () const |
get the crystal iphi (1-20) More... | |
int | ism () const |
get the ECAL/SM id More... | |
int | numberByEtaPhi () const |
int | numberBySM () const |
EBDetId | offsetBy (int nrStepsEta, int nrStepsPhi) const |
EBDetId & | operator= (const DetId &id) |
bool | positiveZ () const |
EBDetId | switchZSide () const |
EcalTrigTowerDetId | tower () const |
get the HCAL/trigger iphi of this crystal More... | |
int | tower_ieta () const |
get the HCAL/trigger ieta of this crystal More... | |
int | tower_iphi () const |
get the HCAL/trigger iphi of this crystal More... | |
int | zside () const |
get the z-side of the crystal (1/-1) More... | |
Public Member Functions inherited from DetId | |
Detector | det () const |
get the detector field from this detid More... | |
DetId () | |
Create an empty or null id (also for persistence) More... | |
DetId (uint32_t id) | |
Create an id from a raw number. More... | |
DetId (Detector det, int subdet) | |
Create an id, filling the detector and subdetector fields as specified. More... | |
bool | null () const |
is this a null id ? More... | |
operator uint32_t () const | |
bool | operator!= (DetId id) const |
inequality More... | |
uint32_t | operator() () const |
bool | operator< (DetId id) const |
comparison More... | |
bool | operator== (DetId id) const |
equality More... | |
uint32_t | rawId () const |
get the raw id More... | |
int | subdetId () const |
get the contents of the subdetector field (not cast into any detector's numbering enum) More... | |
Static Public Member Functions | |
static float | approxEta (const DetId id) |
static EBDetId | detIdFromDenseIndex (uint32_t di) |
static int | distanceEta (const EBDetId &a, const EBDetId &b) |
static int | distancePhi (const EBDetId &a, const EBDetId &b) |
static bool | isNextToBoundary (EBDetId id) |
static bool | isNextToEtaBoundary (EBDetId id) |
static bool | isNextToPhiBoundary (EBDetId id) |
static DetId | offsetBy (const DetId startId, int nrStepsEta, int nrStepsPhi) |
static EcalSubdetector | subdet () |
get the subdetector .i.e EcalBarrel (what else?) More... | |
static DetId | switchZSide (const DetId startId) |
static EBDetId | unhashIndex (int hi) |
get a DetId from a compact index for arrays More... | |
static bool | validDenseIndex (uint32_t din) |
static bool | validDetId (int i, int j) |
check if a valid index combination More... | |
static bool | validHashIndex (int i) |
Static Public Attributes | |
static const float | crystalUnitToEta = 0.017453292519943295 |
static const int | ETAPHIMODE = 0 |
static const int | kChannelsPerCard = 5 |
static const int | kCrystalsInEta = 85 |
static const int | kCrystalsInPhi = 20 |
static const int | kCrystalsPerSM = 1700 |
static const int | kModuleBoundaries [4] = { 25, 45, 65, 85 } |
static const int | kModulesPerSM = 4 |
static const int | kTowersInPhi = 4 |
static const int | MAX_C = kCrystalsPerSM |
static const int | MAX_HASH = 2*MAX_IPHI*MAX_IETA-1 |
static const int | MAX_IETA = 85 |
static const int | MAX_IPHI = 360 |
static const int | MAX_SM = 36 |
static const int | MIN_C = 1 |
static const int | MIN_HASH = 0 |
static const int | MIN_IETA = 1 |
range constants More... | |
static const int | MIN_IPHI = 1 |
static const int | MIN_SM = 1 |
static const int | SMCRYSTALMODE = 1 |
Static Public Attributes inherited from DetId | |
static const int | kDetOffset = 28 |
static const int | kSubdetOffset = 25 |
Additional Inherited Members | |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Crystal identifier class for the ECAL barrel
anonymous enum |
Enumerator | |
---|---|
Subdet |
Definition at line 22 of file EBDetId.h.
anonymous enum |
|
inline |
Constructor of a null id
Definition at line 24 of file EBDetId.h.
Referenced by offsetBy(), switchZSide(), and unhashIndex().
|
inline |
EBDetId::EBDetId | ( | int | index1, |
int | index2, | ||
int | mode = ETAPHIMODE |
||
) |
Constructor from crystal ieta and iphi or from SM# and crystal#
Definition at line 20 of file EBDetId.cc.
References ETAPHIMODE, edm::hlt::Exception, i, DetId::id_, j, kCrystalsInPhi, SMCRYSTALMODE, and validDetId().
EBDetId::EBDetId | ( | const DetId & | id | ) |
Constructor from a generic cell id
Definition at line 52 of file EBDetId.cc.
References DetId::det(), DetId::Ecal, EcalBarrel, edm::hlt::Exception, DetId::id_, DetId::null(), DetId::rawId(), and DetId::subdetId().
|
inline |
return an approximate values of eta (~0.15% precise)
Definition at line 93 of file EBDetId.h.
References crystalUnitToEta, and ieta().
Referenced by approxEta(), and EcalTools::recHitApproxEt().
|
static |
Definition at line 201 of file EBDetId.cc.
References approxEta(), EcalBarrel, and DetId::subdetId().
|
inline |
Definition at line 75 of file EBDetId.h.
References hashedIndex().
Referenced by EcalDQMBinningService::findBinsCrystal_().
|
inlinestatic |
Definition at line 98 of file EBDetId.h.
References unhashIndex().
Referenced by CaloGenericDetId::CaloGenericDetId(), EBHitResponse::EBHitResponse(), EcalTPSkimmer::produce(), and EBHitResponse::run().
Definition at line 185 of file EBDetId.cc.
Referenced by EcalClusterSeverityLevelAlgo::closestProblematic(), EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic(), ggPFClusters::Fill5x5Map(), and PFPhotonClusters::FillClusterShape().
Definition at line 193 of file EBDetId.cc.
Referenced by EcalClusterSeverityLevelAlgo::closestProblematic(), EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic(), ggPFClusters::Fill5x5Map(), and PFPhotonClusters::FillClusterShape().
|
inline |
get a compact index for arrays
Definition at line 73 of file EBDetId.h.
References numberByEtaPhi().
Referenced by EcalGetLaserData::analyze(), EcalPulseShapeGrapher::analyze(), EcalURecHitHists::analyze(), CaloGeometryHelper::buildCrystalArray(), CaloGeometryHelper::buildNeighbourArray(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), popcon::EcalChannelStatusHandler::daqOut(), denseIndex(), ecalEnergyInCone(), PFRecHitProducerECAL::ecalNeighbArray(), CalorimetryManager::EMShowerSimulation(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), CaloGeometryHelper::getNeighbours(), popcon::EcalPedestalsHandler::getNewObjectsP5(), ecalpyutils::hashedIndex(), CalorimetryManager::HDShowerSimulation(), EcalBarrelRecHitsMaker::init(), popcon::EcalChannelStatusHandler::laserAnalysis(), CaloGeometryHelper::move(), PFRecHitProducerECAL::move(), CalorimetryManager::MuonMipSimulation(), popcon::EcalChannelStatusHandler::pedAnalysis(), AlCaIsoTracksProducer::produce(), EcalUncalibRecHitWorkerRatio::run(), EcalUncalibRecHitWorkerWeights::run(), and EcalUncalibRecHitWorkerGlobal::run().
int EBDetId::ic | ( | ) | const |
get ECAL/crystal number inside SM
Definition at line 94 of file EBDetId.cc.
References ietaAbs(), iphi(), kCrystalsInPhi, and zside().
Referenced by EBCosmicTask::analyze(), EBLaserTask::analyze(), EBOccupancyTask::analyze(), EBPedestalOnlineTask::analyze(), EBPedestalTask::analyze(), EcalBarrelMonitorModule::analyze(), EBTestPulseTask::analyze(), EBIntegrityTask::analyze(), EBTimingTask::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalURecHitHists::analyze(), TreeProducerCalibSimul::analyze(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), EcalTBEventHeader::crystalInBeam(), EcalTBReadout::findTTlist(), iphiSM(), popcon::EcalChannelStatusHandler::laserAnalysis(), EcalTBEventHeader::nextCrystalInBeam(), EcalTBEventHeader::nominalCrystalInBeam(), numberBySM(), popcon::EcalChannelStatusHandler::pedAnalysis(), EcalPedOffset::readDACs(), EcalPedHists::readEBdigis(), and EcalUncalibRecHitWorkerFixedAlphaBetaFit::run().
|
inline |
get the crystal ieta
Definition at line 44 of file EBDetId.h.
References ietaAbs(), and zside().
Referenced by JetToDigiDump::analyze(), EcalTBValidation::analyze(), EBOccupancyTask::analyze(), EBClusterTask::analyze(), EBClusterTaskExtras::analyze(), DQMSourceEleCalib::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalBarrelDigisValidation::analyze(), EcalBarrelRecHitsValidation::analyze(), EBRecoSummary::analyze(), HLTAlCaMonPi0::analyze(), DQMSourcePi0::analyze(), PhiSymmetryCalibration::analyze(), EcalRecHitsValidation::analyze(), EcalDigisValidation::analyze(), TreeProducerCalibSimul::analyze(), HLTAlCa::analyze(), EcalCosmicsHists::analyze(), EcalMixingModuleValidation::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), approxEta(), HLTEcalResonanceFilter::calcShowerShape(), EcalHaloAlgo::Calculate(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), EcalDQMBinningService::channelName(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasDeadNeighbour(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasInvalidNeighbour(), EcalDeadChannelRecoveryAlgos::correct(), EcalGlobalShowerContainmentCorrectionsVsEta::correction(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), EBSelectiveReadoutTask::dccNum(), distanceEta(), popcon::EcalLaserHandler::dumpBarrelPayload(), InvRingCalib::duringLoop(), Pi0FixedMassWindowCalibration::duringLoop(), ZeeCalibration::duringLoop(), PhiSymmetryCalibration_step2::endJob(), PhiSymmetryCalibration_step2_SM::endJob(), ElectronCalibrationUniv::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), EcalEleCalibLooper::endOfLoop(), Pi0FixedMassWindowCalibration::endOfLoop(), ZeeCalibration::endOfLoop(), ggPFClusters::Fill5x5Map(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), PFPhotonClusters::FillClusterShape(), MatrixFillMap::fillEBMap(), FastL1Region::FillEMCrystals(), ECALRecHitAnalyzer::FillGeometry(), EcalRecHitsFilter::filter(), EcalDQMBinningService::findBinsProjEta_(), TrackDetMatchInfo::findMaxDeposition(), EcalTBReadout::findTTlist(), CalibrationCluster::get3x3Id(), CalibrationCluster::get5x5Id(), EcalBarrelGeometry::getClosestCell(), EcalClusterTools::getIEta(), PhotonMIPHaloTagger::GetMipTrailFit(), EcalRingCalibrationTools::getRingIndex(), PhotonMIPHaloTagger::GetSeedHighestE(), EcalClusterTools::getSeedPosition(), EcalClusterLocalContCorrection::getValue(), EcalBasicClusterLocalContCorrection::getValue(), EcalClusterCrackCorrection::getValue(), ecalpyutils::hashedIndexToEtaPhi(), DetIdInfo::info(), fireworks::info(), isNextToEtaBoundary(), EcalClusterLocal::localCoordsEB(), ggPFClusters::localCoordsEB(), EcalDisplaysByEvent::makeHistos(), EcalDeadChannelRecoveryAlgos::MakeNxNMatrice(), PiZeroAnalyzer::makePizero(), TrackDetMatchInfo::nXnEnergy(), offsetBy(), EBDetIdSorter::operator()(), PFPhotonClusters::PFCrystalCoor(), EcalShowerProperties::processEcalRecHits(), AlCaIsoTracksProducer::produce(), AlCaECALRecHitReducer::produce(), ecaldqm::LaserTask::runOnUncalibRecHits(), EcalGeomPhiSymHelper::setup(), EcalTools::swissCross(), switchZSide(), CaloGenericDetId::validDetId(), xuti::writeCell(), ECALRecHitAnalyzer::WriteECALRecHits(), Pi0CalibXMLwriter::writeLine(), calibXMLwriter::writeLine(), and ZeeCalibration::xtalIsOnModuleBorder().
|
inline |
get the absolute value of the crystal ieta
Definition at line 42 of file EBDetId.h.
References DetId::id_.
Referenced by EcalBarrelSimHitsValidation::analyze(), EcalRecHitsValidation::analyze(), GsfElectronAlgo::createElectron(), EcalElectronicsMapping::getElectronicsId(), ic(), ieta(), ietaSM(), im(), EcalBarrelRecHitsMaker::init(), EcalBarrelRecHitsMaker::loadPCaloHits(), EcalBarrelRecHitsMaker::noisifyTriggerTower(), numberByEtaPhi(), EcalBarrelRecHitsMaker::randomNoisifier(), spr::simpleMove(), PFRecHitProducerECAL::stdsimplemove(), tower_ieta(), and EcalSimHitsValidProducer::update().
|
inline |
get the crystal ieta in the SM convention (1-85)
Definition at line 60 of file EBDetId.h.
References ietaAbs().
Referenced by EcalCosmicsHists::analyze(), and EcalElectronicsMapping::getLMNumber().
int EBDetId::im | ( | ) | const |
get the number of module inside the SM (1-4)
Definition at line 85 of file EBDetId.cc.
References i, ietaAbs(), and kModuleBoundaries.
Referenced by CaloGeometryHelper::borderCrossing(), EcalClusterTools::energyBasketFractionEta(), and EcalRingCalibrationTools::getModuleIndex().
|
inline |
get the crystal iphi
Definition at line 46 of file EBDetId.h.
References DetId::id_.
Referenced by JetToDigiDump::analyze(), EcalTBValidation::analyze(), EBClusterTask::analyze(), EBClusterTaskExtras::analyze(), DQMSourceEleCalib::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalBarrelDigisValidation::analyze(), HLTAlCaMonPi0::analyze(), DQMSourcePi0::analyze(), PhiSymmetryCalibration::analyze(), EcalRecHitsValidation::analyze(), EcalDigisValidation::analyze(), TreeProducerCalibSimul::analyze(), HLTAlCa::analyze(), EcalCosmicsHists::analyze(), EcalMixingModuleValidation::analyze(), HLTEcalResonanceFilter::calcShowerShape(), EcalHaloAlgo::Calculate(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), EcalDQMBinningService::channelName(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasDeadNeighbour(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasInvalidNeighbour(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), EBSelectiveReadoutTask::dccNum(), distancePhi(), popcon::EcalLaserHandler::dumpBarrelPayload(), InvRingCalib::duringLoop(), Pi0FixedMassWindowCalibration::duringLoop(), ZeeCalibration::duringLoop(), PhiSymmetryCalibration_step2::endJob(), PhiSymmetryCalibration_step2_SM::endJob(), ElectronCalibrationUniv::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), EcalEleCalibLooper::endOfLoop(), Pi0FixedMassWindowCalibration::endOfLoop(), ZeeCalibration::endOfLoop(), EcalClusterTools::energyBasketFractionPhi(), ggPFClusters::Fill5x5Map(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), PFPhotonClusters::FillClusterShape(), MatrixFillMap::fillEBMap(), FastL1Region::FillEMCrystals(), EcalRecHitsFilter::filter(), EcalDQMBinningService::findBinsProjPhi_(), TrackDetMatchInfo::findMaxDeposition(), EcalTBReadout::findTTlist(), CalibrationCluster::get3x3Id(), CalibrationCluster::get5x5Id(), EcalBarrelGeometry::getClosestCell(), EcalElectronicsMapping::getElectronicsId(), EcalClusterTools::getIPhi(), PhotonMIPHaloTagger::GetMipTrailFit(), PhotonMIPHaloTagger::GetSeedHighestE(), EcalClusterLocalContCorrection::getValue(), EcalBasicClusterLocalContCorrection::getValue(), EcalClusterCrackCorrection::getValue(), ecalpyutils::hashedIndexToEtaPhi(), ic(), DetIdInfo::info(), fireworks::info(), ism(), isNextToPhiBoundary(), EcalClusterLocal::localCoordsEB(), ggPFClusters::localCoordsEB(), EcalDisplaysByEvent::makeHistos(), EcalDeadChannelRecoveryAlgos::MakeNxNMatrice(), PiZeroAnalyzer::makePizero(), numberByEtaPhi(), TrackDetMatchInfo::nXnEnergy(), offsetBy(), EBDetIdSorter::operator()(), PFPhotonClusters::PFCrystalCoor(), EcalShowerProperties::processEcalRecHits(), AlCaIsoTracksProducer::produce(), AlCaECALRecHitReducer::produce(), ecaldqm::LaserTask::runOnUncalibRecHits(), EcalGeomPhiSymHelper::setup(), switchZSide(), tower_iphi(), EcalSimHitsValidProducer::update(), CaloGenericDetId::validDetId(), xuti::writeCell(), ECALRecHitAnalyzer::WriteECALRecHits(), Pi0CalibXMLwriter::writeLine(), calibXMLwriter::writeLine(), and ZeeCalibration::xtalIsOnModuleBorder().
|
inline |
get the crystal iphi (1-20)
Definition at line 62 of file EBDetId.h.
References ic(), and kCrystalsInPhi.
Referenced by EcalCosmicsHists::analyze(), and EcalElectronicsMapping::getLMNumber().
int EBDetId::ism | ( | ) | const |
get the ECAL/SM id
Definition at line 79 of file EBDetId.cc.
References errorMatrix2Lands_multiChannel::id, iphi(), kCrystalsInPhi, and zside().
Referenced by JetToDigiDump::analyze(), EcalTBValidation::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalBarrelRecHitsValidation::analyze(), EcnaAnalyzer::analyze(), CaloGeometryHelper::borderCrossing(), EcalRingCalibrationTools::getModuleIndex(), ecalpyutils::ism(), numberBySM(), and EcalUncalibRecHitWorkerFixedAlphaBetaFit::run().
|
static |
Definition at line 171 of file EBDetId.cc.
References isNextToEtaBoundary(), and isNextToPhiBoundary().
Referenced by EcalCleaningAlgo::isNearCrack(), and isNextToBoundary().
|
static |
Definition at line 175 of file EBDetId.cc.
References ieta(), and kModuleBoundaries.
Referenced by PhotonIsolationCalculator::classify(), GsfElectronAlgo::createElectron(), and isNextToBoundary().
|
static |
Definition at line 180 of file EBDetId.cc.
References iphi().
Referenced by PhotonIsolationCalculator::classify(), GsfElectronAlgo::createElectron(), and isNextToBoundary().
|
inline |
Definition at line 67 of file EBDetId.h.
References ietaAbs(), iphi(), MAX_IETA, MAX_IPHI, and positiveZ().
Referenced by hashedIndex().
int EBDetId::numberBySM | ( | ) | const |
EBDetId EBDetId::offsetBy | ( | int | nrStepsEta, |
int | nrStepsPhi | ||
) | const |
returns a new EBDetId offset by nrStepsEta and nrStepsPhi (can be negative), returns EBDetId(0) if invalid
Definition at line 111 of file EBDetId.cc.
References EBDetId(), ieta(), iphi(), and validDetId().
Referenced by EcalTools::deadNeighbour(), EcalCleaningAlgo::neighbours(), offsetBy(), and EcalTools::recHitE().
following are static member functions of the above two functions which take and return a DetId, returns DetId(0) if invalid
Definition at line 143 of file EBDetId.cc.
References DetId::det(), DetId::DetId(), DetId::Ecal, EcalBarrel, offsetBy(), DetId::rawId(), and DetId::subdetId().
Assignment operator from cell id
Definition at line 70 of file EBDetId.cc.
References DetId::det(), DetId::Ecal, EcalBarrel, edm::hlt::Exception, DetId::id_, DetId::null(), DetId::rawId(), and DetId::subdetId().
|
inline |
Definition at line 65 of file EBDetId.h.
References DetId::id_.
Referenced by EcalClusterTools::energyBasketFractionEta(), EcalClusterTools::energyBasketFractionPhi(), and numberByEtaPhi().
|
inlinestatic |
get the subdetector .i.e EcalBarrel (what else?)
Definition at line 37 of file EBDetId.h.
References EcalBarrel.
EBDetId EBDetId::switchZSide | ( | ) | const |
returns a new EBDetId on the other zside of barrel (ie iEta*-1), returns EBDetId(0) if invalid (shouldnt happen)
Definition at line 132 of file EBDetId.cc.
References EBDetId(), ieta(), iphi(), and validDetId().
Referenced by ecaldqm::TimingClient::producePlots(), and switchZSide().
Definition at line 153 of file EBDetId.cc.
References DetId::det(), DetId::DetId(), DetId::Ecal, EcalBarrel, DetId::rawId(), DetId::subdetId(), and switchZSide().
|
inline |
get the HCAL/trigger iphi of this crystal
Definition at line 52 of file EBDetId.h.
References abs, EcalBarrel, tower_ieta(), tower_iphi(), and zside().
Referenced by testEcalTPGScale::analyze(), EcalTrigPrimAnalyzer::analyze(), EcalRecHitsValidation::analyze(), ecaldqm::DQWorkerClient::fillQuality_(), EcalElectronicsMapping::getElectronicsId(), EcalDetIdToBeRecoveredProducer::produce(), EBSelectiveReadoutTask::readOutUnitOf(), ecaldqm::towerId(), EcalTrigTowerConstituentsMap::towerOf(), and ecaldqm::ttId().
|
inline |
get the HCAL/trigger ieta of this crystal
Definition at line 48 of file EBDetId.h.
References ietaAbs(), and zside().
Referenced by FastL1Region::FillEMCrystals(), DetIdInfo::info(), fireworks::info(), tower(), and CaloTowerConstituentsMap::towerOf().
int EBDetId::tower_iphi | ( | ) | const |
get the HCAL/trigger iphi of this crystal
Definition at line 164 of file EBDetId.cc.
References iphi().
Referenced by FastL1Region::FillEMCrystals(), DetIdInfo::info(), fireworks::info(), tower(), and CaloTowerConstituentsMap::towerOf().
|
static |
get a DetId from a compact index for arrays
Definition at line 12 of file EBDetId.cc.
References EBDetId(), MAX_IETA, MAX_IPHI, and validHashIndex().
Referenced by detIdFromDenseIndex(), popcon::EcalLaserHandler::dumpBarrelPayload(), EcalPedestalsXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), EcalEleCalibLooper::EBRegionDefinition(), EcalEleCalibLooper::EcalEleCalibLooper(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), ecalpyutils::hashedIndexToEtaPhi(), CalorimetryManager::loadFromEcalBarrel(), main(), popcon::EcalLaserHandler::notifyProblems(), printStatusRecords(), EcalBarrelRecHitsMaker::randomNoisifier(), StoreEcalCondition::readEcalChannelStatusFromFile(), and EcalDQMStatusWriter::readEcalDQMChannelStatusFromFile().
|
inlinestatic |
Definition at line 96 of file EBDetId.h.
References kSizeForDenseIndexing.
Referenced by EcalTPSkimmer::produce().
|
static |
check if a valid index combination
Definition at line 59 of file EBDetId.cc.
References MAX_IETA, MAX_IPHI, and TrackValidation_HighPurity_cff::valid.
Referenced by EcalTBValidation::analyze(), EBCosmicTask::analyze(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasDeadNeighbour(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasInvalidNeighbour(), EcalBarrelTopology::decrementIeta(), EcalBarrelTopology::decrementIphi(), EBDetId(), ZeeCalibration::endOfJob(), spr::extraIds(), MatrixFillMap::fillEBMap(), EcalNextToDeadChannelESProducer::findNextToDeadChannelsCallback(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalDeadCellTriggerPrimitiveFilter::getChannelStatusMaps(), EcalDeadCellDeltaRFilter::getChannelStatusMaps(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), EcalBarrelTopology::incrementIeta(), EcalBarrelTopology::incrementIphi(), offsetBy(), CaloMiscalibMapEcal::print(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalDQMChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibConstantsMC(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), switchZSide(), and CaloGenericDetId::validDetId().
|
inlinestatic |
|
inline |
get the z-side of the crystal (1/-1)
Definition at line 40 of file EBDetId.h.
References DetId::id_.
Referenced by EBClusterTask::analyze(), EBClusterTaskExtras::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalRecHitsValidation::analyze(), Pi0FixedMassWindowCalibration::duringLoop(), PhiSymmetryCalibration_step2::endJob(), PhiSymmetryCalibration_step2_SM::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), Pi0FixedMassWindowCalibration::endOfLoop(), ic(), ieta(), ism(), EcalGeomPhiSymHelper::setup(), tower(), tower_ieta(), and EcalSimHitsValidProducer::update().
|
static |
Definition at line 139 of file EBDetId.h.
Referenced by approxEta().
|
static |
Definition at line 145 of file EBDetId.h.
Referenced by EcalTBValidation::analyze(), EBCosmicTask::analyze(), EcalSimpleTBAnalyzer::analyze(), TreeProducerCalibSimul::analyze(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasDeadNeighbour(), EcalTrigTowerConstituentsMap::constituentsOf(), EcalElectronicsMapping::dccTowerConstituents(), EBDetId(), ElectronCalibration::endJob(), MatrixFillMap::fillEBMap(), CalibrationCluster::get3x3Id(), CalibrationCluster::get5x5Id(), EcalDeadCellTriggerPrimitiveFilter::getChannelStatusMaps(), EcalDeadCellDeltaRFilter::getChannelStatusMaps(), EcalBarrelGeometry::getClosestCell(), EcalElectronicsMapping::getDetId(), CalibrationCluster::getMap(), popcon::EcalPedestalsHandler::getNewObjectsP5(), Numbers::iTCC(), EcalRecHitProducer::produce(), StoreEcalCondition::readEcalGainRatiosFromFile(), and EcalElectronicsMapping::stripConstituents().
|
static |
|
static |
Definition at line 130 of file EBDetId.h.
Referenced by Numbers::indexEB(), and numberBySM().
|
static |
Definition at line 127 of file EBDetId.h.
Referenced by im(), and isNextToEtaBoundary().
|
static |
Definition at line 126 of file EBDetId.h.
Referenced by EcalClusterTools::energyBasketFractionEta(), and EcalShowerContainmentCorrections::fillCorrectionCoefficients().
|
static |
Definition at line 125 of file EBDetId.h.
Referenced by EcalClusterTools::energyBasketFractionPhi().
|
static |
Definition at line 136 of file EBDetId.h.
Referenced by EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), and validHashIndex().
|
static |
Definition at line 122 of file EBDetId.h.
Referenced by EcalGetLaserData::analyze(), CaloTowerConstituentsMap::constituentsOf(), EcalBarrelHardcodedTopology::decrementIeta(), EcalTPGCrystalStatusXMLTranslator::dumpXML(), ZeeCalibration::endOfJob(), EcalNextToDeadChannelESProducer::findNextToDeadChannelsCallback(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalTBWeights(), EcalTestDevDB::generateEcalWeightXtalGroups(), EcalBarrelGeometry::getCells(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalRingCalibrationTools::getDetIdsInECAL(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), EcalBarrelHardcodedTopology::incrementIeta(), numberByEtaPhi(), cond::PayLoadInspector< DataT >::plot(), CaloMiscalibMapEcal::prefillMap(), CaloMiscalibMapEcal::print(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalDQMChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibConstantsMC(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), spr::simpleMove(), PFRecHitProducerECAL::stdsimplemove(), cond::PayLoadInspector< DataT >::summary(), unhashIndex(), and validDetId().
|
static |
Definition at line 123 of file EBDetId.h.
Referenced by EcalGetLaserData::analyze(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), EcalBarrelHardcodedTopology::decrementIphi(), EcalBarrelTopology::decrementIphi(), EcalTPGCrystalStatusXMLTranslator::dumpXML(), ZeeCalibration::endOfJob(), EcalClusterTools::energyBasketFractionPhi(), EcalNextToDeadChannelESProducer::findNextToDeadChannelsCallback(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalWeightXtalGroups(), EcalBarrelGeometry::getCells(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalBarrelGeometry::getClosestCell(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), EcalBarrelHardcodedTopology::incrementIphi(), EcalBarrelTopology::incrementIphi(), numberByEtaPhi(), cond::PayLoadInspector< DataT >::plot(), CaloMiscalibMapEcal::prefillMap(), CaloMiscalibMapEcal::print(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalDQMChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibConstantsMC(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), cond::PayLoadInspector< DataT >::summary(), unhashIndex(), and validDetId().
|
static |
Definition at line 132 of file EBDetId.h.
Referenced by EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), and EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration().
|
static |
Definition at line 135 of file EBDetId.h.
Referenced by EcalPedestalsXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), and EcalWeightGroupXMLTranslator::dumpXML().
|
static |
Definition at line 121 of file EBDetId.h.
Referenced by EcalGetLaserData::analyze(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), EcalBarrelHardcodedTopology::decrementIphi(), EcalBarrelTopology::decrementIphi(), ZeeCalibration::endOfJob(), EcalNextToDeadChannelESProducer::findNextToDeadChannelsCallback(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalWeightXtalGroups(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalBarrelGeometry::getClosestCell(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), EcalBarrelHardcodedTopology::incrementIphi(), EcalBarrelTopology::incrementIphi(), CaloMiscalibMapEcal::prefillMap(), CaloMiscalibMapEcal::print(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalDQMChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibConstantsMC(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), and StoreEcalCondition::readEcalChannelStatusFromFile().
|
static |
Definition at line 131 of file EBDetId.h.
Referenced by EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), and EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration().
|
static |
Definition at line 146 of file EBDetId.h.
Referenced by EcalTBValidation::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), TreeProducerCalibSimul::analyze(), EcalTPGParamBuilder::analyze(), EcalDQMStatusReader::beginRun(), TBPositionCalc::CalculateCMSPos(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), popcon::EcalChannelStatusHandler::daqOut(), EcalBarrelGeometry::detIdFromLocalAlignmentIndex(), EBDetId(), EcalShowerContainmentCorrections::fillCorrectionCoefficients(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGBadXTHandler::getNewObjects(), popcon::EcalTPGFineGrainEBGroupHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::getNewObjects(), popcon::EcalTPGLutGroupHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration(), TableDataFormatter::interpretRawData(), popcon::EcalChannelStatusHandler::laserAnalysis(), popcon::EcalChannelStatusHandler::laserMasking(), Masks::maskChannel(), popcon::EcalChannelStatusHandler::nBadLaserModules(), popcon::EcalChannelStatusHandler::pedAnalysis(), popcon::EcalChannelStatusHandler::pedMasking(), popcon::EcalChannelStatusHandler::pedOnlineMasking(), popcon::EcalChannelStatusHandler::physicsMasking(), FakeTBEventHeaderProducer::produce(), EcalShowerContainmentCorrectionsESProducer::produce(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), StoreEcalCondition::readEcalChannelStatusFromFile(), EcalDQMStatusWriter::readEcalDQMChannelStatusFromFile(), StoreEcalCondition::readEcalGainRatiosFromFile(), StoreEcalCondition::readEcalIntercalibConstantsFromFile(), StoreEcalCondition::readEcalIntercalibConstantsMCFromFile(), and StoreEcalCondition::readEcalWeightXtalGroupsFromFile().