#include <HcalDetId.h>
Public Member Functions | |
constexpr HcalDetId | baseDetId () const |
constexpr void | changeForm () |
constexpr int | crystal_ieta_high () const |
get the largest crystal_ieta of the crystal in front of this tower (HB and HE tower 17 only) More... | |
constexpr int | crystal_ieta_low () const |
get the smallest crystal_ieta of the crystal in front of this tower (HB and HE tower 17 only) More... | |
constexpr int | crystal_iphi_high () const |
get the largest crystal_iphi of the crystal in front of this tower (HB and HE tower 17 only) More... | |
constexpr int | crystal_iphi_low () const |
get the smallest crystal_iphi of the crystal in front of this tower (HB and HE tower 17 only) More... | |
constexpr int | depth () const |
get the tower depth More... | |
constexpr | HcalDetId () |
constexpr | HcalDetId (uint32_t rawid) |
constexpr | HcalDetId (HcalSubdetector subdet, int tower_ieta, int tower_iphi, int depth) |
constexpr | HcalDetId (const DetId &gen) |
constexpr int | hfdepth () const |
get full depth information for HF More... | |
constexpr int | ieta () const |
get the cell ieta More... | |
constexpr int | ietaAbs () const |
get the absolute value of the cell ieta More... | |
constexpr int | iphi () const |
get the cell iphi More... | |
constexpr uint32_t | maskDepth () const |
get the tower depth More... | |
constexpr uint32_t | newForm () const |
constexpr bool | oldFormat () const |
constexpr bool | operator!= (DetId gen) const |
constexpr bool | operator< (DetId gen) const |
constexpr HcalDetId & | operator= (const DetId &gen) |
constexpr bool | operator== (DetId gen) const |
constexpr uint32_t | otherForm () const |
change format More... | |
constexpr bool | sameBaseDetId (const DetId &gen) const |
base detId for HF dual channels More... | |
constexpr HcalDetId | secondAnodeId () const |
second PMT anode detId for HF dual channels More... | |
constexpr HcalSubdetector | subdet () const |
get the subdetector More... | |
constexpr int | zside () const |
get the z-side of the cell (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 constexpr int32_t | newForm (const uint32_t &inpid) |
Static Public Attributes | |
static constexpr uint32_t | kHcalDepthMask1 = 0x1F |
static constexpr uint32_t | kHcalDepthMask2 = 0xF |
static constexpr uint32_t | kHcalDepthOffset1 = 14 |
static constexpr uint32_t | kHcalDepthOffset2 = 20 |
static constexpr uint32_t | kHcalDepthSet1 = 0x1C000 |
static constexpr uint32_t | kHcalDepthSet2 = 0xF00000 |
static constexpr uint32_t | kHcalEtaMask1 = 0x3F |
static constexpr uint32_t | kHcalEtaMask2 = 0x1FF |
static constexpr uint32_t | kHcalEtaOffset1 = 7 |
static constexpr uint32_t | kHcalEtaOffset2 = 10 |
static constexpr uint32_t | kHcalIdFormat2 = 0x1000000 |
static constexpr uint32_t | kHcalIdMask = 0xFE000000 |
static constexpr uint32_t | kHcalPhiMask1 = 0x7F |
static constexpr uint32_t | kHcalPhiMask2 = 0x3FF |
static constexpr uint32_t | kHcalZsideMask1 = 0x2000 |
static constexpr uint32_t | kHcalZsideMask2 = 0x80000 |
static const HcalDetId | Undefined |
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 |
Private Member Functions | |
constexpr void | newFromOld (const uint32_t &rawid) |
Static Private Member Functions | |
static constexpr void | unpackId (const uint32_t &rawid, int &zsid, int &eta, int &phi, int &dep) |
Additional Inherited Members | |
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 } |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
Cell identifier class for the HCAL subdetectors, precision readout cells only
Definition at line 12 of file HcalDetId.h.
|
inline |
Create a null cellid
Definition at line 33 of file HcalDetId.h.
Referenced by baseDetId(), and secondAnodeId().
|
inline |
Create cellid from raw id (0=invalid tower id)
Definition at line 35 of file HcalDetId.h.
References DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, DetId::id_, DetId::kDetMask, DetId::kDetOffset, DetId::kSubdetMask, DetId::kSubdetOffset, newForm(), and subdet().
|
inline |
Constructor from subdetector, signed tower ieta,iphi,and depth
Definition at line 49 of file HcalDetId.h.
References DetId::id_, kHcalDepthMask2, kHcalDepthOffset2, kHcalEtaOffset2, kHcalIdFormat2, kHcalPhiMask2, and kHcalZsideMask2.
|
inline |
Constructor from a generic cell id
Definition at line 57 of file HcalDetId.h.
References TauDecayModes::dec, DetId::det(), Exception, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, HcalTriggerTower, DetId::id_, newForm(), DetId::null(), DetId::rawId(), subdet(), and DetId::subdetId().
|
inline |
Definition at line 226 of file HcalDetId.h.
References depth(), PVValHelper::eta, HcalDetId(), HcalForward, DetId::id_, kHcalDepthMask2, kHcalDepthOffset2, kHcalEtaOffset2, kHcalIdFormat2, kHcalIdMask, kHcalPhiMask2, kHcalZsideMask2, phi, subdet(), and unpackId().
|
inline |
Definition at line 198 of file HcalDetId.h.
References DetId::id_, and otherForm().
Referenced by HcalTopology::down(), HcalTopology::north(), HcalTopology::south(), and HcalTopology::up().
|
inline |
get the largest crystal_ieta of the crystal in front of this tower (HB and HE tower 17 only)
Definition at line 259 of file HcalDetId.h.
References ieta(), and zside().
Referenced by CaloTowerConstituentsMap::constituentsOf().
|
inline |
get the smallest crystal_ieta of the crystal in front of this tower (HB and HE tower 17 only)
Definition at line 257 of file HcalDetId.h.
References ieta(), and zside().
Referenced by CaloTowerConstituentsMap::constituentsOf().
|
inline |
get the largest crystal_iphi of the crystal in front of this tower (HB and HE tower 17 only)
Definition at line 267 of file HcalDetId.h.
References iphi().
Referenced by CaloTowerConstituentsMap::constituentsOf().
|
inline |
get the smallest crystal_iphi of the crystal in front of this tower (HB and HE tower 17 only)
Definition at line 261 of file HcalDetId.h.
References iphi().
Referenced by CaloTowerConstituentsMap::constituentsOf().
|
inline |
get the tower depth
Definition at line 164 of file HcalDetId.h.
References DetId::id_, kHcalDepthMask1, kHcalDepthMask2, kHcalDepthOffset1, kHcalDepthOffset2, and oldFormat().
Referenced by LEDTask::_process(), HcalTriggerPrimitiveAlgo::addSignal(), JetToDigiDump::analyze(), HCALRecHitAnalyzer::analyze(), DQMHcalPhiSymAlCaReco::analyze(), DQMHcalIterativePhiSymAlCaReco::analyze(), HcalGeomCheck::analyze(), cms::Analyzer_minbias::analyze(), HcalHBHEMuonAnalyzer::analyze(), CMTRawAnalyzer::analyze(), HcalSimHitStudy::analyzeHits(), HcalSimHitCheck::analyzeHits(), CaloSimHitAnalysis::analyzePassiveHits(), HcalHBHEMuonHighEtaAnalyzer::analyzeTracks(), CaloTowersCreationAlgo::assignHitHcal(), baseDetId(), RecAnalyzerHF::beginJob(), PFCandidateRecalibrator::beginRun(), reco::helper::JetIDHelper::classifyJetComponents(), convertHB(), HcalTopology::decrementDepth(), HcalTopology::detId2denseId(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdPreLS1(), cms::MinBias::endJob(), ChannelPattern::Fill_by_hand(), CMTRawAnalyzer::fillDigiAmplitude(), CMTRawAnalyzer::fillDigiAmplitudeHF(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiAmplitudeHO(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), CMTRawAnalyzer::fillDigiErrors(), CMTRawAnalyzer::fillDigiErrorsHF(), CMTRawAnalyzer::fillDigiErrorsHFQIE10(), CMTRawAnalyzer::fillDigiErrorsHO(), CMTRawAnalyzer::fillDigiErrorsQIE11(), HcalHardcodeGeometryLoader::fillHBHO(), CMTRawAnalyzer::fillMAP(), HcalObjRepresent::fillOneGain(), HcalObjRepresent::HcalDataContainer< Items, Item >::fillValConts(), hcaldqm::quantity::getBin_depth(), HcalChannelIterator::getDepth(), hgcal::RecHitTools::getLayer(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), HcaluLUTTPGCoder::getLUTId(), HCALConfigDB::getOnlineLUT(), HCALConfigDB::getOnlineLUTFromXML(), CaloTowersCreationAlgo::getThresholdAndWeight(), hcaldqm::quantity::getValue_depth(), EgammaHcalIsolation::goodHitEnergy(), CaloTowersCreationAlgo::hadShwrPos(), egamma::hasActiveHcal(), hcaldqm::hashfunctions::hash_depth(), hcaldqm::hashfunctions::hash_Subdetdepth(), hcalTransformedId(), hfdepth(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), PFHBHERecHitCreator::importRecHits(), PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::importRecHits(), PFHFRecHitCreator::importRecHits(), HcalTopology::incrementDepth(), DetIdInfo::info(), fireworks::info(), HcalText2DetIdConverter::init(), CastorLedAnalysis::LedTrendings(), HcalLedAnalysis::LedTrendings(), CastorDbHardcode::makeGain(), hcaldqm::hashfunctions::name_DChannel(), hcaldqm::hashfunctions::name_depth(), hcaldqm::hashfunctions::name_Subdetdepth(), HcalIsoTrkSimAnalyzer::newId(), HcalIsoTrkAnalyzer::newId(), AlCaHcalIsotrkProducer::newId(), operator!=(), CastorDbASCIIIO::DetIdLess::operator()(), operator==(), otherForm(), FixedGridRhoProducerFastjetFromRecHit::passedHcalNoiseCut(), HcalPedestalAnalysis::per2CapsHists(), CastorPedestalAnalysis::per2CapsHists(), PulseShapeFitOOTPileupCorrection::phase1Apply(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), HcalCableMapper::process(), AlCaHcalHBHEMuonProducer::produce(), HcalHardcodeCalibrations::produceChannelQuality(), HcalHardcodeCalibrations::produceRespCorrs(), HcalDigisValidation::reco(), CaloTowersCreationAlgo::rescale(), HFStripFilter::runFilter(), secondAnodeId(), CastorLedAnalysis::SetupLEDHists(), HcalLedAnalysis::SetupLEDHists(), HcalSimParameterMap::simParameters(), hcalCalib::Terminate(), PFRecHitQTestHCALChannel::test(), PFRecHitQTestHCALTimeVsDepth::test(), PFRecHitQTestHCALThresholdVsDepth::test(), HcalTrigTowerGeometry::towerIds(), CastorPedestalAnalysis::Trendings(), HcalPedestalAnalysis::Trendings(), HcaluLUTTPGCoder::update(), and CalorimetryManager::updateHCAL().
|
inline |
get full depth information for HF
Definition at line 171 of file HcalDetId.h.
References depth(), HcalForward, and subdet().
Referenced by sameBaseDetId().
|
inline |
get the cell ieta
Definition at line 155 of file HcalDetId.h.
References ietaAbs(), and zside().
Referenced by LEDTask::_process(), RecHitTask::_process(), FWTGeoRecoGeometryESProducer::addHcalCaloGeometryBarrel(), FWTGeoRecoGeometryESProducer::addHcalCaloGeometryEndcap(), FWTGeoRecoGeometryESProducer::addHcalCaloGeometryForward(), FWTGeoRecoGeometryESProducer::addHcalCaloGeometryOuter(), HcalGeometry::alignmentBarEndForIndexLocal(), HcalGeometry::alignmentOuterIndexLocal(), JetToDigiDump::analyze(), HCALRecHitAnalyzer::analyze(), DQMHcalIterativePhiSymAlCaReco::analyze(), DQMHcalPhiSymAlCaReco::analyze(), HcalGeomCheck::analyze(), HcalTB06Analysis::analyze(), HCALGPUAnalyzer::analyze(), cms::Analyzer_minbias::analyze(), ValidIsoTrkCalib::analyze(), IsoTrackCalibration::analyze(), HcalHBHEMuonAnalyzer::analyze(), IsoTrackCalib::analyze(), IsolatedTracksHcalScale::analyze(), CMTRawAnalyzer::analyze(), RecAnalyzerMinbias::analyzeHcal(), HcalSimHitStudy::analyzeHits(), HcalSimHitCheck::analyzeHits(), HcalHBHEMuonHighEtaAnalyzer::analyzeTracks(), RecAnalyzerHF::beginJob(), PFCandidateRecalibrator::beginRun(), HcalHaloAlgo::Calculate(), reco::helper::JetIDHelper::classifyJetComponents(), RBXAndHPDCleaner::clean(), SpikeAndDoubleSpikeCleaner::clean(), convertHB(), crystal_ieta_high(), crystal_ieta_low(), HcalTopology::decrementDepth(), HcalTopology::detId2denseId(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdHO(), spr::eHCALmatrix(), cms::MinBias::endJob(), spr::energyHCALCell(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), CMTRawAnalyzer::fillDigiErrorsHFQIE10(), CMTRawAnalyzer::fillDigiErrorsQIE11(), HCALRecHitAnalyzer::FillGeometry(), HcalHardcodeGeometryLoader::fillHBHO(), AlCaHOCalibProducer::fillHOStore(), CMTRawAnalyzer::fillMAP(), HcalObjRepresent::fillOneGain(), HcalIsoTrkSimAnalyzer::fillTree(), HcalIsoTrkAnalyzer::fillTree(), HcalObjRepresent::HcalDataContainer< Items, Item >::fillValConts(), HLTHcalLaserMisfireFilter::filter(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), TrackDetMatchInfo::findMaxDeposition(), CaloGeometryHelper::getClosestCell(), hcalCalib::GetCoefFromMtrxInvOfAve(), spr::getHotCell(), HBHEHitMapOrganizer::getHPDNeighbors(), HcalChannelIterator::getIeta(), HcaluLUTTPGCoder::getLUTId(), HBHERecHit::getMergedIds(), AlCaHcalIsotrkProducer::getProducts(), CaloTowersCreationAlgo::getThresholdAndWeight(), hcaldqm::quantity::getValue_ieta(), hcaldqm::quantity::getValue_SubdetPM(), egamma::hasActiveHcal(), hcaldqm::hashfunctions::hash_HFPMiphi(), hcaldqm::hashfunctions::hash_ieta(), hcaldqm::hashfunctions::hash_Subdetieta(), hcaldqm::hashfunctions::hash_SubdetPM(), hcaldqm::hashfunctions::hash_SubdetPMiphi(), HBHEHitMapOrganizer::HBHEHitMapOrganizer(), SimpleHBHEPhase1Algo::hbminusCorrectionFactor(), hcalTransformedId(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), HBHERecHit::idFront(), PFHFRecHitCreator::importRecHits(), HcalTopology::incrementDepth(), DetIdInfo::info(), fireworks::info(), HcalText2DetIdConverter::init(), CastorLedAnalysis::LedTrendings(), HcalLedAnalysis::LedTrendings(), HFClusterAlgo::makeCluster(), HcalRaddamMuon::matchId(), HcalHBHEMuonAnalyzer::matchId(), HcalHBHEMuonHighEtaAnalyzer::matchId(), AlCaHcalHBHEMuonProducer::matchId(), hcaldqm::hashfunctions::name_DChannel(), hcaldqm::hashfunctions::name_HFPMiphi(), hcaldqm::hashfunctions::name_ieta(), hcaldqm::hashfunctions::name_Subdetieta(), hcaldqm::hashfunctions::name_SubdetPM(), hcaldqm::hashfunctions::name_SubdetPMiphi(), HcalIsoTrkSimAnalyzer::newId(), HcalIsoTrkAnalyzer::newId(), AlCaHcalIsotrkProducer::newId(), TrackDetMatchInfo::nXnEnergy(), otherForm(), HcalPedestalAnalysis::per2CapsHists(), CastorPedestalAnalysis::per2CapsHists(), reco::CentralityProducer::produce(), AlCaHcalHBHEMuonProducer::produce(), HcalHardcodeCalibrations::produceChannelQuality(), HcalHardcodeCalibrations::produceRespCorrs(), HcalDigisValidation::reco(), HFStripFilter::runFilter(), AlCaIsoTracksProducer::select(), L1Analysis::L1AnalysisL1HO::SetHO(), PileUpSubtractor::setupGeometryMap(), HiPuRhoProducer::setupGeometryMap(), CastorLedAnalysis::SetupLEDHists(), HcalLedAnalysis::SetupLEDHists(), IsoTrig::studyIsolation(), hcalCalib::Terminate(), HcalTrigTowerGeometry::towerIds(), HcalPedestalAnalysis::Trendings(), CastorPedestalAnalysis::Trendings(), and HcalUnpacker::unpackVME().
|
inline |
get the absolute value of the cell ieta
Definition at line 148 of file HcalDetId.h.
References DetId::id_, kHcalEtaMask1, kHcalEtaMask2, kHcalEtaOffset1, kHcalEtaOffset2, and oldFormat().
Referenced by CaloSimHitAnalysis::analyzePassiveHits(), HcalTriggerPrimitiveAlgo::analyzeQIE11(), CaloTowersCreationAlgo::assignHitHcal(), HBHEHitMap::calcHits_(), HcalTopology::decrementDepth(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdHO(), HcalTopology::detId2denseIdPreLS1(), spr::energyHCALCell(), ChannelPattern::Fill_by_hand(), AlCaIsoTracksFilter::filter(), HCalSD::getEnergyDeposit(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), HCALConfigDB::getOnlineLUT(), HCALConfigDB::getOnlineLUTFromXML(), CaloTowersCreationAlgo::getThresholdAndWeight(), ieta(), HcalTopology::incrementDepth(), HFClusterAlgo::makeCluster(), CaloTowersCreationAlgo::makeHcalDropChMap(), HcalIsoTrkSimAnalyzer::newId(), HcalIsoTrkAnalyzer::newId(), AlCaHcalIsotrkProducer::newId(), operator!=(), CastorDbASCIIIO::DetIdLess::operator()(), operator==(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), HcalCableMapper::process(), HcalHardcodeCalibrations::produceChannelQuality(), sameBaseDetId(), HcalSimParameters::samplingFactor(), AlCaIsoTracksProducer::select(), HBHEPulseShapeFlagSetter::SetPulseShapeFlags(), hcalCalib::Terminate(), HcalTrigTowerGeometry::towerIds(), CaloTowerConstituentsMap::towerOf(), HcaluLUTTPGCoder::update(), CalorimetryManager::updateHCAL(), and ObjectValidator::validHit().
|
inline |
get the cell iphi
Definition at line 157 of file HcalDetId.h.
References DetId::id_, kHcalPhiMask1, kHcalPhiMask2, and oldFormat().
Referenced by LEDTask::_process(), LaserTask::_process(), HcalGeometry::alignmentBarEndForIndexLocal(), HcalGeometry::alignmentOuterIndexLocal(), JetToDigiDump::analyze(), HCALRecHitAnalyzer::analyze(), DQMHcalIterativePhiSymAlCaReco::analyze(), DQMHcalPhiSymAlCaReco::analyze(), HcalGeomCheck::analyze(), HcalTB06Analysis::analyze(), HCALGPUAnalyzer::analyze(), cms::Analyzer_minbias::analyze(), ValidIsoTrkCalib::analyze(), HcalHBHEMuonAnalyzer::analyze(), IsolatedTracksHcalScale::analyze(), BeamHaloAnalyzer::analyze(), CMTRawAnalyzer::analyze(), RecAnalyzerMinbias::analyzeHcal(), HcalSimHitStudy::analyzeHits(), HcalSimHitCheck::analyzeHits(), HcalHBHEMuonHighEtaAnalyzer::analyzeTracks(), RecAnalyzerHF::beginJob(), PFCandidateRecalibrator::beginRun(), RBXAndHPDCleaner::clean(), SpikeAndDoubleSpikeCleaner::clean(), crystal_iphi_high(), crystal_iphi_low(), HcalTopology::decrementDepth(), HcalTopology::detId2denseId(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdHO(), HcalTopology::detId2denseIdPreLS1(), spr::eHCALmatrix(), cms::MinBias::endJob(), spr::energyHCALCell(), ChannelPattern::Fill_by_hand(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), CMTRawAnalyzer::fillDigiErrorsHFQIE10(), CMTRawAnalyzer::fillDigiErrorsQIE11(), HCALRecHitAnalyzer::FillGeometry(), HcalHardcodeGeometryLoader::fillHBHO(), AlCaHOCalibProducer::fillHOStore(), CMTRawAnalyzer::fillMAP(), HcalObjRepresent::fillOneGain(), HcalIsoTrkSimAnalyzer::fillTree(), HcalIsoTrkAnalyzer::fillTree(), HcalObjRepresent::HcalDataContainer< Items, Item >::fillValConts(), HLTHcalLaserMisfireFilter::filter(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), TrackDetMatchInfo::findMaxDeposition(), hcaldqm::quantity::getBin_iphi(), CaloGeometryHelper::getClosestCell(), HCalSD::getEnergyDeposit(), spr::getHotCell(), HBHEHitMapOrganizer::getHPDNeighbors(), HcalChannelIterator::getIphi(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), HcaluLUTTPGCoder::getLUTId(), HBHERecHit::getMergedIds(), HCALConfigDB::getOnlineLUT(), HCALConfigDB::getOnlineLUTFromXML(), AlCaHcalIsotrkProducer::getProducts(), hcaldqm::quantity::getValue_iphi(), egamma::hasActiveHcal(), hcaldqm::hashfunctions::hash_HBHEPartition(), hcaldqm::hashfunctions::hash_HFPMiphi(), hcaldqm::hashfunctions::hash_iphi(), hcaldqm::hashfunctions::hash_Subdetiphi(), hcaldqm::hashfunctions::hash_SubdetPMiphi(), HBHEHitMapOrganizer::HBHEHitMapOrganizer(), SimpleHBHEPhase1Algo::hbminusCorrectionFactor(), hcalTransformedId(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), HBHERecHit::idFront(), PFHFRecHitCreator::importRecHits(), HcalTopology::incrementDepth(), DetIdInfo::info(), fireworks::info(), HcalText2DetIdConverter::init(), CastorLedAnalysis::LedTrendings(), HcalLedAnalysis::LedTrendings(), HFClusterAlgo::makeCluster(), HcalRaddamMuon::matchId(), HcalHBHEMuonAnalyzer::matchId(), HcalHBHEMuonHighEtaAnalyzer::matchId(), AlCaHcalHBHEMuonProducer::matchId(), hcaldqm::hashfunctions::name_DChannel(), hcaldqm::hashfunctions::name_HBHEPartition(), hcaldqm::hashfunctions::name_HFPMiphi(), hcaldqm::hashfunctions::name_iphi(), hcaldqm::hashfunctions::name_Subdetiphi(), hcaldqm::hashfunctions::name_SubdetPMiphi(), HcalIsoTrkSimAnalyzer::newId(), HcalIsoTrkAnalyzer::newId(), AlCaHcalIsotrkProducer::newId(), TrackDetMatchInfo::nXnEnergy(), operator!=(), CastorDbASCIIIO::DetIdLess::operator()(), operator==(), otherForm(), HcalPedestalAnalysis::per2CapsHists(), CastorPedestalAnalysis::per2CapsHists(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), HcalCableMapper::process(), AlCaHcalHBHEMuonProducer::produce(), HcalHardcodeCalibrations::produceChannelQuality(), HcalDigisValidation::reco(), HFStripFilter::runFilter(), sameBaseDetId(), AlCaIsoTracksProducer::select(), L1Analysis::L1AnalysisL1HO::SetHO(), HiPuRhoProducer::setupGeometryMap(), CastorLedAnalysis::SetupLEDHists(), HcalLedAnalysis::SetupLEDHists(), hcalCalib::Terminate(), HcalTrigTowerGeometry::towerIds(), CaloTowerConstituentsMap::towerOf(), HcalPedestalAnalysis::Trendings(), CastorPedestalAnalysis::Trendings(), and HcalUnpacker::unpackVME().
|
inline |
get the tower depth
Definition at line 180 of file HcalDetId.h.
References DetId::id_, kHcalDepthSet1, kHcalDepthSet2, and oldFormat().
Referenced by HcalTriggerPrimitiveAlgo::addSignal().
|
inline |
Definition at line 199 of file HcalDetId.h.
References DetId::id_, and newForm().
Referenced by HcalDigitizer::accumulateCaloHits(), HcalDetId(), newForm(), newFromOld(), operator=(), and otherForm().
|
inlinestatic |
Definition at line 200 of file HcalDetId.h.
References PVValHelper::eta, kHcalDepthMask2, kHcalDepthOffset2, kHcalEtaOffset2, kHcalIdFormat2, kHcalIdMask, kHcalPhiMask2, kHcalZsideMask2, phi, and unpackId().
|
inlineprivate |
|
inline |
Definition at line 139 of file HcalDetId.h.
References DetId::id_, and kHcalIdFormat2.
Referenced by HcalDigitizer::accumulateCaloHits(), depth(), HcalTopology::down(), ietaAbs(), iphi(), maskDepth(), HcalTopology::north(), operator<(), otherForm(), HcalTopology::south(), HcalTopology::up(), and zside().
|
inline |
Definition at line 105 of file HcalDetId.h.
References depth(), PVValHelper::eta, DetId::id_, ietaAbs(), iphi(), kHcalIdMask, phi, DetId::rawId(), mps_fire::result, unpackId(), and zside().
|
inline |
Definition at line 116 of file HcalDetId.h.
References PVValHelper::eta, DetId::id_, kHcalDepthMask1, kHcalDepthMask2, kHcalDepthOffset1, kHcalDepthOffset2, kHcalEtaOffset1, kHcalEtaOffset2, kHcalIdFormat2, kHcalIdMask, kHcalPhiMask1, kHcalPhiMask2, kHcalZsideMask1, kHcalZsideMask2, oldFormat(), phi, DetId::rawId(), and unpackId().
Assignment from a generic cell id
Definition at line 75 of file HcalDetId.h.
References TauDecayModes::dec, DetId::det(), Exception, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, HcalTriggerTower, DetId::id_, newForm(), DetId::null(), DetId::rawId(), subdet(), and DetId::subdetId().
|
inline |
Comparison operator
Definition at line 94 of file HcalDetId.h.
References depth(), PVValHelper::eta, DetId::id_, ietaAbs(), iphi(), kHcalIdMask, phi, DetId::rawId(), mps_fire::result, unpackId(), and zside().
|
inline |
change format
Definition at line 187 of file HcalDetId.h.
References depth(), DetId::id_, ieta(), iphi(), kHcalDepthMask1, kHcalDepthOffset1, kHcalEtaOffset1, kHcalIdMask, kHcalPhiMask1, kHcalZsideMask1, newForm(), and oldFormat().
Referenced by changeForm().
|
inline |
base detId for HF dual channels
Definition at line 213 of file HcalDetId.h.
References PVValHelper::eta, HcalForward, hfdepth(), DetId::id_, ietaAbs(), iphi(), kHcalIdMask, phi, DetId::rawId(), mps_fire::result, subdet(), unpackId(), and zside().
|
inline |
second PMT anode detId for HF dual channels
Definition at line 241 of file HcalDetId.h.
References depth(), PVValHelper::eta, HcalDetId(), HcalForward, DetId::id_, kHcalDepthMask2, kHcalDepthOffset2, kHcalEtaOffset2, kHcalIdFormat2, kHcalIdMask, kHcalPhiMask2, kHcalZsideMask2, phi, subdet(), and unpackId().
Referenced by HFPhase1Reconstructor::produce().
|
inline |
get the subdetector
Definition at line 138 of file HcalDetId.h.
References DetId::subdetId().
Referenced by LaserTask::_dump(), QIE10Task::_process(), PedestalTask::_process(), LEDTask::_process(), RecHitTask::_process(), DigiTask::_process(), LaserTask::_process(), HcalDigitizer::accumulateCaloHits(), HcalTriggerPrimitiveAlgo::addSignal(), HcalGeometry::alignmentTransformIndexLocal(), JetToDigiDump::analyze(), HCALRecHitAnalyzer::analyze(), CaloTowersValidation::analyze(), CaloTowersAnalyzer::analyze(), WriteL1TriggerObjectsTxt::analyze(), HcalSimHitsValidation::analyze(), HcalGeomCheck::analyze(), HcalRecHitsValidation::analyze(), HcalTB06Analysis::analyze(), HcalHBHEMuonAnalyzer::analyze(), CMTRawAnalyzer::analyze(), AnalyzerMinbias::analyzeHcal(), RecAnalyzerMinbias::analyzeHcal(), HcalSimHitStudy::analyzeHits(), HcalSimHitCheck::analyzeHits(), HitParentTest::analyzeHits(), CaloSimHitAnalysis::analyzeHits(), HGCalTBAnalyzer::analyzeSimHits(), HcalHBHEMuonHighEtaAnalyzer::analyzeTracks(), CaloTowersCreationAlgo::assignHitHcal(), baseDetId(), reco::helper::JetIDHelper::classifyJetComponents(), reco::helper::JetIDHelper::classifyJetTowers(), CaloTowersCreationAlgo::convert(), HcalTopology::decrementDepth(), HcalPulseShapes::defaultShape(), HcalTimeSlewSim::delay(), HcalTopology::detId2denseId(), HcalTopology::detId2denseIdPreLS1(), spr::eHCALmatrix(), hcaldqm::RecoRunSummary::endJob(), hcaldqm::TPRunSummary::endJob(), hcaldqm::DigiRunSummary::endJob(), hcaldqm::DigiRunSummary::endLuminosityBlock(), spr::energyHCALCell(), ChannelPattern::Fill_by_hand(), CMTRawAnalyzer::fillDigiAmplitudeHFQIE10(), CMTRawAnalyzer::fillDigiAmplitudeQIE11(), CMTRawAnalyzer::fillDigiErrorsHFQIE10(), CMTRawAnalyzer::fillDigiErrorsQIE11(), HcalObjRepresent::fillOneGain(), CaloParticleDebugger::fillSimHits(), CaloTruthAccumulator::fillSimHits(), HLTHcalLaserMisfireFilter::filter(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), hcaldqm::quantity::getBin_depth(), hcaldqm::quantity::getBin_Subdet(), spr::getEnergy(), HcalChannelIterator::getHcalSubdetector(), spr::getHotCell(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), HcaluLUTTPGCoder::getLUTId(), HBHERecHit::getMergedIds(), HCALConfigDB::getOnlineLUT(), HCALConfigDB::getOnlineLUTFromXML(), CaloTowersCreationAlgo::getThresholdAndWeight(), hcaldqm::quantity::getValue_ieta(), hcaldqm::quantity::getValue_Subdet(), hcaldqm::quantity::getValue_SubdetPM(), HcalHBHEMuonAnalyzer::goodCell(), HcalHBHEMuonHighEtaAnalyzer::goodCell(), AlCaHcalHBHEMuonProducer::goodCell(), CaloTowersCreationAlgo::hadShwrPos(), egamma::hasActiveHcal(), hcaldqm::hashfunctions::hash_depth(), hcaldqm::hashfunctions::hash_Subdet(), hcaldqm::hashfunctions::hash_Subdetdepth(), hcaldqm::hashfunctions::hash_Subdetieta(), hcaldqm::hashfunctions::hash_Subdetiphi(), hcaldqm::hashfunctions::hash_SubdetPM(), hcaldqm::hashfunctions::hash_SubdetPMiphi(), SimpleHBHEPhase1Algo::hbminusCorrectionFactor(), HcalDetId(), hcalTransformedId(), hfdepth(), HBHERecHit::idFront(), HcalTopology::incrementDepth(), DetIdInfo::info(), fireworks::info(), HcalGeometry::localCorners(), HcalDDDGeometryLoader::makeCell(), CaloTowersCreationAlgo::makeHcalDropChMap(), SignCaloSpecificAlgo::makeVectorOutOfCaloTowers(), HcalRaddamMuon::matchId(), HcalHBHEMuonAnalyzer::matchId(), HcalHBHEMuonHighEtaAnalyzer::matchId(), AlCaHcalHBHEMuonProducer::matchId(), hcaldqm::hashfunctions::name_DChannel(), hcaldqm::hashfunctions::name_depth(), hcaldqm::hashfunctions::name_Subdet(), hcaldqm::hashfunctions::name_Subdetdepth(), hcaldqm::hashfunctions::name_Subdetieta(), hcaldqm::hashfunctions::name_Subdetiphi(), hcaldqm::hashfunctions::name_SubdetPM(), hcaldqm::hashfunctions::name_SubdetPMiphi(), HcalIsoTrkSimAnalyzer::newId(), HcalIsoTrkAnalyzer::newId(), AlCaHcalIsotrkProducer::newId(), operator=(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), HcalCableMapper::process(), HBHEPhase1Reconstructor::processData(), AlCaHcalHBHEMuonProducer::produce(), HcalDigisValidation::reco(), CaloTowersCreationAlgo::rescale(), CaloTowersCreationAlgo::rescaleTowers(), sameBaseDetId(), secondAnodeId(), HcalSimParameterMap::setFrameSize(), HcalZSAlgoRealistic::shouldKeep(), HcalTBSimParameterMap::simParameters(), HcalSimParameterMap::simParameters(), hcalCalib::Terminate(), PFRecHitQTestHCALChannel::test(), PFRecHitQTestHCALThresholdVsDepth::test(), HcalTrigTowerGeometry::towerIds(), CaloTowerConstituentsMap::towerOf(), HcaluLUTTPGCoder::update(), CaloSpecificAlgo::update_HadEtInHB_HadEtInHE_HadEtInHO_HadEtInHF_EmEtInHF(), CaloSpecificAlgo::update_MaxTowerEm_MaxTowerHad(), CaloSpecificAlgo::update_sumEtInpHF_MExInpHF_MEyInpHF_sumEtInmHF_MExInmHF_MEyInmHF(), CaloSpecificAlgo::update_totalEt_totalEm(), and ObjectValidator::validHit().
|
inlinestaticprivate |
Definition at line 278 of file HcalDetId.h.
References kHcalDepthMask1, kHcalDepthMask2, kHcalDepthOffset1, kHcalDepthOffset2, kHcalEtaMask1, kHcalEtaMask2, kHcalEtaOffset1, kHcalEtaOffset2, kHcalIdFormat2, kHcalPhiMask1, kHcalPhiMask2, kHcalZsideMask1, and kHcalZsideMask2.
Referenced by baseDetId(), newForm(), operator!=(), operator<(), operator==(), sameBaseDetId(), and secondAnodeId().
|
inline |
get the z-side of the cell (1/-1)
Definition at line 141 of file HcalDetId.h.
References DetId::id_, kHcalZsideMask1, kHcalZsideMask2, and oldFormat().
Referenced by FWTGeoRecoGeometryESProducer::addHcalCaloGeometryBarrel(), FWTGeoRecoGeometryESProducer::addHcalCaloGeometryEndcap(), FWTGeoRecoGeometryESProducer::addHcalCaloGeometryForward(), FWTGeoRecoGeometryESProducer::addHcalCaloGeometryOuter(), CaloTowerConstituentsMap::constituentsOf(), crystal_ieta_high(), crystal_ieta_low(), HcalTopology::decrementDepth(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdHO(), HcalTopology::detId2denseIdPreLS1(), ChannelPattern::Fill_by_hand(), HCalSD::getEnergyDeposit(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), HCALConfigDB::getOnlineLUT(), HCALConfigDB::getOnlineLUTFromXML(), ieta(), HcalTopology::incrementDepth(), HcalDDDGeometryLoader::makeCell(), HFClusterAlgo::makeCluster(), HcalIsoTrkSimAnalyzer::newId(), HcalIsoTrkAnalyzer::newId(), AlCaHcalIsotrkProducer::newId(), operator!=(), CastorDbASCIIIO::DetIdLess::operator()(), operator==(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), sameBaseDetId(), HcalTrigTowerGeometry::towerIds(), CaloTowerConstituentsMap::towerOf(), and hgcal::RecHitTools::zside().
|
static |
Definition at line 24 of file HcalDetId.h.
Referenced by depth(), operator<(), otherForm(), and unpackId().
|
static |
Definition at line 25 of file HcalDetId.h.
Referenced by baseDetId(), depth(), HcalDetId(), newForm(), operator<(), CaloMiscalibMapHcal::prefillMap(), secondAnodeId(), unpackId(), and HcaluLUTTPGCoder::updateXML().
|
static |
Definition at line 22 of file HcalDetId.h.
Referenced by AHCalDetId::AHCalDetId(), AHCalDetId::depth(), depth(), operator<(), otherForm(), and unpackId().
|
static |
Definition at line 23 of file HcalDetId.h.
Referenced by baseDetId(), depth(), HcalDetId(), newForm(), operator<(), secondAnodeId(), and unpackId().
|
static |
Definition at line 26 of file HcalDetId.h.
Referenced by maskDepth().
|
static |
Definition at line 27 of file HcalDetId.h.
Referenced by maskDepth().
|
static |
Definition at line 18 of file HcalDetId.h.
Referenced by AHCalDetId::AHCalDetId(), ietaAbs(), AHCalDetId::irow(), AHCalDetId::irowAbs(), and unpackId().
|
static |
Definition at line 19 of file HcalDetId.h.
Referenced by ietaAbs(), CaloMiscalibMapHcal::prefillMap(), unpackId(), and HcaluLUTTPGCoder::updateXML().
|
static |
Definition at line 16 of file HcalDetId.h.
Referenced by AHCalDetId::AHCalDetId(), ietaAbs(), AHCalDetId::irow(), AHCalDetId::irowAbs(), operator<(), otherForm(), and unpackId().
|
static |
Definition at line 17 of file HcalDetId.h.
Referenced by baseDetId(), HcalDetId(), ietaAbs(), newForm(), operator<(), secondAnodeId(), and unpackId().
|
static |
Definition at line 28 of file HcalDetId.h.
Referenced by baseDetId(), HcalDetId(), newForm(), oldFormat(), operator<(), secondAnodeId(), and unpackId().
|
static |
Definition at line 29 of file HcalDetId.h.
Referenced by baseDetId(), newForm(), operator!=(), operator<(), operator==(), otherForm(), sameBaseDetId(), and secondAnodeId().
|
static |
Definition at line 14 of file HcalDetId.h.
Referenced by AHCalDetId::AHCalDetId(), AHCalDetId::icol(), AHCalDetId::icolAbs(), iphi(), operator<(), otherForm(), and unpackId().
|
static |
Definition at line 15 of file HcalDetId.h.
Referenced by baseDetId(), HcalDetId(), iphi(), newForm(), operator<(), CaloMiscalibMapHcal::prefillMap(), secondAnodeId(), unpackId(), and HcaluLUTTPGCoder::updateXML().
|
static |
Definition at line 20 of file HcalDetId.h.
Referenced by AHCalDetId::AHCalDetId(), operator<(), otherForm(), unpackId(), and zside().
|
static |
Definition at line 21 of file HcalDetId.h.
Referenced by baseDetId(), HcalDetId(), newForm(), operator<(), secondAnodeId(), unpackId(), and zside().
|
static |
Definition at line 273 of file HcalDetId.h.
Referenced by CastorText2DetIdConverter::init(), HcalText2DetIdConverter::init(), and CastorDbHardcode::makeHardcodeMap().