#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 crystal_ieta, int crystal_iphi) | |
EBDetId (int index1, int index2, int mode) | |
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 |
|
inline |
Constructor from crystal ieta and iphi or from SM# and crystal#
Definition at line 30 of file EBDetId.h.
References DetId::id_.
EBDetId::EBDetId | ( | int | index1, |
int | index2, | ||
int | mode | ||
) |
Definition at line 11 of file EBDetId.cc.
References ETAPHIMODE, edm::hlt::Exception, i, DetId::id_, j, kCrystalsInPhi, SMCRYSTALMODE, and validDetId().
|
inline |
|
inline |
return an approximate values of eta (~0.15% precise)
Definition at line 107 of file EBDetId.h.
References crystalUnitToEta, and ieta().
Referenced by approxEta(), EnergyResolutionVsLumi::calcmuTot(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalPedestals(), and EcalTools::recHitApproxEt().
|
static |
Definition at line 153 of file EBDetId.cc.
References approxEta(), EcalBarrel, and DetId::subdetId().
|
inline |
Definition at line 89 of file EBDetId.h.
References hashedIndex().
Referenced by EcalDQMBinningService::findBinsCrystal_().
|
inlinestatic |
Definition at line 112 of file EBDetId.h.
References unhashIndex().
Referenced by CaloGenericDetId::CaloGenericDetId(), EBHitResponse::EBHitResponse(), EBHitResponse::finalizeHits(), EcalTPSkimmer::produce(), and EBHitResponse::run().
Definition at line 135 of file EBDetId.cc.
Referenced by EcalClusterSeverityLevelAlgo::closestProblematic(), EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic(), and PFPhotonClusters::FillClusterShape().
Definition at line 143 of file EBDetId.cc.
References abs, iphi(), PI, and query::result.
Referenced by EcalClusterSeverityLevelAlgo::closestProblematic(), EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic(), and PFPhotonClusters::FillClusterShape().
|
inline |
get a compact index for arrays
Definition at line 87 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(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), CaloGeometryHelper::getNeighbours(), popcon::EcalLaser_weekly_Linearization_Check::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), ecalpyutils::hashedIndex(), EcalBarrelRecHitsMaker::init(), popcon::EcalChannelStatusHandler::laserAnalysis(), CaloGeometryHelper::move(), PFRecHitProducerECAL::move(), 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 46 of file EBDetId.cc.
References ietaAbs(), iphi(), kCrystalsInPhi, and positiveZ().
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 52 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(), EnergyResolutionVsLumi::calcLightCollectionEfficiencyWeighted(), 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(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), PFPhotonClusters::FillClusterShape(), MatrixFillMap::fillEBMap(), FastL1Region::FillEMCrystals(), ECALRecHitAnalyzer::FillGeometry(), EcalRecHitsFilter::filter(), EcalDQMBinningService::findBinsProjEta_(), TrackDetMatchInfo::findMaxDeposition(), EcalTBReadout::findTTlist(), CalibrationCluster::get3x3Id(), CalibrationCluster::get5x5Id(), 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(), 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 50 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 74 of file EBDetId.h.
References ietaAbs().
Referenced by EcalCosmicsHists::analyze(), and EcalElectronicsMapping::getLMNumber().
|
inline |
get the number of module inside the SM (1-4)
Definition at line 67 of file EBDetId.h.
References ietaAbs(), and cuy::ii.
Referenced by CaloGeometryHelper::borderCrossing(), EcalClusterTools::energyBasketFractionEta(), and EcalRingCalibrationTools::getModuleIndex().
|
inline |
get the crystal iphi
Definition at line 54 of file EBDetId.h.
References DetId::id_.
Referenced by JetToDigiDump::analyze(), EcalTBValidation::analyze(), EBClusterTask::analyze(), EBClusterTaskExtras::analyze(), DQMSourceEleCalib::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalBarrelDigisValidation::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalBarrelRecHitsValidation::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(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), PFPhotonClusters::FillClusterShape(), MatrixFillMap::fillEBMap(), FastL1Region::FillEMCrystals(), EcalRecHitsFilter::filter(), EcalDQMBinningService::findBinsProjPhi_(), TrackDetMatchInfo::findMaxDeposition(), EcalTBReadout::findTTlist(), CalibrationCluster::get3x3Id(), CalibrationCluster::get5x5Id(), 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(), 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 76 of file EBDetId.h.
References ic(), and kCrystalsInPhi.
Referenced by EcalCosmicsHists::analyze(), and EcalElectronicsMapping::getLMNumber().
|
inline |
get the ECAL/SM id
Definition at line 62 of file EBDetId.h.
References iphi(), kCrystalsInPhi, and positiveZ().
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 121 of file EBDetId.cc.
References isNextToEtaBoundary(), and isNextToPhiBoundary().
Referenced by EcalCleaningAlgo::isNearCrack(), and isNextToBoundary().
|
static |
Definition at line 125 of file EBDetId.cc.
References spr::find(), ieta(), and kModuleBoundaries.
Referenced by PhotonIsolationCalculator::classify(), GsfElectronAlgo::createElectron(), and isNextToBoundary().
|
static |
Definition at line 130 of file EBDetId.cc.
References iphi().
Referenced by PhotonIsolationCalculator::classify(), GsfElectronAlgo::createElectron(), and isNextToBoundary().
|
inline |
Definition at line 81 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 61 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 93 of file EBDetId.cc.
References DetId::det(), DetId::DetId(), DetId::Ecal, EcalBarrel, offsetBy(), DetId::rawId(), and DetId::subdetId().
|
inline |
Definition at line 79 of file EBDetId.h.
References DetId::id_.
Referenced by EcalClusterTools::energyBasketFractionEta(), EcalClusterTools::energyBasketFractionPhi(), ic(), ism(), and numberByEtaPhi().
|
inlinestatic |
get the subdetector .i.e EcalBarrel (what else?)
Definition at line 45 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 82 of file EBDetId.cc.
References EBDetId(), ieta(), iphi(), and validDetId().
Referenced by ecaldqm::TimingClient::producePlots(), and switchZSide().
Definition at line 103 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 60 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 56 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 114 of file EBDetId.cc.
References iphi().
Referenced by FastL1Region::FillEMCrystals(), DetIdInfo::info(), fireworks::info(), tower(), and CaloTowerConstituentsMap::towerOf().
|
inlinestatic |
get a DetId from a compact index for arrays
Definition at line 115 of file EBDetId.h.
References EBDetId(), MAX_IETA, MAX_IPHI, and validHashIndex().
Referenced by detIdFromDenseIndex(), popcon::EcalLaserHandler::dumpBarrelPayload(), EcalPedestalsXMLTranslator::dumpXML(), EcalTPGLinearizationConstXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalLinearCorrectionsXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), EcalEleCalibLooper::EBRegionDefinition(), EcalEleCalibLooper::EcalEleCalibLooper(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), popcon::EcalLaser_weekly_Handler::getNewObjects(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), ecalpyutils::hashedIndexToEtaPhi(), CalorimetryManager::loadFromEcalBarrel(), main(), popcon::EcalLaserHandler::notifyProblems(), printStatusRecords(), EcalBarrelRecHitsMaker::randomNoisifier(), StoreEcalCondition::readEcalChannelStatusFromFile(), and EcalDQMStatusWriter::readEcalDQMChannelStatusFromFile().
|
inlinestatic |
Definition at line 110 of file EBDetId.h.
References kSizeForDenseIndexing.
Referenced by EcalTPSkimmer::produce().
|
inlinestatic |
check if a valid index combination
Definition at line 125 of file EBDetId.h.
References abs, MAX_IETA, MAX_IPHI, and MIN_IPHI.
Referenced by EcalTBValidation::analyze(), EBCosmicTask::analyze(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasDeadNeighbour(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasInvalidNeighbour(), EBDetId(), ZeeCalibration::endOfJob(), spr::extraIds(), MatrixFillMap::fillEBMap(), EcalNextToDeadChannelESProducer::findNextToDeadChannelsCallback(), EcalTestDevDB::generateEcalLinearCorrections(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalDeadCellTriggerPrimitiveFilter::getChannelStatusMaps(), EcalDeadCellDeltaRFilter::getChannelStatusMaps(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), offsetBy(), CaloMiscalibMapEcal::print(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalDQMChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibConstantsMC(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalLinearCorrections(), 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 48 of file EBDetId.h.
References DetId::id_.
Referenced by EBClusterTask::analyze(), EBClusterTaskExtras::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalRecHitsValidation::analyze(), Pi0FixedMassWindowCalibration::duringLoop(), PhiSymmetryCalibration_step2_SM::endJob(), PhiSymmetryCalibration_step2::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), Pi0FixedMassWindowCalibration::endOfLoop(), ieta(), EcalGeomPhiSymHelper::setup(), tower(), tower_ieta(), and EcalSimHitsValidProducer::update().
|
static |
Definition at line 161 of file EBDetId.h.
Referenced by approxEta().
|
static |
Definition at line 167 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(), EcalElectronicsMapping::getDetId(), CalibrationCluster::getMap(), popcon::EcalPedestalsHandler::getNewObjectsP5(), Numbers::iTCC(), EcalRecHitProducer::produce(), StoreEcalCondition::readEcalGainRatiosFromFile(), and EcalElectronicsMapping::stripConstituents().
|
static |
|
static |
Definition at line 152 of file EBDetId.h.
Referenced by Numbers::indexEB(), and numberBySM().
|
static |
Definition at line 149 of file EBDetId.h.
Referenced by isNextToEtaBoundary().
|
static |
Definition at line 148 of file EBDetId.h.
Referenced by EcalClusterTools::energyBasketFractionEta(), and EcalShowerContainmentCorrections::fillCorrectionCoefficients().
|
static |
Definition at line 147 of file EBDetId.h.
Referenced by EcalClusterTools::energyBasketFractionPhi().
|
static |
Definition at line 158 of file EBDetId.h.
Referenced by EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), and validHashIndex().
|
static |
Definition at line 144 of file EBDetId.h.
Referenced by EcalGetLaserData::analyze(), EnergyResolutionVsLumi::calcLightCollectionEfficiencyWeighted(), EnergyResolutionVsLumi::calcmuTot(), CaloTowerConstituentsMap::constituentsOf(), EcalTPGCrystalStatusXMLTranslator::dumpXML(), ZeeCalibration::endOfJob(), EcalNextToDeadChannelESProducer::findNextToDeadChannelsCallback(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTestDevDB::generateEcalLinearCorrections(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalTBWeights(), EcalTestDevDB::generateEcalWeightXtalGroups(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), 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::produceEcalLinearCorrections(), 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 145 of file EBDetId.h.
Referenced by EcalGetLaserData::analyze(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), EcalTPGCrystalStatusXMLTranslator::dumpXML(), ZeeCalibration::endOfJob(), EcalClusterTools::energyBasketFractionPhi(), PFPhotonClusters::FillClusterShape(), EcalNextToDeadChannelESProducer::findNextToDeadChannelsCallback(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTestDevDB::generateEcalLinearCorrections(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalWeightXtalGroups(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), 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::produceEcalLinearCorrections(), 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 154 of file EBDetId.h.
Referenced by EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), and EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration().
|
static |
Definition at line 157 of file EBDetId.h.
Referenced by EcalPedestalsXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalTPGLinearizationConstXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalLinearCorrectionsXMLTranslator::dumpXML(), and EcalLaserAPDPNRatiosXMLTranslator::dumpXML().
|
static |
Definition at line 143 of file EBDetId.h.
Referenced by EcalGetLaserData::analyze(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), ZeeCalibration::endOfJob(), EcalNextToDeadChannelESProducer::findNextToDeadChannelsCallback(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTestDevDB::generateEcalLinearCorrections(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalWeightXtalGroups(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), CaloMiscalibMapEcal::prefillMap(), CaloMiscalibMapEcal::print(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalDQMChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibConstantsMC(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalLinearCorrections(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), and validDetId().
|
static |
Definition at line 153 of file EBDetId.h.
Referenced by EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), and EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration().
|
static |
Definition at line 168 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(), EBDetId(), EcalShowerContainmentCorrections::fillCorrectionCoefficients(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), popcon::EcalLaser_weekly_Linearization_Check::getNewObjects(), popcon::EcalTPGBadTTHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::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().