#include <EEDetId.h>
Public Types | |
enum | { Subdet =EcalEndcap } |
enum | { kEEhalf = 7324, kSizeForDenseIndexing = 2*kEEhalf } |
Public Types inherited from DetId | |
enum | Detector { Tracker =1, Muon =2, Ecal =3, Hcal =4, Calo =5 } |
Public Member Functions | |
uint32_t | denseIndex () const |
EEDetId () | |
EEDetId (uint32_t rawid) | |
EEDetId (int i, int j, int iz, int mode=XYMODE) | |
EEDetId (const DetId &id) | |
int | hashedIndex () const |
int | ic () const |
int | iPhiOuterRing () const |
int | iquadrant () const |
int | isc () const |
int | ix () const |
int | iy () const |
EEDetId | offsetBy (int nrStepsX, int nrStepsY) const |
EEDetId & | operator= (const DetId &id) |
bool | positiveZ () const |
EcalScDetId | sc () const |
EEDetId | switchZSide () const |
int | zside () const |
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 EEDetId | detIdFromDenseIndex (uint32_t din) |
static int | distanceX (const EEDetId &a, const EEDetId &b) |
static int | distanceY (const EEDetId &a, const EEDetId &b) |
static EEDetId | idOuterRing (int iPhi, int zEnd) |
static int | isc (int iscCol, int iscRow) |
static bool | isNextToBoundary (EEDetId id) |
static bool | isNextToDBoundary (EEDetId id) |
static bool | isNextToRingBoundary (EEDetId id) |
static DetId | offsetBy (const DetId startId, int nrStepsX, int nrStepsY) |
static EcalSubdetector | subdet () |
static DetId | switchZSide (const DetId startId) |
static EEDetId | unhashIndex (int hi) |
static bool | validDenseIndex (uint32_t din) |
static bool | validDetId (int crystal_ix, int crystal_iy, int iz) |
static bool | validHashIndex (int i) |
Static Public Attributes | |
static const int | ICR_MAX =25 |
static const int | ICR_MIN =1 |
static const int | ISC_MAX =316 |
static const int | ISC_MIN =1 |
static const int | IX_MAX =100 |
static const int | IX_MIN =1 |
static const int | IY_MAX =100 |
static const int | IY_MIN =1 |
static const int | XYMODE = 0 |
static const int | SCCRYSTALMODE = 1 |
Static Public Attributes inherited from DetId | |
static const int | kDetOffset = 28 |
static const int | kSubdetOffset = 25 |
Private Member Functions | |
bool | isOuterRing () const |
int | ix (int iSC, int iCrys) const |
int | ixQuadrantOne () const |
int | iy (int iSC, int iCrys) const |
int | iyQuadrantOne () const |
Static Private Member Functions | |
static bool | isOuterRingXY (int ax, int ay) |
Static Private Attributes | |
static const int | iYoffset [nCols+1] = { 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0 } |
static const unsigned short | kdi [2 *IY_MAX] |
static const unsigned short | kxf [2 *IY_MAX] |
static const int | nCols = 10 |
static const int | nCrys = 5 |
static const int | QuadColLimits [nCols+1] = { 0, 8,17,27,36,45,54,62,70,76,79 } |
Additional Inherited Members | |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Crystal/cell identifier class for the ECAL endcap
anonymous enum |
Enumerator | |
---|---|
Subdet |
Sudetector type. Here it is ECAL endcap. |
Definition at line 18 of file EEDetId.h.
anonymous enum |
Enumerator | |
---|---|
kEEhalf |
Number of crystals per Dee |
kSizeForDenseIndexing |
Number of dense crystal indices, that is number of crystals per endcap. |
Definition at line 303 of file EEDetId.h.
|
inline |
Constructor of a null id
Definition at line 26 of file EEDetId.h.
Referenced by idOuterRing(), offsetBy(), switchZSide(), and unhashIndex().
|
inline |
EEDetId::EEDetId | ( | int | i, |
int | j, | ||
int | iz, | ||
int | mode = XYMODE |
||
) |
Constructor from crystal ix,iy,iz (iz=+1/-1) (mode = XYMODE) or from sc,cr,iz (mode = SCCRYSTALMODE).
ix runs from 1 to 100 along x-axis of standard CMS coordinates
iy runs from 1 to 100 along y-axis of standard CMS coordinates
iz is -1 for EE- and +1 for EE+
For isc see isc(), for ic see ic()
i | ix or isc index |
j | iy or isc index |
iz | iz/zside index: -1 for EE-, +1 for EE+ |
mode | pass XYMODE if i j refer to ix, iy, SCCRYSTALMODE if thery refer to isc, ic |
Definition at line 57 of file EEDetId.cc.
References edm::hlt::Exception, DetId::id_, ix(), iy(), SCCRYSTALMODE, validDetId(), and XYMODE.
EEDetId::EEDetId | ( | const DetId & | id | ) |
Constructor from a generic cell id
id | source detid |
Definition at line 96 of file EEDetId.cc.
References DetId::det(), DetId::Ecal, EcalEndcap, edm::hlt::Exception, DetId::id_, DetId::null(), DetId::rawId(), and DetId::subdetId().
|
inline |
Same as hashedIndex()
Definition at line 187 of file EEDetId.h.
References hashedIndex().
|
inlinestatic |
Converts a hashed/dense index as defined in hashedIndex() and denseIndex() methods to a det id.
din | hashed/dense index |
Definition at line 215 of file EEDetId.h.
References unhashIndex().
Referenced by CaloGenericDetId::CaloGenericDetId(), EcalEndcapGeometry::initializeParms(), and EcalTPSkimmer::produce().
Returns the distance along x-axis in crystal units between two EEDetId
a | det id of first crystal |
b | det id of second crystal |
Definition at line 602 of file EEDetId.cc.
Returns the distance along y-axis in crystal units between two EEDetId
a | det id of first crystal |
b | det id of second crystal |
Definition at line 607 of file EEDetId.cc.
|
inline |
Gets a compact index for arrays
Definition at line 177 of file EEDetId.h.
References ix(), iy(), kdi, kEEhalf, kxf, and zside().
Referenced by EcalGetLaserData::analyze(), EcalPulseShapeGrapher::analyze(), EcalURecHitHists::analyze(), HcalIsoTrkAnalyzer::analyze(), CaloGeometryHelper::buildCrystalArray(), CaloGeometryHelper::buildNeighbourArray(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), denseIndex(), PFRecHitProducerECAL::ecalNeighbArray(), CalorimetryManager::EMShowerSimulation(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), CaloGeometryHelper::getNeighbours(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), ecalpyutils::hashedIndexEE(), CalorimetryManager::HDShowerSimulation(), EcalEndcapRecHitsMaker::init(), popcon::EcalChannelStatusHandler::laserAnalysis(), CaloGeometryHelper::move(), PFRecHitProducerECAL::move(), CalorimetryManager::MuonMipSimulation(), popcon::EcalChannelStatusHandler::pedAnalysis(), AlCaIsoTracksProducer::produce(), EcalUncalibRecHitWorkerRatio::run(), EcalUncalibRecHitWorkerWeights::run(), EcalUncalibRecHitWorkerGlobal::run(), EcalGeomPhiSymHelper::setup(), and EcalEndcapRecHitsMaker::towerOf().
int EEDetId::ic | ( | ) | const |
Gets crystal number inside SuperCrystal. Crystal numbering withing a supercrystal in each quadrant:
* A y * (Q2) | (Q1) * 25 20 15 10 5 | 5 10 15 20 25 * 24 19 14 9 4 | 4 9 14 19 24 * 23 18 13 8 3 | 3 8 13 18 23 * 22 17 12 7 2 | 2 7 12 17 22 * 21 16 11 6 1 | 1 6 11 16 21 * | * ----------------------o---------------------------> x * | * 21 16 11 6 1 | 1 6 11 16 21 * 22 17 12 7 2 | 2 7 12 17 22 * 23 18 13 8 3 | 3 8 13 18 23 * 24 19 14 9 4 | 4 9 14 19 24 * 25 20 15 10 5 | 5 10 15 20 25 * (Q3) (Q4) *
Definition at line 340 of file EEDetId.cc.
References iquadrant(), ixQuadrantOne(), iyQuadrantOne(), and nCrys.
Referenced by EcalURecHitHists::analyze(), DetIdInfo::info(), and fireworks::info().
|
static |
Definition at line 451 of file EEDetId.cc.
References EEDetId(), IX_MAX, and IY_MAX.
Referenced by EcalBarrelGeometry::getClosestEndcapCells().
int EEDetId::iPhiOuterRing | ( | ) | const |
Definition at line 404 of file EEDetId.cc.
References abs, iquadrant(), isOuterRing(), ix(), IX_MAX, iy(), and IY_MAX.
Referenced by spr::simpleMove(), and PFRecHitProducerECAL::stdsimplemove().
int EEDetId::iquadrant | ( | ) | const |
Gets the quadrant of the DetId. Quadrant number definition, x and y in std CMS coordinates, for EE+:
* A y * | * Q2 | Q1 * | * ----------o---------> x * | * Q3 | Q4 * | *
Definition at line 280 of file EEDetId.cc.
Referenced by EcalTrigTowerConstituentsMap::changeEEDetIdQuadrantAndZ(), EcalBarrelGeometry::getClosestEndcapCells(), ic(), DetIdInfo::info(), fireworks::info(), iPhiOuterRing(), ixQuadrantOne(), iyQuadrantOne(), and EcalTrigTowerConstituentsMap::wrapEEDetId().
int EEDetId::isc | ( | ) | const |
Gets the SuperCrystal number within the endcap. This number runs from 1 to 316, numbers 70 149 228 307 are not used.
BEWARE: This number is not consistent with indices used in constructor: see details below.
Numbering in quadrant 1 of EE+ is the following
* 08 17 27 * 07 16 26 36 45 54 * 06 15 25 35 44 53 62 * 05 14 24 34 43 52 61 69 * 04 13 23 33 42 51 60 68 76 * 03 12 22 32 41 50 59 67 75 * 02 11 21 31 40 49 58 66 74 * 01 10 20 30 39 48 57 65 73 79 * 09 19 29 38 47 56 64 72 78 * 18 28 37 46 55 63 71 77 * * == THERE IS NO INDEX 70! == *
Quadrant 2 indices are deduced by a symetry about y-axis and by adding an offset of 79.
Quadrant 3 and 4 indices are deduced from quadrant 1 and 2 by a symetry about x-axis and adding an offset. Quadrant N starts with index 1 + (N-1)*79.
EE- indices are deduced from EE+ by a symetry about (x,y)-plane (mirrored view). It is inconsistent with indices used in constructor EEDetId(int, int,int) in SCCRYSTALMODE. Indices of constructor uses a symetry along y-axis: in principal it considers the isc as a local index. The discrepancy is most probably due to a bug in the implementation of this isc() method.
Definition at line 301 of file EEDetId.cc.
References ix(), iy(), and nCrys.
Referenced by CaloGeometryHelper::borderCrossing(), EcalLaserDbService::getLMNumber(), DetIdInfo::info(), fireworks::info(), and EcalEndcapRecHitsMaker::SChashedIndex().
|
static |
Gives supercrystal index from endcap supercrystal x and y indexes.
iscCol | supercrystal column number: supecrystal x-index for EE+ |
iscRow,: | supecrystal y-index |
Definition at line 308 of file EEDetId.cc.
References ISC_MAX, iYoffset, and QuadColLimits.
|
static |
Definition at line 377 of file EEDetId.cc.
References isNextToDBoundary(), and isNextToRingBoundary().
|
static |
Definition at line 383 of file EEDetId.cc.
Referenced by PhotonIsolationCalculator::classify(), GsfElectronAlgo::createElectron(), and isNextToBoundary().
|
static |
Definition at line 391 of file EEDetId.cc.
References i, ix(), iy(), j, validDetId(), and zside().
Referenced by PhotonIsolationCalculator::classify(), GsfElectronAlgo::createElectron(), EcalCleaningAlgo::isNearCrack(), and isNextToBoundary().
|
private |
Definition at line 536 of file EEDetId.cc.
References isOuterRingXY(), ix(), IX_MAX, iy(), and IY_MAX.
Referenced by iPhiOuterRing().
|
staticprivate |
|
inline |
Gets the crystal x-index.
Definition at line 71 of file EEDetId.h.
References DetId::id_.
Referenced by JetToDigiDump::analyze(), EEClusterTask::analyze(), EECosmicTask::analyze(), EELaserTask::analyze(), EELedTask::analyze(), EEPedestalOnlineTask::analyze(), EEPedestalTask::analyze(), EEStatusFlagsTask::analyze(), EETestPulseTask::analyze(), EcalEndcapMonitorModule::analyze(), EEIntegrityTask::analyze(), EEClusterTaskExtras::analyze(), DQMSourceEleCalib::analyze(), EEOccupancyTask::analyze(), EETimingTask::analyze(), EcalEndcapDigisValidation::analyze(), EcalEndcapSimHitsValidation::analyze(), EcalEndcapRecHitsValidation::analyze(), HLTAlCaMonPi0::analyze(), DQMSourcePi0::analyze(), PhiSymmetryCalibration::analyze(), EcalRecHitsValidation::analyze(), EESelectiveReadoutTask::analyze(), EcalDigisValidation::analyze(), HLTAlCa::analyze(), EcalCosmicsHists::analyze(), EcalMixingModuleValidation::analyze(), EcnaAnalyzer::analyze(), EcalSelectiveReadoutValidation::analyzeEE(), HLTEcalResonanceFilter::calcShowerShape(), EcalTrigTowerConstituentsMap::changeEEDetIdQuadrantAndZ(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), EESelectiveReadoutTask::dccNum(), distanceX(), popcon::EcalLaserHandler::dumpEndcapPayload(), InvRingCalib::duringLoop(), ZeeCalibration::duringLoop(), EEDetId(), PhiSymmetryCalibration_step2::endJob(), PhiSymmetryCalibration_step2_SM::endJob(), ElectronCalibrationUniv::endJob(), EcalEleCalibLooper::endOfLoop(), ZeeCalibration::endOfLoop(), AlCaElectronsTest::fillAroundEndcap(), DQMSourceEleCalib::fillAroundEndcap(), MatrixFillMap::fillEEMap(), ecaldqm::fillME(), HLTPi0RecHitsFilter::filter(), TrackDetMatchInfo::findMaxDeposition(), EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestEndcapCells(), EcalElectronicsMapping::getDCCandSC(), EcalElectronicsMapping::getEcalScDetId(), EcalElectronicsMapping::getLMNumber(), EcalClusterTools::getNormedIX(), EcalRingCalibrationTools::getRingIndex(), hashedIndex(), ecalpyutils::hashedIndexToXY(), DetIdInfo::info(), fireworks::info(), EcalRingCalibrationTools::initializeFromGeometry(), EcalEndcapGeometry::initializeParms(), iPhiOuterRing(), iquadrant(), isc(), isNextToRingBoundary(), isOuterRing(), ixQuadrantOne(), popcon::EcalChannelStatusHandler::laserAnalysis(), EcalDisplaysByEvent::makeHistos(), popcon::EcalChannelStatusHandler::nBadLaserModules(), TrackDetMatchInfo::nXnEnergy(), offsetBy(), popcon::EcalChannelStatusHandler::pedAnalysis(), EETriggerTowerTask::processDigis(), EcalShowerProperties::processEcalRecHits(), AlCaIsoTracksProducer::produce(), AlCaElectronsProducer::produce(), EESelectiveReadoutTask::readOutUnitOf(), EcalRecHitWorkerRecover::run(), sc(), EcalGeomPhiSymHelper::setup(), EcalSelectiveReadoutValidation::superCrystalOf(), switchZSide(), unhashIndex(), EcalSimHitsValidProducer::update(), CaloGenericDetId::validDetId(), EcalTrigTowerConstituentsMap::wrapEEDetId(), xuti::writeCell(), ECALRecHitAnalyzer::WriteECALRecHits(), Pi0CalibXMLwriter::writeLine(), and calibXMLwriter::writeLine().
|
private |
Definition at line 133 of file EEDetId.cc.
References cmsCodeRules.cppFunctionSkipper::exception, nCols, and QuadColLimits.
|
private |
|
inline |
Get the crystal y-index
Definition at line 77 of file EEDetId.h.
References DetId::id_.
Referenced by JetToDigiDump::analyze(), EEClusterTask::analyze(), EEClusterTaskExtras::analyze(), DQMSourceEleCalib::analyze(), EcalEndcapDigisValidation::analyze(), EcalEndcapSimHitsValidation::analyze(), EcalEndcapRecHitsValidation::analyze(), HLTAlCaMonPi0::analyze(), DQMSourcePi0::analyze(), PhiSymmetryCalibration::analyze(), EcalRecHitsValidation::analyze(), EcalDigisValidation::analyze(), HLTAlCa::analyze(), EcalCosmicsHists::analyze(), EcalMixingModuleValidation::analyze(), EcalSelectiveReadoutValidation::analyzeEE(), HLTEcalResonanceFilter::calcShowerShape(), EcalTrigTowerConstituentsMap::changeEEDetIdQuadrantAndZ(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), EESelectiveReadoutTask::dccNum(), distanceY(), popcon::EcalLaserHandler::dumpEndcapPayload(), InvRingCalib::duringLoop(), ZeeCalibration::duringLoop(), EEDetId(), PhiSymmetryCalibration_step2::endJob(), PhiSymmetryCalibration_step2_SM::endJob(), ElectronCalibrationUniv::endJob(), EcalEleCalibLooper::endOfLoop(), ZeeCalibration::endOfLoop(), AlCaElectronsTest::fillAroundEndcap(), DQMSourceEleCalib::fillAroundEndcap(), MatrixFillMap::fillEEMap(), ecaldqm::fillME(), HLTPi0RecHitsFilter::filter(), TrackDetMatchInfo::findMaxDeposition(), EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestEndcapCells(), EcalElectronicsMapping::getEcalScDetId(), EcalClusterTools::getNormedIY(), EcalRingCalibrationTools::getRingIndex(), hashedIndex(), ecalpyutils::hashedIndexToXY(), DetIdInfo::info(), fireworks::info(), EcalRingCalibrationTools::initializeFromGeometry(), EcalEndcapGeometry::initializeParms(), iPhiOuterRing(), iquadrant(), isc(), isNextToRingBoundary(), isOuterRing(), iyQuadrantOne(), popcon::EcalChannelStatusHandler::laserAnalysis(), EcalDisplaysByEvent::makeHistos(), TrackDetMatchInfo::nXnEnergy(), offsetBy(), popcon::EcalChannelStatusHandler::pedAnalysis(), EcalShowerProperties::processEcalRecHits(), AlCaIsoTracksProducer::produce(), AlCaElectronsProducer::produce(), EESelectiveReadoutTask::readOutUnitOf(), EcalRecHitWorkerRecover::run(), sc(), EcalGeomPhiSymHelper::setup(), EcalSelectiveReadoutValidation::superCrystalOf(), switchZSide(), unhashIndex(), EcalSimHitsValidProducer::update(), CaloGenericDetId::validDetId(), EcalTrigTowerConstituentsMap::wrapEEDetId(), xuti::writeCell(), ECALRecHitAnalyzer::WriteECALRecHits(), Pi0CalibXMLwriter::writeLine(), and calibXMLwriter::writeLine().
|
private |
Definition at line 197 of file EEDetId.cc.
References cmsCodeRules.cppFunctionSkipper::exception, iYoffset, nCols, and QuadColLimits.
|
private |
EEDetId EEDetId::offsetBy | ( | int | nrStepsX, |
int | nrStepsY | ||
) | const |
returns a new EEDetId offset by nrStepsX and nrStepsY (can be negative), returns EEDetId(0) if invalid
Definition at line 490 of file EEDetId.cc.
References EEDetId(), ix(), iy(), validDetId(), and zside().
Referenced by 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 514 of file EEDetId.cc.
References DetId::det(), DetId::DetId(), DetId::Ecal, EcalEndcap, offsetBy(), DetId::rawId(), and DetId::subdetId().
Assignment operator
id | source det id |
Definition at line 104 of file EEDetId.cc.
References DetId::det(), DetId::Ecal, EcalEndcap, edm::hlt::Exception, DetId::id_, DetId::null(), DetId::rawId(), and DetId::subdetId().
|
inline |
Checks if crystal is in EE+
Definition at line 168 of file EEDetId.h.
References DetId::id_.
|
inline |
Gets the DetId of the supercrystal the crystal belong to.
cms::Exception | if the crystal det id is invalid |
Definition at line 83 of file EEDetId.h.
References ix(), iy(), and zside().
|
inlinestatic |
Gets the subdetector
Definition at line 60 of file EEDetId.h.
References EcalEndcap.
EEDetId EEDetId::switchZSide | ( | ) | const |
returns a new EEDetId swapped (same iX, iY) to the other endcap, returns EEDetId(0) if invalid (shouldnt happen)
Definition at line 503 of file EEDetId.cc.
References EEDetId(), ix(), iy(), validDetId(), and zside().
Referenced by switchZSide().
Definition at line 525 of file EEDetId.cc.
References DetId::det(), DetId::DetId(), DetId::Ecal, EcalEndcap, DetId::rawId(), DetId::subdetId(), and switchZSide().
|
static |
Gets a DetId from a compact index for arrays. Converse of hashedIndex() method.
hi | dense/hashed index |
Definition at line 115 of file EEDetId.cc.
References EEDetId(), ix(), iy(), IY_MAX, kdi, kEEhalf, kxf, and validHashIndex().
Referenced by detIdFromDenseIndex(), popcon::EcalLaserHandler::dumpEndcapPayload(), EcalPedestalsXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), EcalElectronicsMappingBuilder::FillFromDatabase(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), ecalpyutils::hashedIndexToXY(), CalorimetryManager::loadFromEcalEndcap(), main(), popcon::EcalLaserHandler::notifyProblems(), printStatusRecords(), EcalEndcapRecHitsMaker::randomNoisifier(), and StoreEcalCondition::readEcalChannelStatusFromFile().
|
inlinestatic |
Checks validity of a dense/hashed index
din | dense/hashed index as returned by hashedIndex() or denseIndex() method |
Definition at line 208 of file EEDetId.h.
References validHashIndex().
Referenced by EcalTPSkimmer::produce().
|
static |
Checks validity of a crystal (x,y.z) index triplet.
crystal_ix | crystal x-index |
crystal_iy | crystal y-index |
iz | crystal z-index |
Definition at line 562 of file EEDetId.cc.
References abs, IX_MAX, IY_MAX, and TrackValidation_HighPurity_cff::valid.
Referenced by EECosmicTask::analyze(), EcalGetLaserData::analyze(), EETimingClient::analyze(), EcalCosmicsHists::analyze(), EcalDQMStatusReader::beginRun(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), EcalEndcapHardcodedTopology::decrementIx(), EcalEndcapTopology::decrementIx(), EcalEndcapHardcodedTopology::decrementIy(), EcalEndcapTopology::decrementIy(), EcalEleCalibLooper::EcalEleCalibLooper(), EEDetId(), EcalEleCalibLooper::EERegionDefinition(), InvRingCalib::EERingDef(), ZeeCalibration::endOfJob(), EcalSimHitsValidProducer::energyInEEMatrix(), EcalEndcapSimHitsValidation::energyInMatrixEE(), spr::extraIds(), PhiSymmetryCalibration_step2::fillConstantsHistos(), PhiSymmetryCalibration_step2_SM::fillConstantsHistos(), MatrixFillMap::fillEEMap(), EcalSimHitsValidProducer::fillEEMatrix(), EcalEndcapSimHitsValidation::fillEEMatrix(), EcalRecHitsValidation::findEndcapMatrix(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), MiscalibReaderFromXMLEcalEndcap::getCellFromAttributes(), EcalEndcapGeometry::getCells(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestEndcapCells(), EcalElectronicsMapping::getDCCandSC(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalEndcapSimHitsValidation::getIdsAroundMax(), popcon::EcalIntercalibHandler::getNewObjects(), popcon::EcalPedestalsHandler::getNewObjectsH2(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), EcalEndcapNumberingScheme::getUnitID(), EcalEndcapGeometry::gId(), ecalpyutils::hashedIndexEE(), Numbers::icEE(), NumbersPn::iLM(), EcalEndcapHardcodedTopology::incrementIx(), EcalEndcapTopology::incrementIx(), EcalEndcapHardcodedTopology::incrementIy(), EcalEndcapTopology::incrementIy(), Numbers::indexEE(), Numbers::iSC(), isNextToRingBoundary(), Numbers::iTCC(), Numbers::iTT(), popcon::EcalChannelStatusHandler::laserAnalysis(), popcon::EcalChannelStatusHandler::laserMasking(), popcon::EcalChannelStatusHandler::nBadLaserModules(), offsetBy(), popcon::EcalChannelStatusHandler::pedAnalysis(), popcon::EcalChannelStatusHandler::pedMasking(), popcon::EcalChannelStatusHandler::pedOnlineMasking(), popcon::EcalChannelStatusHandler::physicsMasking(), cond::PayLoadInspector< DataT >::plot(), CaloMiscalibMapEcal::print(), EcalRecHitProducer::produce(), EcalDetIdToBeRecoveredProducer::produce(), AlCaElectronsProducer::produce(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalDQMChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibConstantsMC(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), EcalDQMStatusWriter::readEcalDQMChannelStatusFromFile(), StoreEcalCondition::readEcalGainRatiosFromFile(), StoreEcalCondition::readEcalIntercalibConstantsFromFile(), StoreEcalCondition::readEcalIntercalibConstantsMCFromFile(), EcalRecHitWorkerRecover::run(), EcalSelectiveReadout::runSelectiveReadout0(), switchZSide(), CaloGenericDetId::validDetId(), and Numbers::validEE().
|
inlinestatic |
Checks if a hashed/dense index is valid
i | hashed/dense index |
Definition at line 234 of file EEDetId.h.
References kSizeForDenseIndexing.
Referenced by EcalPedestalsXMLTranslator::dumpXML(), EcalLaserAPDPNRatiosXMLTranslator::dumpXML(), EcalChannelStatusXMLTranslator::dumpXML(), EcalGainRatiosXMLTranslator::dumpXML(), EcalFloatCondObjectContainerXMLTranslator::dumpXML(), EcalWeightGroupXMLTranslator::dumpXML(), main(), unhashIndex(), and validDenseIndex().
|
inline |
Gets the z-side of the crystal (1/-1)
Definition at line 65 of file EEDetId.h.
References DetId::id_.
Referenced by EcalPreshowerRecHitsValidation::analyze(), EcalEndcapDigisValidation::analyze(), EcalEndcapSimHitsValidation::analyze(), EcalEndcapRecHitsValidation::analyze(), PhiSymmetryCalibration::analyze(), EcalRecHitsValidation::analyze(), EcalDigisValidation::analyze(), EcalCosmicsHists::analyze(), EcalMixingModuleValidation::analyze(), EcalSelectiveReadoutValidation::analyzeEE(), popcon::EcalChannelStatusHandler::cosmicsAnalysis(), EESelectiveReadoutTask::dccNum(), popcon::EcalLaserHandler::dumpEndcapPayload(), InvRingCalib::duringLoop(), ZeeCalibration::duringLoop(), InvRingCalib::EERegId(), InvRingCalib::EERegionDef(), InvRingCalib::EERingDef(), PhiSymmetryCalibration_step2::endJob(), PhiSymmetryCalibration_step2_SM::endJob(), ElectronCalibrationUniv::endJob(), EcalEleCalibLooper::endOfLoop(), ZeeCalibration::endOfLoop(), MatrixFillMap::fillEEMap(), ECALRecHitAnalyzer::FillGeometry(), ecaldqm::fillME(), TrackDetMatchInfo::findMaxDeposition(), EcalEndcapGeometry::getClosestCell(), EcalElectronicsMapping::getEcalScDetId(), EcalRingCalibrationTools::getRingIndex(), hashedIndex(), ecalpyutils::hashedIndexToXY(), EcalRingCalibrationTools::initializeFromGeometry(), isNextToRingBoundary(), popcon::EcalChannelStatusHandler::laserAnalysis(), TrackDetMatchInfo::nXnEnergy(), offsetBy(), popcon::EcalChannelStatusHandler::pedAnalysis(), EcalShowerProperties::processEcalRecHits(), EESelectiveReadoutTask::readOutUnitOf(), EcalRecHitWorkerRecover::run(), sc(), EcalEndcapRecHitsMaker::SChashedIndex(), EcalGeomPhiSymHelper::setup(), EcalSelectiveReadoutValidation::superCrystalOf(), switchZSide(), EcalTrigTowerConstituentsMap::towerOf(), EcalSimHitsValidProducer::update(), CaloGenericDetId::validDetId(), xuti::writeCell(), ECALRecHitAnalyzer::WriteECALRecHits(), Pi0CalibXMLwriter::writeLine(), and calibXMLwriter::writeLine().
|
static |
|
static |
|
static |
|
static |
|
static |
Upper bound of EE crystal y-index
Definition at line 279 of file EEDetId.h.
Referenced by EcalGetLaserData::analyze(), ZeeCalibration::endOfJob(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), idOuterRing(), EcalRingCalibrationTools::initializeFromGeometry(), iPhiOuterRing(), isOuterRing(), cond::PayLoadInspector< DataT >::plot(), CaloMiscalibMapEcal::prefillMap(), CaloMiscalibMapEcal::print(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalDQMChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibConstantsMC(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), StoreEcalCondition::readEcalGainRatiosFromFile(), StoreEcalCondition::readEcalIntercalibConstantsFromFile(), StoreEcalCondition::readEcalIntercalibConstantsMCFromFile(), and validDetId().
|
static |
Lower bound of EE crystal x-index
Definition at line 271 of file EEDetId.h.
Referenced by EcalGetLaserData::analyze(), ZeeCalibration::endOfJob(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), 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::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), StoreEcalCondition::readEcalGainRatiosFromFile(), StoreEcalCondition::readEcalIntercalibConstantsFromFile(), and StoreEcalCondition::readEcalIntercalibConstantsMCFromFile().
|
static |
Upper bound of EE crystal y-index
Definition at line 283 of file EEDetId.h.
Referenced by EcalGetLaserData::analyze(), ZeeCalibration::endOfJob(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), EcalRingCalibrationTools::getDetIdsInECAL(), EcalRingCalibrationTools::getDetIdsInRing(), popcon::EcalPedestalsHandler::getNewObjectsP5(), EcalTrivialConditionRetriever::getTrgChannelStatusFromConfiguration(), idOuterRing(), EcalRingCalibrationTools::initializeFromGeometry(), iPhiOuterRing(), isOuterRing(), cond::PayLoadInspector< DataT >::plot(), CaloMiscalibMapEcal::prefillMap(), CaloMiscalibMapEcal::print(), EcalTrivialConditionRetriever::produceEcalChannelStatus(), EcalTrivialConditionRetriever::produceEcalDQMChannelStatus(), EcalTrivialConditionRetriever::produceEcalGainRatios(), EcalTrivialConditionRetriever::produceEcalIntercalibConstants(), EcalTrivialConditionRetriever::produceEcalIntercalibConstantsMC(), EcalTrivialConditionRetriever::produceEcalIntercalibErrors(), EcalTrivialConditionRetriever::produceEcalLaserAlphas(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatios(), EcalTrivialConditionRetriever::produceEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), StoreEcalCondition::readEcalGainRatiosFromFile(), StoreEcalCondition::readEcalIntercalibConstantsFromFile(), StoreEcalCondition::readEcalIntercalibConstantsMCFromFile(), unhashIndex(), and validDetId().
|
static |
Lower bound of EE crystal y-index
Definition at line 275 of file EEDetId.h.
Referenced by EcalGetLaserData::analyze(), ZeeCalibration::endOfJob(), EcalTestDevDB::generateEcalLaserAlphas(), EcalTestDevDB::generateEcalLaserAPDPNRatios(), EcalTestDevDB::generateEcalLaserAPDPNRatiosRef(), EcalTrivialConditionRetriever::getChannelStatusFromConfiguration(), 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::produceEcalPedestals(), EcalTrivialConditionRetriever::produceEcalTimeCalibConstants(), EcalTrivialConditionRetriever::produceEcalTimeCalibErrors(), popcon::EcalTPGBadXTHandler::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalTrgChannelStatus(), EcalTrivialConditionRetriever::produceEcalWeightXtalGroups(), StoreEcalCondition::readEcalChannelStatusFromFile(), StoreEcalCondition::readEcalGainRatiosFromFile(), StoreEcalCondition::readEcalIntercalibConstantsFromFile(), and StoreEcalCondition::readEcalIntercalibConstantsMCFromFile().
|
staticprivate |
|
staticprivate |
Definition at line 334 of file EEDetId.h.
Referenced by hashedIndex(), and unhashIndex().
|
staticprivate |
Definition at line 333 of file EEDetId.h.
Referenced by hashedIndex(), and unhashIndex().
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |
Definition at line 317 of file EEDetId.h.
Referenced by EEDetId(), and EcalEndcapNumberingScheme::getUnitID().
|
static |
function modes for EEDetId(int, int, int, int) constructor
Definition at line 316 of file EEDetId.h.
Referenced by EECosmicTask::analyze(), EcalTrigTowerConstituentsMap::changeEEDetIdQuadrantAndZ(), EEDetId(), InvRingCalib::EERingDef(), MatrixFillMap::fillEEMap(), EcalElectronicsMapping::getDCCandSC(), EcalTrivialConditionRetriever::getMappingFromConfiguration(), EcalMappingElectronicsHandler::getNewObjects(), popcon::EcalTPGLinConstHandler::getNewObjects(), popcon::EcalTPGPedestalsHandler::getNewObjects(), Numbers::icEE(), Numbers::iSC(), Numbers::iTCC(), Numbers::iTT(), AlCaElectronsProducer::produce(), Numbers::validEE(), and EcalTrigTowerConstituentsMap::wrapEEDetId().