#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, HGCalEE = 8, HGCalHSi = 9, HGCalHSc = 10, HGCalTrigger = 11 } |
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 | |
constexpr Detector | det () const |
get the detector field from this detid More... | |
constexpr | DetId () |
Create an empty or null id (also for persistence) More... | |
constexpr | DetId (uint32_t id) |
Create an id from a raw number. More... | |
constexpr | DetId (Detector det, int subdet) |
Create an id, filling the detector and subdetector fields as specified. More... | |
constexpr bool | null () const |
is this a null id ? More... | |
constexpr | operator uint32_t () const |
constexpr bool | operator!= (DetId id) const |
inequality More... | |
constexpr uint32_t | operator() () const |
constexpr bool | operator< (DetId id) const |
comparison More... | |
constexpr bool | operator== (DetId id) const |
equality More... | |
constexpr uint32_t | rawId () const |
get the raw id More... | |
constexpr 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 | kDetMask = 0xF |
static const int | kDetOffset = 28 |
static const int | kSubdetMask = 0x7 |
static const int | kSubdetOffset = 25 |
Additional Inherited Members | |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
anonymous enum |
Enumerator | |
---|---|
Subdet |
Definition at line 19 of file EBDetId.h.
anonymous enum |
|
inline |
Constructor of a null id
Definition at line 21 of file EBDetId.h.
Referenced by offsetBy(), switchZSide(), and unhashIndex().
|
inline |
Constructor from a raw value
Definition at line 23 of file EBDetId.h.
|
inline |
Constructor from crystal ieta and iphi or from SM# and crystal#
Definition at line 27 of file EBDetId.h.
References DetId::id_.
EBDetId::EBDetId | ( | int | index1, |
int | index2, | ||
int | mode | ||
) |
Definition at line 10 of file EBDetId.cc.
References ETAPHIMODE, Exception, mps_fire::i, DetId::id_, createfilelist::int, dqmiolumiharvest::j, kCrystalsInPhi, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, SMCRYSTALMODE, and validDetId().
|
inline |
Constructor from a generic cell id
Definition at line 33 of file EBDetId.h.
|
inline |
return an approximate values of eta (~0.15% precise)
Definition at line 102 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 136 of file EBDetId.cc.
References approxEta(), EcalBarrel, and DetId::subdetId().
|
inline |
Definition at line 84 of file EBDetId.h.
References hashedIndex().
Referenced by EcalTBHodoscopeGeometry::newCell(), and EcalPhiSymRecHitProducerBase::processEvent().
|
inlinestatic |
Definition at line 107 of file EBDetId.h.
References unhashIndex().
Referenced by ECALpedestalPCLworker::bookHistograms(), CaloGenericDetId::CaloGenericDetId(), ECALpedestalPCLHarvester::checkVariation(), ECALpedestalPCLHarvester::dqmEndJob(), ECALpedestalPCLHarvester::dqmPlots(), EcalTimeMapDigitizer::EcalTimeMapDigitizer(), and EcalTPSkimmer::produce().
Definition at line 118 of file EBDetId.cc.
References a, funct::abs(), and b.
Referenced by EcalClusterSeverityLevelAlgo::closestProblematic(), and EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic().
Definition at line 125 of file EBDetId.cc.
References a, funct::abs(), b, PI, and mps_fire::result.
Referenced by EcalClusterSeverityLevelAlgo::closestProblematic(), and EcalClusterSeverityLevelAlgo::etaphiDistanceClosestProblematic().
|
inline |
get a compact index for arrays
Definition at line 82 of file EBDetId.h.
References numberByEtaPhi().
Referenced by EcalGetLaserData::analyze(), ECALpedestalPCLworker::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(), popcon::EcalChannelStatusHandler::laserAnalysis(), CaloGeometryHelper::move(), PFECALHashNavigator::move(), popcon::EcalChannelStatusHandler::pedAnalysis(), popcon::EcalPedestalsHandler::readPedestal2017(), popcon::EcalPedestalsHandler::readPedestalFile(), popcon::EcalPedestalsHandler::readPedestalMC(), EcalUncalibRecHitWorkerRatio::run(), EcalUncalibRecHitWorkerWeights::run(), EcalUncalibRecHitWorkerGlobal::run(), and EcalUncalibRecHitWorkerMultiFit::run().
int EBDetId::ic | ( | ) | const |
get ECAL/crystal number inside SM
Definition at line 41 of file EBDetId.cc.
References ietaAbs(), iphi(), kCrystalsInPhi, and positiveZ().
Referenced by EcalSimpleTBAnalyzer::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), TreeProducerCalibSimul::analyze(), EcalURecHitHists::analyze(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), ecaldqm::crystalID(), EcalTBEventHeader::crystalInBeam(), iphiSM(), popcon::EcalChannelStatusHandler::laserAnalysis(), EcalTBEventHeader::nextCrystalInBeam(), EcalTBEventHeader::nominalCrystalInBeam(), numberBySM(), popcon::EcalChannelStatusHandler::pedAnalysis(), and EcalUncalibRecHitWorkerFixedAlphaBetaFit::run().
|
inline |
get the crystal ieta
Definition at line 49 of file EBDetId.h.
References ietaAbs(), and zside().
Referenced by FWTGeoRecoGeometryESProducer::addEcalCaloGeometry(), JetToDigiDump::analyze(), EcalTBValidation::analyze(), EcalEBTrigPrimAnalyzer::analyze(), DQMSourceEleCalib::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalBarrelDigisValidation::analyze(), ElectronCalibration::analyze(), DQMSourcePi0::analyze(), TreeProducerCalibSimul::analyze(), EcalDigisValidation::analyze(), EcalRecHitsValidation::analyze(), HcalTB06Analysis::analyze(), EcalCosmicsHists::analyze(), EcalMixingModuleValidation::analyze(), approxEta(), EcalPedestalHistory::beginRun(), EnergyResolutionVsLumi::calcLightCollectionEfficiencyWeighted(), HLTEcalResonanceFilter::calcShowerShape(), HLTRegionalEcalResonanceFilter::calcShowerShape(), EcalHaloAlgo::Calculate(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasDeadNeighbour(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasInvalidNeighbour(), PFClusterEMEnergyCorrector::correctEnergies(), EcalGlobalShowerContainmentCorrectionsVsEta::correction(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), L1EGCrystalClusterEmulatorProducer::SimpleCaloHit::dieta(), ECALpedestalPCLHarvester::dqmPlots(), popcon::EcalLaserHandler::dumpBarrelPayload(), InvRingCalib::duringLoop(), Pi0FixedMassWindowCalibration::duringLoop(), ZeeCalibration::duringLoop(), ElectronCalibrationUniv::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), EcalEleCalibLooper::endOfLoop(), Pi0FixedMassWindowCalibration::endOfLoop(), ZeeCalibration::endOfLoop(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), MatrixFillMap::fillEBMap(), ECALRecHitAnalyzer::FillGeometry(), reco::EcalClustersGraph::fillHits(), EcalBadCalibFilter::filter(), EcalRecHitsFilter::filter(), HLTEcalPhiSymFilter::filter(), ecaldqm::binning::findBinCrystal_(), ecaldqm::binning::findBinSuperCrystal_(), TrackDetMatchInfo::findMaxDeposition(), CalibrationCluster::get3x3Id(), CalibrationCluster::get5x5Id(), EcalBarrelGeometry::getClosestCell(), EcalHaloAlgo::GetHaloClusterCandidateEB(), EcalClusterToolsT< noZS >::getIEta(), PhotonMIPHaloTagger::GetMipTrailFit(), SCEnergyCorrectorSemiParm::getRegDataECALV1(), EcalRingCalibrationTools::getRingIndex(), EGRegressionModifierV3::getSeedCrysCoord(), EcalClusterCrackCorrection::getValue(), ecalpyutils::hashedIndexToEtaPhi(), L1EGCrystalClusterEmulatorProducer::SimpleCaloHit::id_iEta(), isNextToEtaBoundary(), egammaTools::localEcalClusterCoordsEB(), EcalDisplaysByEvent::makeHistos(), PiZeroAnalyzer::makePizero(), TrackDetMatchInfo::nXnEnergy(), offsetBy(), EBDetIdSorter::operator()(), EcalBasicClusterLocalContCorrection::operator()(), HodoscopeDetId::planeId(), ecaldqm::pnForCrystal(), EcalBarrelGeometry::present(), popcon::EcalPedestalsHandler::readPedestalMC(), EcalEBPhase2TrigPrimAlgo::run(), ecaldqm::PiZeroTask::runOnEBRecHits(), reco::SuperCluster::seedCrysIEtaOrIx(), 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 47 of file EBDetId.h.
References DetId::id_.
Referenced by EcalBarrelSimHitsValidation::analyze(), EcalRecHitsValidation::analyze(), GsfElectronAlgo::createElectron(), EcalElectronicsMapping::getElectronicsId(), ic(), ieta(), ietaSM(), im(), numberByEtaPhi(), EcalLaserCondTools::FileReader::readPs(), PFECALHashNavigator::stdsimplemove(), tower_ieta(), and EcalSimHitsValidProducer::update().
|
inline |
get the crystal ieta in the SM convention (1-85)
Definition at line 71 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 64 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 51 of file EBDetId.h.
References DetId::id_.
Referenced by JetToDigiDump::analyze(), EcalTBValidation::analyze(), EcalEBTrigPrimAnalyzer::analyze(), DQMSourceEleCalib::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalBarrelSimHitsValidation::analyze(), EcalBarrelRecHitsValidation::analyze(), EcalBarrelDigisValidation::analyze(), ElectronCalibration::analyze(), DQMSourcePi0::analyze(), TreeProducerCalibSimul::analyze(), EcalDigisValidation::analyze(), EcalRecHitsValidation::analyze(), HcalTB06Analysis::analyze(), EcalCosmicsHists::analyze(), EcalMixingModuleValidation::analyze(), EcalPedestalHistory::beginRun(), HLTEcalResonanceFilter::calcShowerShape(), HLTRegionalEcalResonanceFilter::calcShowerShape(), EcalHaloAlgo::Calculate(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasDeadNeighbour(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasInvalidNeighbour(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), L1EGCrystalClusterEmulatorProducer::SimpleCaloHit::diphi(), ECALpedestalPCLHarvester::dqmPlots(), popcon::EcalLaserHandler::dumpBarrelPayload(), InvRingCalib::duringLoop(), Pi0FixedMassWindowCalibration::duringLoop(), ZeeCalibration::duringLoop(), ElectronCalibrationUniv::endJob(), Pi0FixedMassWindowCalibration::endOfJob(), EcalEleCalibLooper::endOfLoop(), Pi0FixedMassWindowCalibration::endOfLoop(), ZeeCalibration::endOfLoop(), EcalClusterToolsT< noZS >::energyBasketFractionPhi(), HodoscopeDetId::fibrId(), AlCaElectronsTest::fillAroundBarrel(), DQMSourceEleCalib::fillAroundBarrel(), MatrixFillMap::fillEBMap(), reco::EcalClustersGraph::fillHits(), EcalBadCalibFilter::filter(), EcalRecHitsFilter::filter(), ecaldqm::binning::findBinCrystal_(), ecaldqm::binning::findBinSuperCrystal_(), TrackDetMatchInfo::findMaxDeposition(), CalibrationCluster::get3x3Id(), CalibrationCluster::get5x5Id(), EcalBarrelGeometry::getClosestCell(), EcalElectronicsMapping::getElectronicsId(), EcalClusterToolsT< noZS >::getIPhi(), PhotonMIPHaloTagger::GetMipTrailFit(), EcalClusterCrackCorrection::getValue(), ecalpyutils::hashedIndexToEtaPhi(), ic(), L1EGCrystalClusterEmulatorProducer::SimpleCaloHit::id_iPhi(), ism(), isNextToPhiBoundary(), egammaTools::localEcalClusterCoordsEB(), EcalDisplaysByEvent::makeHistos(), PiZeroAnalyzer::makePizero(), numberByEtaPhi(), TrackDetMatchInfo::nXnEnergy(), offsetBy(), EBDetIdSorter::operator()(), EcalBasicClusterLocalContCorrection::operator()(), ecaldqm::phi(), ecaldqm::pnForCrystal(), EcalBarrelGeometry::present(), EcalLaserCondTools::FileReader::readPs(), EcalEBPhase2TrigPrimAlgo::run(), ecaldqm::PiZeroTask::runOnEBRecHits(), reco::SuperCluster::seedCrysIPhiOrIy(), 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 73 of file EBDetId.h.
References ic(), and kCrystalsInPhi.
Referenced by EcalCosmicsHists::analyze(), and EcalElectronicsMapping::getLMNumber().
|
inline |
get the ECAL/SM id
Definition at line 59 of file EBDetId.h.
References l1ctLayer2EG_cff::id, iphi(), kCrystalsInPhi, and positiveZ().
Referenced by JetToDigiDump::analyze(), EcalTBValidation::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalBarrelRecHitsValidation::analyze(), EcnaAnalyzer::analyze(), CaloGeometryHelper::borderCrossing(), EcalRingCalibrationTools::getModuleIndex(), numberBySM(), and EcalUncalibRecHitWorkerFixedAlphaBetaFit::run().
|
static |
Definition at line 106 of file EBDetId.cc.
References isNextToEtaBoundary(), and isNextToPhiBoundary().
Referenced by EcalCleaningAlgo::isNearCrack(), and isNextToBoundary().
|
static |
Definition at line 108 of file EBDetId.cc.
References spr::find(), ieta(), and kModuleBoundaries.
Referenced by PhotonIsolationCalculator::classify(), GsfElectronAlgo::createElectron(), and isNextToBoundary().
|
static |
Definition at line 113 of file EBDetId.cc.
References iphi().
Referenced by PhotonIsolationCalculator::classify(), GsfElectronAlgo::createElectron(), and isNextToBoundary().
|
inline |
Definition at line 78 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 50 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 81 of file EBDetId.cc.
References DetId::det(), DetId::DetId(), DetId::Ecal, EcalBarrel, offsetBy(), DetId::rawId(), and DetId::subdetId().
|
inline |
Definition at line 76 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 42 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 72 of file EBDetId.cc.
References EBDetId(), ieta(), iphi(), and validDetId().
Referenced by ecaldqm::TimingClient::producePlots(), and switchZSide().
Definition at line 90 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 57 of file EBDetId.h.
References funct::abs(), EcalBarrel, tower_ieta(), tower_iphi(), and zside().
Referenced by testEcalTPGScale::analyze(), EcalTrigPrimAnalyzer::analyze(), EcalRecHitsValidation::analyze(), EcalTrigTowerConstituentsMap::barrelTowerOf(), 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 53 of file EBDetId.h.
References ietaAbs(), and zside().
Referenced by tower(), and CaloTowerConstituentsMap::towerOf().
int EBDetId::tower_iphi | ( | ) | const |
get the HCAL/trigger iphi of this crystal
Definition at line 100 of file EBDetId.cc.
References iphi().
Referenced by tower(), and CaloTowerConstituentsMap::towerOf().
|
inlinestatic |
get a DetId from a compact index for arrays
Definition at line 110 of file EBDetId.h.
References EBDetId(), MAX_IETA, MAX_IPHI, and validHashIndex().
Referenced by EcalTPGParamBuilder::analyze(), ecaldqm::PresampleTask::beginEvent(), ecaldqm::OccupancyTask::beginEvent(), EcalPedestalHistory::beginRun(), detIdFromDenseIndex(), popcon::EcalLaserHandler::dumpBarrelPayload(), EcalTPGLinearizationConstXMLTranslator::dumpXML(), EcalPedestalsXMLTranslator::dumpXML(), EcalPulseShapesXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), EcalLinearCorrectionsXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalPulseSymmCovariancesXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), EcalEleCalibLooper::EBRegionDefinition(), EcalEleCalibLooper::EcalEleCalibLooper(), ecal::raw::ElectronicsMappingGPU::ElectronicsMappingGPU(), fillEBMap_SingleIOV(), fillEBMap_TwoIOVs(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), popcon::EcalLaser_weekly_Handler::getNewObjects(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), ecalpyutils::hashedIndexToEtaPhi(), CalorimetryManager::loadFromEcalBarrel(), main(), popcon::EcalLaserHandler::notifyProblems(), printStatusRecords(), EcalLiteDTUPedestalsESProducer::produce(), EcalCATIAGainRatiosESProducer::produce(), StoreEcalCondition::readEcalChannelStatusFromFile(), ecaldqm::StatusManager::readFromObj(), ecaldqm::StatusManager::readFromStream(), popcon::EcalPedestalsHandler::readPedestalMC(), popcon::EcalPedestalsHandler::readPedestalTimestamp(), popcon::EcalPedestalsHandler::readPedestalTree(), EcalFloatCondObjectContainerXMLTranslator::readXML(), popcon::EcalPFRecHitThresholdsHandler::readXML(), popcon::EcalIntercalibHandler::readXML(), and ecaldqm::StatusManager::writeToObj().
|
inlinestatic |
Definition at line 105 of file EBDetId.h.
References cropTnPTrees::din, and kSizeForDenseIndexing.
Referenced by ecaldqm::PresampleTask::beginEvent(), ecaldqm::OccupancyTask::beginEvent(), EcalTPSkimmer::produce(), and ecaldqm::StatusManager::readFromStream().
|
inlinestatic |
check if a valid index combination
Definition at line 118 of file EBDetId.h.
References funct::abs(), mps_fire::i, dqmiolumiharvest::j, MAX_IETA, MAX_IPHI, and MIN_IPHI.
Referenced by EcalTBValidation::analyze(), EcalPFRecHitThresholdsMaker::analyze(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasDeadNeighbour(), EcalBoundaryInfoCalculator< EBDetId >::checkRecHitHasInvalidNeighbour(), EcalLaserCondTools::dbToAscii(), EcalBarrelTopology::decrementIeta(), EcalBarrelTopology::decrementIphi(), EBDetId(), ZeeCalibration::endOfJob(), spr::extraIds(), MatrixFillMap::fillEBMap(), EcalTestDevDB::generateEcalLinearCorrections(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalDeadCellTriggerPrimitiveFilter::getChannelStatusMaps(), EcalDeadCellDeltaRFilter::getChannelStatusMaps(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), popcon::EcalPulseSymmCovariancesHandler::getNewObjects(), popcon::EcalPulseShapesHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getPFRecHitThresholdsFromConfiguration(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), EcalBarrelTopology::incrementIeta(), EcalBarrelTopology::incrementIphi(), offsetBy(), EcalBarrelGeometry::present(), 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::produceEcalPFRecHitThresholds(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), StoreEcalCondition::readEcalPFRecHitThresholdsFromFile(), popcon::EcalPedestalsHandler::readPedestal2017(), popcon::EcalPedestalsHandler::readPedestalFile(), popcon::EcalPedestalsHandler::readPedestalMC(), EcalLaserCondTools::FileReader::readPs(), EcalNextToDeadChannelESProducer::setupNextToDeadChannels(), switchZSide(), and CaloGenericDetId::validDetId().
|
inlinestatic |
|
inline |
get the z-side of the crystal (1/-1)
Definition at line 45 of file EBDetId.h.
References DetId::id_.
Referenced by FWTGeoRecoGeometryESProducer::addEcalCaloGeometry(), EcalBarrelSimHitsValidation::analyze(), EcalRecHitsValidation::analyze(), Pi0FixedMassWindowCalibration::duringLoop(), Pi0FixedMassWindowCalibration::endOfJob(), Pi0FixedMassWindowCalibration::endOfLoop(), ecaldqm::eta(), EcalBadCalibFilter::filter(), ieta(), ecaldqm::TimingClient::producePlots(), EcalGeomPhiSymHelper::setup(), tower(), tower_ieta(), and EcalSimHitsValidProducer::update().
|
static |
Definition at line 153 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 158 of file EBDetId.h.
Referenced by EcalTBValidation::analyze(), EcalPFRecHitThresholdsMaker::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::EcalPulseSymmCovariancesHandler::getNewObjects(), popcon::EcalPulseShapesHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalRecHitProducer::produce(), StoreEcalCondition::readEcalGainRatiosFromFile(), popcon::EcalPedestalsHandler::readPedestal2017(), popcon::EcalPFRecHitThresholdsHandler::readTXT(), popcon::EcalIntercalibHandler::readTXT(), and EcalElectronicsMapping::stripConstituents().
|
static |
|
static |
Definition at line 144 of file EBDetId.h.
Referenced by numberBySM().
|
static |
Definition at line 141 of file EBDetId.h.
Referenced by isNextToEtaBoundary().
|
static |
Definition at line 140 of file EBDetId.h.
Referenced by EcalClusterToolsT< noZS >::energyBasketFractionEta(), and EcalShowerContainmentCorrections::fillCorrectionCoefficients().
|
static |
Definition at line 139 of file EBDetId.h.
Referenced by EcalClusterToolsT< noZS >::energyBasketFractionPhi().
|
static |
Definition at line 150 of file EBDetId.h.
Referenced by EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), and validHashIndex().
|
static |
Definition at line 136 of file EBDetId.h.
Referenced by EcalGetLaserData::analyze(), EcalPFRecHitThresholdsMaker::analyze(), EnergyResolutionVsLumi::calcLightCollectionEfficiencyWeighted(), EnergyResolutionVsLumi::calcmuTot(), CaloTowerConstituentsMap::constituentsOf(), EcalLaserCondTools::dbToAscii(), EcalBarrelHardcodedTopology::decrementIeta(), EcalTPGCrystalStatusXMLTranslator::dumpXML(), ZeeCalibration::endOfJob(), 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::produceEcalPFRecHitThresholds(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), popcon::EcalPedestalsHandler::readPedestal2017(), popcon::EcalPedestalsHandler::readPedestalFile(), popcon::EcalPedestalsHandler::readPedestalMC(), EcalNextToDeadChannelESProducer::setupNextToDeadChannels(), spr::simpleMove(), PFECALHashNavigator::stdsimplemove(), EcalCondObjectContainer< Values >::summary(), unhashIndex(), and validDetId().
|
static |
Definition at line 137 of file EBDetId.h.
Referenced by EcalGetLaserData::analyze(), EcalPFRecHitThresholdsMaker::analyze(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), EcalLaserCondTools::dbToAscii(), EcalBarrelHardcodedTopology::decrementIphi(), EcalBarrelTopology::decrementIphi(), EcalTPGCrystalStatusXMLTranslator::dumpXML(), ZeeCalibration::endOfJob(), EcalClusterToolsT< noZS >::energyBasketFractionPhi(), 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::produceEcalPFRecHitThresholds(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), popcon::EcalPedestalsHandler::readPedestal2017(), popcon::EcalPedestalsHandler::readPedestalFile(), popcon::EcalPedestalsHandler::readPedestalMC(), EcalNextToDeadChannelESProducer::setupNextToDeadChannels(), EcalCondObjectContainer< Values >::summary(), unhashIndex(), and validDetId().
|
static |
Definition at line 146 of file EBDetId.h.
Referenced by EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), and EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration().
|
static |
Definition at line 149 of file EBDetId.h.
Referenced by EcalTPGLinearizationConstXMLTranslator::dumpXML(), EcalPedestalsXMLTranslator::dumpXML(), EcalPulseShapesXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), EcalLinearCorrectionsXMLTranslator::dumpXML(), EcalPulseSymmCovariancesXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), fillEBMap_SingleIOV(), and fillEBMap_TwoIOVs().
|
static |
Definition at line 135 of file EBDetId.h.
Referenced by EcalGetLaserData::analyze(), EcalPFRecHitThresholdsMaker::analyze(), ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction(), EcalLaserCondTools::dbToAscii(), EcalBarrelHardcodedTopology::decrementIphi(), EcalBarrelTopology::decrementIphi(), ZeeCalibration::endOfJob(), 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::produceEcalPFRecHitThresholds(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), popcon::EcalPedestalsHandler::readPedestal2017(), popcon::EcalPedestalsHandler::readPedestalFile(), popcon::EcalPedestalsHandler::readPedestalMC(), EcalNextToDeadChannelESProducer::setupNextToDeadChannels(), and validDetId().
|
static |
Definition at line 145 of file EBDetId.h.
Referenced by EcalTrivialConditionRetriever::getIntercalibConstantsFromConfiguration(), EcalTrivialConditionRetriever::getIntercalibErrorsFromConfiguration(), EcalTrivialConditionRetriever::getTimeCalibConstantsFromConfiguration(), and EcalTrivialConditionRetriever::getTimeCalibErrorsFromConfiguration().
|
static |
Definition at line 159 of file EBDetId.h.
Referenced by EcalTBValidation::analyze(), EcalSimpleTBAnalyzer::analyze(), EcalSimple2007H4TBAnalyzer::analyze(), TreeProducerCalibSimul::analyze(), EcalTPGParamBuilder::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().