#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, Forward =6, VeryForward =7 } |
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_ |
anonymous enum |
Enumerator | |
---|---|
Subdet |
Definition at line 21 of file EBDetId.h.
anonymous enum |
|
inline |
Constructor of a null id
Definition at line 23 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 29 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, Exception, i, DetId::id_, j, kCrystalsInPhi, SMCRYSTALMODE, and validDetId().
|
inline |
|
inline |
return an approximate values of eta (~0.15% precise)
Definition at line 106 of file EBDetId.h.
References crystalUnitToEta, and ieta().
Referenced by approxEta(), EnergyResolutionVsLumi::calcmuTot(), ecaldqm::eta(), 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 88 of file EBDetId.h.
References hashedIndex().
Referenced by EcalTBHodoscopeGeometry::newCell().
|
inlinestatic |
Definition at line 111 of file EBDetId.h.
References unhashIndex().
Referenced by CaloGenericDetId::CaloGenericDetId(), EBHitResponse::EBHitResponse(), EcalTimeMapDigitizer::EcalTimeMapDigitizer(), EBHitResponse::finalizeHits(), EcalTPSkimmer::produce(), and EBHitResponse::run().
Definition at line 135 of file EBDetId.cc.
References funct::abs(), and ieta().
Referenced by EcalClusterSeverityLevelAlgo::closestProblematic(), EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic(), and PFPhotonClusters::FillClusterShape().
Definition at line 143 of file EBDetId.cc.
References funct::abs(), iphi(), PI, and mps_fire::result.
Referenced by EcalClusterSeverityLevelAlgo::closestProblematic(), EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic(), and PFPhotonClusters::FillClusterShape().
|
inline |
get a compact index for arrays
Definition at line 86 of file EBDetId.h.
References numberByEtaPhi().
Referenced by EcalGetLaserData::analyze(), EcalPulseShapeGrapher::analyze(), EcalURecHitHists::analyze(), EcalPedestalHistory::beginRun(), CaloGeometryHelper::buildCrystalArray(), CaloGeometryHelper::buildNeighbourArray(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), popcon::EcalChannelStatusHandler::daqOut(), denseIndex(), ecalEnergyInCone(), PFECALHashNavigator::ecalNeighbArray(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalLaserDbService::getLaserCorrection(), CaloGeometryHelper::getNeighbours(), popcon::EcalLaser_weekly_Linearization_Check::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), ecalpyutils::hashedIndex(), popcon::EcalChannelStatusHandler::laserAnalysis(), CaloGeometryHelper::move(), PFECALHashNavigator::move(), popcon::EcalChannelStatusHandler::pedAnalysis(), EcalUncalibRecHitWorkerRatio::run(), EcalUncalibRecHitWorkerWeights::run(), EcalUncalibRecHitWorkerGlobal::run(), and EcalUncalibRecHitWorkerMultiFit::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 EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalURecHitHists::analyze(), TreeProducerCalibSimul::analyze(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), ecaldqm::crystalID(), 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 51 of file EBDetId.h.
References ietaAbs(), and zside().
Referenced by FWTGeoRecoGeometryESProducer::addEcalCaloGeometry(), JetToDigiDump::analyze(), EcalTBValidation::analyze(), HcalTB06Analysis::analyze(), DQMSourceEleCalib::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalBarrelDigisValidation::analyze(), PhiSymmetryCalibration::analyze(), DQMSourcePi0::analyze(), EcalRecHitsValidation::analyze(), TreeProducerCalibSimul::analyze(), EcalDigisValidation::analyze(), HLTAlCa::analyze(), EcalCosmicsHists::analyze(), EcalMixingModuleValidation::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), approxEta(), EcalPedestalHistory::beginRun(), EnergyResolutionVsLumi::calcLightCollectionEfficiencyWeighted(), HLTEcalResonanceFilter::calcShowerShape(), HLTRegionalEcalResonanceFilter::calcShowerShape(), EcalHaloAlgo::Calculate(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), ecaldqm::binning::channelName(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasDeadNeighbour(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasInvalidNeighbour(), PFClusterEMEnergyCorrector::correctEnergies(), EcalGlobalShowerContainmentCorrectionsVsEta::correction(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), distanceEta(), popcon::EcalLaserHandler::dumpBarrelPayload(), InvRingCalib::duringLoop(), Pi0FixedMassWindowCalibration::duringLoop(), ZeeCalibration::duringLoop(), PhiSymmetryCalibration_step2_SM::endJob(), PhiSymmetryCalibration_step2::endJob(), ElectronCalibrationUniv::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), EcalEleCalibLooper::endOfLoop(), Pi0FixedMassWindowCalibration::endOfLoop(), ZeeCalibration::endOfLoop(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), PFPhotonClusters::FillClusterShape(), MatrixFillMap::fillEBMap(), ECALRecHitAnalyzer::FillGeometry(), EcalRecHitsFilter::filter(), HLTEcalPhiSymFilter::filter(), ecaldqm::binning::findBinCrystal_(), ecaldqm::binning::findBinSuperCrystal_(), TrackDetMatchInfo::findMaxDeposition(), EcalTBReadout::findTTlist(), CalibrationCluster::get3x3Id(), CalibrationCluster::get5x5Id(), EcalBarrelGeometry::getClosestCell(), SCEnergyCorrectorSemiParm::getCorrections(), EcalHaloAlgo::GetHaloClusterCandidateEB(), EcalClusterToolsT< noZS >::getIEta(), PhotonMIPHaloTagger::GetMipTrailFit(), EcalRingCalibrationTools::getRingIndex(), PhotonMIPHaloTagger::GetSeedHighestE(), EcalClusterLocalContCorrection::getValue(), EcalBasicClusterLocalContCorrection::getValue(), EcalClusterCrackCorrection::getValue(), ecalpyutils::hashedIndexToEtaPhi(), DetIdInfo::info(), fireworks::info(), isNextToEtaBoundary(), EcalClusterLocal::localCoordsEB(), EcalDisplaysByEvent::makeHistos(), EcalDeadChannelRecoveryNN< EBDetId >::makeNxNMatrice_RelDC(), PiZeroAnalyzer::makePizero(), TrackDetMatchInfo::nXnEnergy(), offsetBy(), EBDetIdSorter::operator()(), PFPhotonClusters::PFCrystalCoor(), HodoscopeDetId::planeId(), ecaldqm::pnForCrystal(), 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 49 of file EBDetId.h.
References DetId::id_.
Referenced by EcalBarrelSimHitsValidation::analyze(), EcalRecHitsValidation::analyze(), GsfElectronAlgo::createElectron(), EcalElectronicsMapping::getElectronicsId(), ic(), ieta(), ietaSM(), im(), numberByEtaPhi(), spr::simpleMove(), PFECALHashNavigator::stdsimplemove(), tower_ieta(), and EcalSimHitsValidProducer::update().
|
inline |
get the crystal ieta in the SM convention (1-85)
Definition at line 73 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 66 of file EBDetId.h.
References ietaAbs(), and cuy::ii.
Referenced by CaloGeometryHelper::borderCrossing(), EcalClusterToolsT< noZS >::energyBasketFractionEta(), and EcalRingCalibrationTools::getModuleIndex().
|
inline |
get the crystal iphi
Definition at line 53 of file EBDetId.h.
References DetId::id_.
Referenced by JetToDigiDump::analyze(), EcalTBValidation::analyze(), HcalTB06Analysis::analyze(), DQMSourceEleCalib::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalBarrelDigisValidation::analyze(), PhiSymmetryCalibration::analyze(), DQMSourcePi0::analyze(), EcalRecHitsValidation::analyze(), TreeProducerCalibSimul::analyze(), EcalDigisValidation::analyze(), HLTAlCa::analyze(), EcalCosmicsHists::analyze(), EcalMixingModuleValidation::analyze(), EcalPedestalHistory::beginRun(), HLTEcalResonanceFilter::calcShowerShape(), HLTRegionalEcalResonanceFilter::calcShowerShape(), EcalHaloAlgo::Calculate(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), ecaldqm::binning::channelName(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasDeadNeighbour(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasInvalidNeighbour(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), distancePhi(), popcon::EcalLaserHandler::dumpBarrelPayload(), InvRingCalib::duringLoop(), Pi0FixedMassWindowCalibration::duringLoop(), ZeeCalibration::duringLoop(), PhiSymmetryCalibration_step2_SM::endJob(), PhiSymmetryCalibration_step2::endJob(), ElectronCalibrationUniv::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), EcalEleCalibLooper::endOfLoop(), Pi0FixedMassWindowCalibration::endOfLoop(), ZeeCalibration::endOfLoop(), EcalClusterToolsT< noZS >::energyBasketFractionPhi(), HodoscopeDetId::fibrId(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), PFPhotonClusters::FillClusterShape(), MatrixFillMap::fillEBMap(), EcalRecHitsFilter::filter(), ecaldqm::binning::findBinCrystal_(), ecaldqm::binning::findBinSuperCrystal_(), TrackDetMatchInfo::findMaxDeposition(), EcalTBReadout::findTTlist(), CalibrationCluster::get3x3Id(), CalibrationCluster::get5x5Id(), EcalBarrelGeometry::getClosestCell(), EcalElectronicsMapping::getElectronicsId(), EcalClusterToolsT< noZS >::getIPhi(), PhotonMIPHaloTagger::GetMipTrailFit(), PhotonMIPHaloTagger::GetSeedHighestE(), EcalClusterLocalContCorrection::getValue(), EcalBasicClusterLocalContCorrection::getValue(), EcalClusterCrackCorrection::getValue(), ecalpyutils::hashedIndexToEtaPhi(), ic(), DetIdInfo::info(), fireworks::info(), ism(), isNextToPhiBoundary(), EcalClusterLocal::localCoordsEB(), EcalDisplaysByEvent::makeHistos(), EcalDeadChannelRecoveryNN< EBDetId >::makeNxNMatrice_RelDC(), PiZeroAnalyzer::makePizero(), numberByEtaPhi(), TrackDetMatchInfo::nXnEnergy(), offsetBy(), EBDetIdSorter::operator()(), PFPhotonClusters::PFCrystalCoor(), ecaldqm::phi(), ecaldqm::pnForCrystal(), 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 75 of file EBDetId.h.
References ic(), and kCrystalsInPhi.
Referenced by EcalCosmicsHists::analyze(), and EcalElectronicsMapping::getLMNumber().
|
inline |
get the ECAL/SM id
Definition at line 61 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 80 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 78 of file EBDetId.h.
References DetId::id_.
Referenced by EcalClusterToolsT< noZS >::energyBasketFractionEta(), EcalClusterToolsT< noZS >::energyBasketFractionPhi(), ic(), ism(), and numberByEtaPhi().
|
inlinestatic |
get the subdetector .i.e EcalBarrel (what else?)
Definition at line 44 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 59 of file EBDetId.h.
References funct::abs(), EcalBarrel, tower_ieta(), tower_iphi(), and zside().
Referenced by testEcalTPGScale::analyze(), EcalTrigPrimAnalyzer::analyze(), EcalRecHitsValidation::analyze(), ecaldqm::binning::findBinTriggerTower_(), EcalElectronicsMapping::getElectronicsId(), ecaldqm::MESet::maskMatches(), EcalDetIdToBeRecoveredProducer::produce(), ecaldqm::SummaryClient::producePlots(), ecaldqm::SelectiveReadoutTask::runOnDigis(), ecaldqm::towerId(), EcalTrigTowerConstituentsMap::towerOf(), and ecaldqm::ttId().
|
inline |
get the HCAL/trigger ieta of this crystal
Definition at line 55 of file EBDetId.h.
References ietaAbs(), and zside().
Referenced by 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 DetIdInfo::info(), fireworks::info(), tower(), and CaloTowerConstituentsMap::towerOf().
|
inlinestatic |
get a DetId from a compact index for arrays
Definition at line 114 of file EBDetId.h.
References EBDetId(), MAX_IETA, MAX_IPHI, and validHashIndex().
Referenced by EcalTPGParamBuilder::analyze(), EcalPedestalHistory::beginRun(), detIdFromDenseIndex(), popcon::EcalLaserHandler::dumpBarrelPayload(), EcalTPGLinearizationConstXMLTranslator::dumpXML(), EcalPedestalsXMLTranslator::dumpXML(), EcalPulseShapesXMLTranslator::dumpXML(), EcalPulseSymmCovariancesXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalLinearCorrectionsXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), EcalEleCalibLooper::EBRegionDefinition(), EcalEleCalibLooper::EcalEleCalibLooper(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), popcon::EcalLaser_weekly_Handler::getNewObjects(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), ecalpyutils::hashedIndexToEtaPhi(), CalorimetryManager::loadFromEcalBarrel(), main(), popcon::EcalLaserHandler::notifyProblems(), printStatusRecords(), StoreEcalCondition::readEcalChannelStatusFromFile(), ecaldqm::StatusManager::readFromObj(), ecaldqm::StatusManager::readFromStream(), and ecaldqm::StatusManager::writeToObj().
|
inlinestatic |
Definition at line 109 of file EBDetId.h.
References kSizeForDenseIndexing.
Referenced by EcalTPSkimmer::produce(), and ecaldqm::StatusManager::readFromStream().
|
inlinestatic |
check if a valid index combination
Definition at line 124 of file EBDetId.h.
References funct::abs(), MAX_IETA, MAX_IPHI, and MIN_IPHI.
Referenced by EcalTBValidation::analyze(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasDeadNeighbour(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasInvalidNeighbour(), EcalBarrelTopology::decrementIeta(), EcalBarrelTopology::decrementIphi(), EBDetId(), ZeeCalibration::endOfJob(), spr::extraIds(), MatrixFillMap::fillEBMap(), EcalNextToDeadChannelESProducer::findNextToDeadChannelsCallback(), EcalTestDevDB::generateEcalLinearCorrections(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalDeadCellTriggerPrimitiveFilter::getChannelStatusMaps(), EcalDeadCellDeltaRFilter::getChannelStatusMaps(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), popcon::EcalPulseShapesHandler::getNewObjects(), popcon::EcalPulseSymmCovariancesHandler::getNewObjects(), 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::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 47 of file EBDetId.h.
References DetId::id_.
Referenced by FWTGeoRecoGeometryESProducer::addEcalCaloGeometry(), EcalSimple2007H4TBAnalyzer::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalRecHitsValidation::analyze(), Pi0FixedMassWindowCalibration::duringLoop(), PhiSymmetryCalibration_step2::endJob(), PhiSymmetryCalibration_step2_SM::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), Pi0FixedMassWindowCalibration::endOfLoop(), ecaldqm::eta(), ieta(), ecaldqm::TimingClient::producePlots(), EcalGeomPhiSymHelper::setup(), tower(), tower_ieta(), and EcalSimHitsValidProducer::update().
|
static |
Definition at line 160 of file EBDetId.h.
Referenced by approxEta(), ecaldqm::eta(), ecaldqm::MESetProjection::fill(), ecaldqm::MESetProjection::getBinContent(), ecaldqm::MESetProjection::getBinEntries(), ecaldqm::MESetProjection::getBinError(), ecaldqm::MESetProjection::setBinContent(), ecaldqm::MESetProjection::setBinEntries(), and ecaldqm::MESetProjection::setBinError().
|
static |
Definition at line 166 of file EBDetId.h.
Referenced by EcalTBValidation::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::EcalPulseShapesHandler::getNewObjects(), popcon::EcalPulseSymmCovariancesHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalRecHitProducer::produce(), StoreEcalCondition::readEcalGainRatiosFromFile(), and EcalElectronicsMapping::stripConstituents().
|
static |
|
static |
Definition at line 151 of file EBDetId.h.
Referenced by numberBySM().
|
static |
Definition at line 148 of file EBDetId.h.
Referenced by isNextToEtaBoundary().
|
static |
Definition at line 147 of file EBDetId.h.
Referenced by EcalClusterToolsT< noZS >::energyBasketFractionEta(), and EcalShowerContainmentCorrections::fillCorrectionCoefficients().
|
static |
Definition at line 146 of file EBDetId.h.
Referenced by EcalClusterToolsT< noZS >::energyBasketFractionPhi().
|
static |
Definition at line 157 of file EBDetId.h.
Referenced by EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), and validHashIndex().
|
static |
Definition at line 143 of file EBDetId.h.
Referenced by EcalGetLaserData::analyze(), EnergyResolutionVsLumi::calcLightCollectionEfficiencyWeighted(), EnergyResolutionVsLumi::calcmuTot(), CaloTowerConstituentsMap::constituentsOf(), EcalBarrelHardcodedTopology::decrementIeta(), EcalTPGCrystalStatusXMLTranslator::dumpXML(), ZeeCalibration::endOfJob(), EcalNextToDeadChannelESProducer::findNextToDeadChannelsCallback(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTestDevDB::generateEcalLinearCorrections(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalTBWeights(), EcalTestDevDB::generateEcalWeightXtalGroups(), EcalBarrelGeometry::getCells(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), popcon::EcalPulseShapesHandler::getNewObjects(), popcon::EcalPulseSymmCovariancesHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), EcalBarrelHardcodedTopology::incrementIeta(), numberByEtaPhi(), 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(), PFECALHashNavigator::stdsimplemove(), unhashIndex(), and validDetId().
|
static |
Definition at line 144 of file EBDetId.h.
Referenced by EcalGetLaserData::analyze(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), EcalBarrelHardcodedTopology::decrementIphi(), EcalBarrelTopology::decrementIphi(), EcalTPGCrystalStatusXMLTranslator::dumpXML(), ZeeCalibration::endOfJob(), EcalClusterToolsT< noZS >::energyBasketFractionPhi(), PFPhotonClusters::FillClusterShape(), EcalNextToDeadChannelESProducer::findNextToDeadChannelsCallback(), EcalTestDevDB::generateEcalGainRatios(), EcalTestDevDB::generateEcalIntercalibConstants(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTestDevDB::generateEcalLinearCorrections(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalWeightXtalGroups(), EcalBarrelGeometry::getCells(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalBarrelGeometry::getClosestCell(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), popcon::EcalPulseShapesHandler::getNewObjects(), popcon::EcalPulseSymmCovariancesHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), EcalBarrelHardcodedTopology::incrementIphi(), EcalBarrelTopology::incrementIphi(), numberByEtaPhi(), 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(), unhashIndex(), 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 156 of file EBDetId.h.
Referenced by EcalTPGLinearizationConstXMLTranslator::dumpXML(), EcalPedestalsXMLTranslator::dumpXML(), EcalPulseSymmCovariancesXMLTranslator::dumpXML(), EcalPulseShapesXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalLinearCorrectionsXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), and EcalFloatCondObjectContainerXMLTranslator::dumpXML().
|
static |
Definition at line 142 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::generateEcalLinearCorrections(), EcalTestDevDB::generateEcalPedestals(), EcalTestDevDB::generateEcalWeightXtalGroups(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalBarrelGeometry::getClosestCell(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), popcon::EcalPulseShapesHandler::getNewObjects(), popcon::EcalPulseSymmCovariancesHandler::getNewObjects(), 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::produceEcalLinearCorrections(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), and validDetId().
|
static |
Definition at line 152 of file EBDetId.h.
Referenced by EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), and EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration().
|
static |
Definition at line 167 of file EBDetId.h.
Referenced by EcalTBValidation::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), EcalTPGParamBuilder::analyze(), TreeProducerCalibSimul::analyze(), EcalPedestalHistory::beginRun(), TBPositionCalc::CalculateCMSPos(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), popcon::EcalChannelStatusHandler::daqOut(), EcalBarrelGeometry::detIdFromLocalAlignmentIndex(), 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::EcalTPGLutGroupHandler::getNewObjects(), popcon::EcalTPGSpikeThresholdHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration(), TableDataFormatter::interpretRawData(), popcon::EcalChannelStatusHandler::laserAnalysis(), popcon::EcalChannelStatusHandler::laserMasking(), popcon::EcalChannelStatusHandler::nBadLaserModules(), popcon::EcalChannelStatusHandler::pedAnalysis(), popcon::EcalChannelStatusHandler::pedMasking(), popcon::EcalChannelStatusHandler::pedOnlineMasking(), popcon::EcalChannelStatusHandler::physicsMasking(), FakeTBEventHeaderProducer::produce(), EcalShowerContainmentCorrectionsESProducer::produce(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), StoreEcalCondition::readEcalChannelStatusFromFile(), StoreEcalCondition::readEcalGainRatiosFromFile(), StoreEcalCondition::readEcalIntercalibConstantsFromFile(), StoreEcalCondition::readEcalIntercalibConstantsMCFromFile(), and StoreEcalCondition::readEcalWeightXtalGroupsFromFile().