#include <HcalDetId.h>
Public Member Functions | |
void | changeForm () |
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... | |
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... | |
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... | |
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... | |
int | depth () const |
get the tower depth More... | |
HcalDetId () | |
HcalDetId (uint32_t rawid) | |
HcalDetId (HcalSubdetector subdet, int tower_ieta, int tower_iphi, int depth) | |
HcalDetId (const DetId &id) | |
int | hfdepth () const |
get full depth information for HF More... | |
int | ieta () const |
get the cell ieta More... | |
int | ietaAbs () const |
get the absolute value of the cell ieta More... | |
int | iphi () const |
get the cell iphi More... | |
uint32_t | maskDepth () const |
get the tower depth More... | |
uint32_t | newForm () const |
bool | oldFormat () const |
bool | operator!= (DetId id) const |
bool | operator< (DetId id) const |
HcalDetId & | operator= (const DetId &id) |
bool | operator== (DetId id) const |
uint32_t | otherForm () const |
change format More... | |
HcalSubdetector | subdet () const |
get the subdetector More... | |
int | zside () const |
get the z-side of the cell (1/-1) More... | |
Public Member Functions inherited from DetId | |
Detector | det () const |
get the detector field from this detid More... | |
DetId () | |
Create an empty or null id (also for persistence) More... | |
DetId (uint32_t id) | |
Create an id from a raw number. More... | |
DetId (Detector det, int subdet) | |
Create an id, filling the detector and subdetector fields as specified. More... | |
bool | null () const |
is this a null id ? More... | |
operator uint32_t () const | |
bool | operator!= (DetId id) const |
inequality More... | |
uint32_t | operator() () const |
bool | operator< (DetId id) const |
comparison More... | |
bool | operator== (DetId id) const |
equality More... | |
uint32_t | rawId () const |
get the raw id More... | |
int | subdetId () const |
get the contents of the subdetector field (not cast into any detector's numbering enum) More... | |
Static Public Member Functions | |
static uint32_t | newForm (const uint32_t &) |
Static Public Attributes | |
static const int | kHcalDepthMask1 = 0x1F |
static const int | kHcalDepthMask2 = 0xF |
static const int | kHcalDepthOffset1 = 14 |
static const int | kHcalDepthOffset2 = 20 |
static const int | kHcalDepthSet1 = 0x1C000 |
static const int | kHcalDepthSet2 = 0xF00000 |
static const int | kHcalEtaMask1 = 0x3F |
static const int | kHcalEtaMask2 = 0x1FF |
static const int | kHcalEtaOffset1 = 7 |
static const int | kHcalEtaOffset2 = 10 |
static const int | kHcalIdFormat2 = 0x1000000 |
static const int | kHcalIdMask = 0xFE000000 |
static const int | kHcalPhiMask1 = 0x7F |
static const int | kHcalPhiMask2 = 0x3FF |
static const int | kHcalZsideMask1 = 0x2000 |
static const int | kHcalZsideMask2 = 0x80000 |
static const HcalDetId | Undefined |
Static Public Attributes inherited from DetId | |
static const int | kDetOffset = 28 |
static const int | kSubdetOffset = 25 |
Private Member Functions | |
void | newFromOld (const uint32_t &) |
Static Private Member Functions | |
static void | unpackId (const uint32_t &, int &, int &, int &, int &) |
Additional Inherited Members | |
Public Types inherited from DetId | |
enum | Detector { Tracker =1, Muon =2, Ecal =3, Hcal =4, Calo =5, Forward =6 } |
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.
HcalDetId::HcalDetId | ( | ) |
HcalDetId::HcalDetId | ( | uint32_t | rawid | ) |
HcalDetId::HcalDetId | ( | HcalSubdetector | subdet, |
int | tower_ieta, | ||
int | tower_iphi, | ||
int | depth | ||
) |
Constructor from subdetector, signed tower ieta,iphi,and depth
Definition at line 14 of file HcalDetId.cc.
References DetId::id_, kHcalDepthMask2, kHcalDepthOffset2, kHcalEtaOffset2, kHcalIdFormat2, kHcalPhiMask2, and kHcalZsideMask2.
HcalDetId::HcalDetId | ( | const DetId & | id | ) |
Constructor from a generic cell id
Definition at line 21 of file HcalDetId.cc.
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().
void HcalDetId::changeForm | ( | ) |
Definition at line 136 of file HcalDetId.cc.
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 74 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 72 of file HcalDetId.h.
References ieta(), and zside().
Referenced by CaloTowerConstituentsMap::constituentsOf().
int HcalDetId::crystal_iphi_high | ( | ) | const |
get the largest crystal_iphi of the crystal in front of this tower (HB and HE tower 17 only)
Definition at line 163 of file HcalDetId.cc.
References iphi().
Referenced by CaloTowerConstituentsMap::constituentsOf().
int HcalDetId::crystal_iphi_low | ( | ) | const |
get the smallest crystal_iphi of the crystal in front of this tower (HB and HE tower 17 only)
Definition at line 157 of file HcalDetId.cc.
References iphi().
Referenced by CaloTowerConstituentsMap::constituentsOf().
int HcalDetId::depth | ( | ) | const |
get the tower depth
Definition at line 106 of file HcalDetId.cc.
References DetId::id_, kHcalDepthMask1, kHcalDepthMask2, kHcalDepthOffset1, kHcalDepthOffset2, and oldFormat().
Referenced by HcalTriggerPrimitiveAlgo::addSignal(), CaloHitResponse::analogSignalAmplitude(), JetToDigiDump::analyze(), HCALRecHitAnalyzer::analyze(), DQMHcalPhiSymAlCaReco::analyze(), cms::HcalConstantsASCIIWriter::analyze(), cms::Analyzer_minbias::analyze(), HGCalDigiValidation::analyze(), HGCalRecHitValidation::analyze(), HGCalSimHitValidation::analyzeHits(), CaloTowersCreationAlgo::assignHitHcal(), HcalDetDiagLEDMonitor::CheckStatus(), HcalDetDiagPedestalMonitor::CheckStatus(), reco::helper::JetIDHelper::classifyJetComponents(), HcalTopology::decrementDepth(), HcalTopology::detId2denseId(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdPreLS1(), cms::MinBias::endJob(), hcaldqm::ContainerCompact::fill(), ChannelPattern::Fill_by_hand(), HcalHardcodeGeometryLoader::fillHBHO(), HcalFlexiHardcodeGeometryLoader::fillHBHO(), HcalFlexiHardcodeGeometryLoader::fillHE(), HcalFlexiHardcodeGeometryLoader::fillHF(), HcalDetDiagLEDMonitor::fillHistos(), HcalObjRepresent::fillOneGain(), HcalDetDiagLaserMonitor::fillProblems(), hcaldqm::axis::CoordinateAxis::get(), CaloGeometryHelper::getClosestCell(), HcalChannelIterator::getDepth(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), HcaluLUTTPGCoder::getLUTId(), ParticleTowerProducer::getNearestTower(), CaloTowersCreationAlgo::getThresholdAndWeight(), CaloTowersCreationAlgo::hadShwrPos(), hcalTransformedId(), hfdepth(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), PFHBHERecHitCreator::importRecHits(), PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::importRecHits(), PFHFRecHitCreator::importRecHits(), PFHBHERecHitCreatorMaxSample::importRecHits(), HcalTopology::incrementDepth(), hcaldqm::mapper::Mapper::index(), DetIdInfo::info(), fireworks::info(), HcalText2DetIdConverter::init(), CastorLedAnalysis::LedTrendings(), HcalLedAnalysis::LedTrendings(), CastorDbHardcode::makeGain(), CaloTowersCreationAlgo::makeHcalDropChMap(), HcalRawDataClient::mapChannproblem(), HcalRawDataMonitor::mapChannproblem(), HcalRawDataClient::mapDCCproblem(), HcalRawDataMonitor::mapDCCproblem(), HcalRawDataClient::mapHTRproblem(), HcalRawDataMonitor::mapHTRproblem(), FastHFShowerLibrary::modifyDepth(), operator!=(), CastorDbASCIIIO::DetIdLess::operator()(), operator==(), otherForm(), CastorPedestalAnalysis::per2CapsHists(), HcalPedestalAnalysis::per2CapsHists(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), printTableLine(), HcalCableMapper::process(), HcalCoarsePedestalMonitor::processEvent(), HcalDigiMonitor::processEvent(), HcalHardcodeCalibrations::produceRespCorrs(), CaloTowersCreationAlgo::rescale(), ParticleTowerProducer::resetTowers(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), CastorLedAnalysis::SetupLEDHists(), HcalLedAnalysis::SetupLEDHists(), HcalSimParameterMap::simParameters(), hcalCalib::Terminate(), PFRecHitQTestHCALChannel::test(), PFRecHitQTestHCALTimeVsDepth::test(), PFRecHitQTestHCALThresholdVsDepth::test(), CastorPedestalAnalysis::Trendings(), HcalPedestalAnalysis::Trendings(), CalorimetryManager::updateHCAL(), and hcaldqm::utilities::validDetId().
int HcalDetId::hfdepth | ( | ) | const |
get full depth information for HF
Definition at line 111 of file HcalDetId.cc.
References depth(), HcalForward, and subdet().
|
inline |
get the cell ieta
Definition at line 56 of file HcalDetId.h.
References ietaAbs(), and zside().
Referenced by DigiTask::_process(), FWTGeoRecoGeometryESProducer::addHcalCaloGeometryBarrel(), FWTGeoRecoGeometryESProducer::addHcalCaloGeometryEndcap(), HcalGeometry::alignmentBarEndForIndexLocal(), HcalGeometry::alignmentOuterIndexLocal(), CaloHitResponse::analogSignalAmplitude(), JetToDigiDump::analyze(), HcalNoiseMonitor::analyze(), HCALRecHitAnalyzer::analyze(), DQMHcalPhiSymAlCaReco::analyze(), HcalCorrPFCalculation::analyze(), myJetAna::analyze(), cms::HcalConstantsASCIIWriter::analyze(), cms::Analyzer_minbias::analyze(), HcalHBHEMuonAnalyzer::analyze(), ValidIsoTrkCalib::analyze(), IsoTrackCalibration::analyze(), IsoTrackCalib::analyze(), IsolatedTracksHcalScale::analyze(), HOCalibAnalyzer::analyze(), HcalDeterministicFit::apply(), MuonHOAcceptance::buildDeadAreas(), MuonHOAcceptance::buildSiPMAreas(), HcalHaloAlgo::Calculate(), HcalDetDiagLEDMonitor::CheckStatus(), HcalDetDiagPedestalMonitor::CheckStatus(), reco::helper::JetIDHelper::classifyJetComponents(), RBXAndHPDCleaner::clean(), crystal_ieta_high(), crystal_ieta_low(), HcalTopology::decrementDepth(), HcalTopology::detId2denseId(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdHO(), cms::MinBias::endJob(), hcaldqm::ContainerCompact::fill(), HCALRecHitAnalyzer::FillGeometry(), HcalHardcodeGeometryLoader::fillHBHO(), HcalFlexiHardcodeGeometryLoader::fillHBHO(), HcalFlexiHardcodeGeometryLoader::fillHE(), HcalFlexiHardcodeGeometryLoader::fillHF(), HcalDetDiagLEDMonitor::fillHistos(), AlCaHOCalibProducer::fillHOStore(), HcalObjRepresent::fillOneGain(), HcalDetDiagLaserMonitor::fillProblems(), HcalIsoTrkAnalyzer::fillTree(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), TrackDetMatchInfo::findMaxDeposition(), hcaldqm::axis::CoordinateAxis::get(), CaloGeometryHelper::getClosestCell(), hcalCalib::GetCoefFromMtrxInvOfAve(), spr::getHotCell(), HBHEHitMapOrganizer::getHPDNeighbors(), HcalChannelIterator::getIeta(), HcaluLUTTPGCoder::getLUTId(), CaloTowersCreationAlgo::getThresholdAndWeight(), HBHEHitMapOrganizer::HBHEHitMapOrganizer(), hcalTransformedId(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), PFHFRecHitCreator::importRecHits(), HcalTopology::incrementDepth(), hcaldqm::mapper::Mapper::index(), DetIdInfo::info(), fireworks::info(), HcalText2DetIdConverter::init(), CastorLedAnalysis::LedTrendings(), HcalLedAnalysis::LedTrendings(), HFClusterAlgo::makeCluster(), HcalRawDataClient::mapChannproblem(), HcalRawDataMonitor::mapChannproblem(), HcalRawDataClient::mapDCCproblem(), HcalRawDataMonitor::mapDCCproblem(), HcalRawDataClient::mapHTRproblem(), HcalRawDataMonitor::mapHTRproblem(), HcalRaddamMuon::matchId(), HcalHBHEMuonAnalyzer::matchId(), FastHFShowerLibrary::modifyDepth(), TrackDetMatchInfo::nXnEnergy(), otherForm(), CastorPedestalAnalysis::per2CapsHists(), HcalPedestalAnalysis::per2CapsHists(), printTableLine(), HcalDeadCellMonitor::process_RecHit(), HcalCoarsePedestalMonitor::processEvent(), HcalBeamMonitor::processEvent(), HcalDigiMonitor::processEvent(), HcalRecHitMonitor::processEvent_rechit(), HcalHotCellMonitor::processEvent_rechitenergy(), HcalHotCellMonitor::processHit_rechitNeighbors(), PFCTRecHitProducer::produce(), reco::CentralityProducer::produce(), HcalHardcodeCalibrations::produceRespCorrs(), HcalDigiTester::reco(), HcalDigisValidation::reco(), HcalSimpleRecAlgoImpl::reco(), HcalSimpleRecAlgoImpl::recoHBHE(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), AlCaIsoTracksProducer::select(), CastorLedAnalysis::SetupLEDHists(), HcalLedAnalysis::SetupLEDHists(), IsoTrig::studyIsolation(), hcalCalib::Terminate(), HcalTrigTowerGeometry::towerIds(), CastorPedestalAnalysis::Trendings(), HcalPedestalAnalysis::Trendings(), HcalUnpacker::unpackVME(), and hcaldqm::utilities::validDetId().
int HcalDetId::ietaAbs | ( | ) | const |
get the absolute value of the cell ieta
Definition at line 96 of file HcalDetId.cc.
References DetId::id_, kHcalEtaMask1, kHcalEtaMask2, kHcalEtaOffset1, kHcalEtaOffset2, and oldFormat().
Referenced by HGCalSimHitValidation::analyzeHits(), CaloTowersCreationAlgo::assignHitHcal(), HBHEHitMap::calcHits_(), HcalTopology::decrementDepth(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdHO(), HcalTopology::detId2denseIdPreLS1(), ChannelPattern::Fill_by_hand(), AlCaIsoTracksFilter::filter(), CaloGeometryHelper::getClosestCell(), HCalSD::getEnergyDeposit(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), CaloTowersCreationAlgo::getThresholdAndWeight(), ieta(), HcalTopology::incrementDepth(), HFClusterAlgo::makeCluster(), CaloTowersCreationAlgo::makeHcalDropChMap(), operator!=(), CastorDbASCIIIO::DetIdLess::operator()(), operator==(), HcalSimParameters::photoelectronsToAnalog(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), HcalCableMapper::process(), HcalSimParameters::samplingFactor(), HBHEPulseShapeFlagSetter::SetPulseShapeFlags(), hcalCalib::Terminate(), HcalTrigTowerGeometry::towerIds(), CaloTowerConstituentsMap::towerOf(), CalorimetryManager::updateHCAL(), and ObjectValidator::validHit().
int HcalDetId::iphi | ( | ) | const |
get the cell iphi
Definition at line 101 of file HcalDetId.cc.
References DetId::id_, kHcalPhiMask1, kHcalPhiMask2, and oldFormat().
Referenced by HcalGeometry::alignmentBarEndForIndexLocal(), HcalGeometry::alignmentOuterIndexLocal(), CaloHitResponse::analogSignalAmplitude(), JetToDigiDump::analyze(), HCALRecHitAnalyzer::analyze(), DQMHcalPhiSymAlCaReco::analyze(), HcalCorrPFCalculation::analyze(), cms::HcalConstantsASCIIWriter::analyze(), cms::Analyzer_minbias::analyze(), HcalHBHEMuonAnalyzer::analyze(), ValidIsoTrkCalib::analyze(), IsolatedTracksHcalScale::analyze(), BeamHaloAnalyzer::analyze(), HGCalSimHitValidation::analyzeHits(), MuonHOAcceptance::buildDeadAreas(), MuonHOAcceptance::buildSiPMAreas(), HcalDetDiagLEDMonitor::CheckStatus(), HcalDetDiagPedestalMonitor::CheckStatus(), RBXAndHPDCleaner::clean(), crystal_iphi_high(), crystal_iphi_low(), HcalTopology::decrementDepth(), HcalTopology::detId2denseId(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdHO(), HcalTopology::detId2denseIdPreLS1(), cms::MinBias::endJob(), hcaldqm::ContainerCompact::fill(), ChannelPattern::Fill_by_hand(), HcalHardcodeGeometryLoader::fillHBHO(), HcalFlexiHardcodeGeometryLoader::fillHBHO(), HcalFlexiHardcodeGeometryLoader::fillHE(), HcalFlexiHardcodeGeometryLoader::fillHF(), HcalDetDiagLEDMonitor::fillHistos(), AlCaHOCalibProducer::fillHOStore(), HcalObjRepresent::fillOneGain(), HcalDetDiagLaserMonitor::fillProblems(), HcalLaserHBHEHFFilter2012::filter(), HcalLaserHBHEFilter2012::filter(), TrackDetMatchInfo::findMaxDeposition(), hcaldqm::axis::CoordinateAxis::get(), CaloGeometryHelper::getClosestCell(), spr::getHotCell(), HBHEHitMapOrganizer::getHPDNeighbors(), HcalChannelIterator::getIphi(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), HcaluLUTTPGCoder::getLUTId(), HBHEHitMapOrganizer::HBHEHitMapOrganizer(), hcalTransformedId(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), PFHFRecHitCreator::importRecHits(), HcalTopology::incrementDepth(), hcaldqm::mapper::Mapper::index(), DetIdInfo::info(), fireworks::info(), HcalText2DetIdConverter::init(), CastorLedAnalysis::LedTrendings(), HcalLedAnalysis::LedTrendings(), HFClusterAlgo::makeCluster(), HcalRawDataClient::mapChannproblem(), HcalRawDataMonitor::mapChannproblem(), HcalRawDataClient::mapDCCproblem(), HcalRawDataMonitor::mapDCCproblem(), HcalRawDataClient::mapHTRproblem(), HcalRawDataMonitor::mapHTRproblem(), HcalRaddamMuon::matchId(), HcalHBHEMuonAnalyzer::matchId(), FastHFShowerLibrary::modifyDepth(), TrackDetMatchInfo::nXnEnergy(), operator!=(), CastorDbASCIIIO::DetIdLess::operator()(), operator==(), otherForm(), CastorPedestalAnalysis::per2CapsHists(), HcalPedestalAnalysis::per2CapsHists(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), printTableLine(), HcalCableMapper::process(), HcalCoarsePedestalMonitor::processEvent(), HcalBeamMonitor::processEvent(), HcalDigiMonitor::processEvent(), PFCTRecHitProducer::produce(), HcalSimpleRecAlgoImpl::reco(), HcalSimpleRecAlgoImpl::recoHBHE(), HcalDetDiagLEDMonitor::SaveReference(), HcalDetDiagPedestalMonitor::SaveReference(), HcalDetDiagLaserMonitor::SaveReference(), AlCaIsoTracksProducer::select(), CastorLedAnalysis::SetupLEDHists(), HcalLedAnalysis::SetupLEDHists(), hcalCalib::Terminate(), HcalTrigTowerGeometry::towerIds(), CaloTowerConstituentsMap::towerOf(), CastorPedestalAnalysis::Trendings(), HcalPedestalAnalysis::Trendings(), HcalUnpacker::unpackVME(), and hcaldqm::utilities::validDetId().
uint32_t HcalDetId::maskDepth | ( | ) | const |
get the tower depth
Definition at line 119 of file HcalDetId.cc.
References DetId::id_, kHcalDepthSet1, kHcalDepthSet2, and oldFormat().
Referenced by HcalTriggerPrimitiveAlgo::addSignal().
uint32_t HcalDetId::newForm | ( | ) | const |
Definition at line 140 of file HcalDetId.cc.
References DetId::id_.
Referenced by HcalDigitizer::accumulateCaloHits(), HcalDetId(), newFromOld(), operator=(), and otherForm().
|
static |
Definition at line 144 of file HcalDetId.cc.
References eta, kHcalDepthMask2, kHcalDepthOffset2, kHcalEtaOffset2, kHcalIdFormat2, kHcalIdMask, kHcalPhiMask2, kHcalZsideMask2, phi, and unpackId().
|
private |
|
inline |
Definition at line 50 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().
bool HcalDetId::operator!= | ( | DetId | id | ) | const |
Definition at line 61 of file HcalDetId.cc.
References depth(), eta, DetId::id_, ietaAbs(), iphi(), phi, DetId::rawId(), mps_fire::result, unpackId(), and zside().
bool HcalDetId::operator< | ( | DetId | id | ) | const |
Definition at line 70 of file HcalDetId.cc.
References 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 36 of file HcalDetId.cc.
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().
bool HcalDetId::operator== | ( | DetId | id | ) | const |
Comparison operator
Definition at line 52 of file HcalDetId.cc.
References depth(), eta, DetId::id_, ietaAbs(), iphi(), phi, DetId::rawId(), mps_fire::result, unpackId(), and zside().
uint32_t HcalDetId::otherForm | ( | ) | const |
change format
Definition at line 124 of file HcalDetId.cc.
References depth(), DetId::id_, ieta(), iphi(), kHcalDepthMask1, kHcalDepthOffset1, kHcalEtaOffset1, kHcalIdMask, kHcalPhiMask1, kHcalZsideMask1, newForm(), and oldFormat().
Referenced by changeForm().
|
inline |
get the subdetector
Definition at line 49 of file HcalDetId.h.
References DetId::subdetId().
Referenced by RecHitTask::_process(), HFHitFilter::accepts(), HcalGeometry::alignmentTransformIndexLocal(), CaloHitResponse::analogSignalAmplitude(), JetToDigiDump::analyze(), HCALRecHitAnalyzer::analyze(), CaloTowersAnalyzer::analyze(), CaloTowersValidation::analyze(), HcalRecHitsValidation::analyze(), HGCalDigiValidation::analyze(), RecAnalyzerMinbias::analyzeHcal(), AnalyzerMinbias::analyzeHcal(), HGCalSimHitValidation::analyzeHits(), CaloTowersCreationAlgo::assignHitHcal(), reco::helper::JetIDHelper::classifyJetComponents(), reco::helper::JetIDHelper::classifyJetTowers(), CaloTowersCreationAlgo::convert(), HcalTopology::decrementDepth(), HcalPulseShapes::defaultShape(), HcalTimeSlewSim::delay(), HcalTopology::detId2denseId(), HcalTopology::detId2denseIdPreLS1(), cms::MinBias::endJob(), hcaldqm::ContainerCompact::fill(), ChannelPattern::Fill_by_hand(), HcalObjRepresent::fillOneGain(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), hcaldqm::axis::CoordinateAxis::get(), spr::getEnergy(), HcalChannelIterator::getHcalSubdetector(), spr::getHotCell(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), HcaluLUTTPGCoder::getLUTId(), CaloTowersCreationAlgo::getThresholdAndWeight(), CaloTowersCreationAlgo::hadShwrPos(), HcalDetId(), hcalTransformedId(), hfdepth(), HcalTopology::incrementDepth(), hcaldqm::mapper::Mapper::index(), DetIdInfo::info(), fireworks::info(), HcalGeometry::localCorners(), HcalDDDGeometryLoader::makeCell(), CaloTowersCreationAlgo::makeHcalDropChMap(), SignCaloSpecificAlgo::makeVectorOutOfCaloTowers(), HcalRawDataClient::mapChannproblem(), HcalRawDataMonitor::mapChannproblem(), HcalRawDataClient::mapDCCproblem(), HcalRawDataMonitor::mapDCCproblem(), HcalRawDataClient::mapHTRproblem(), HcalRawDataMonitor::mapHTRproblem(), HcalRaddamMuon::matchId(), HcalHBHEMuonAnalyzer::matchId(), FastHFShowerLibrary::modifyDepth(), operator=(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), HcalCableMapper::process(), HcalCoarsePedestalMonitor::processEvent(), HcalDigiMonitor::processEvent(), PFCTRecHitProducer::produce(), HcalDigiTester::reco(), HcalDigisValidation::reco(), HcalSimpleRecAlgoImpl::reco(), HcalSimpleRecAlgoImpl::recoHBHE(), CaloTowersCreationAlgo::rescale(), CaloTowersCreationAlgo::rescaleTowers(), HcalSimParameterMap::setFrameSize(), HcalZSAlgoRealistic::shouldKeep(), HcalTBSimParameterMap::simParameters(), HcalSimParameterMap::simParameters(), hcalCalib::Terminate(), HcalTrigTowerGeometry::towerIds(), CaloTowerConstituentsMap::towerOf(), CaloSpecificAlgo::update_HadEtInHB_HadEtInHE_HadEtInHO_HadEtInHF_EmEtInHF(), CaloSpecificAlgo::update_MaxTowerEm_MaxTowerHad(), CaloSpecificAlgo::update_sumEtInpHF_MExInpHF_MEyInpHF_sumEtInmHF_MExInmHF_MEyInmHF(), CaloSpecificAlgo::update_totalEt_totalEm(), hcaldqm::utilities::validDetId(), and ObjectValidator::validHit().
|
staticprivate |
Definition at line 173 of file HcalDetId.cc.
References kHcalDepthMask1, kHcalDepthMask2, kHcalDepthOffset1, kHcalDepthOffset2, kHcalEtaMask1, kHcalEtaMask2, kHcalEtaOffset1, kHcalEtaOffset2, kHcalIdFormat2, kHcalPhiMask1, kHcalPhiMask2, kHcalZsideMask1, and kHcalZsideMask2.
Referenced by newForm(), operator!=(), operator<(), and operator==().
int HcalDetId::zside | ( | ) | const |
get the z-side of the cell (1/-1)
Definition at line 91 of file HcalDetId.cc.
References DetId::id_, kHcalZsideMask1, kHcalZsideMask2, and oldFormat().
Referenced by FWTGeoRecoGeometryESProducer::addHcalCaloGeometryBarrel(), FWTGeoRecoGeometryESProducer::addHcalCaloGeometryEndcap(), HGCalSimHitValidation::analyzeHits(), CaloTowerConstituentsMap::constituentsOf(), crystal_ieta_high(), crystal_ieta_low(), HcalTopology::detId2denseIdHB(), HcalTopology::detId2denseIdHE(), HcalTopology::detId2denseIdHF(), HcalTopology::detId2denseIdHO(), HcalTopology::detId2denseIdPreLS1(), ChannelPattern::Fill_by_hand(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), HLTHcalSimpleRecHitFilter::hltFilter(), ieta(), HcalDDDGeometryLoader::makeCell(), HFClusterAlgo::makeCluster(), operator!=(), CastorDbASCIIIO::DetIdLess::operator()(), operator==(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), HcalTrigTowerGeometry::towerIds(), and CaloTowerConstituentsMap::towerOf().
|
static |
Definition at line 25 of file HcalDetId.h.
Referenced by depth(), operator<(), otherForm(), and unpackId().
|
static |
Definition at line 26 of file HcalDetId.h.
Referenced by depth(), HcalDetId(), newForm(), operator<(), CaloMiscalibMapHcal::prefillMap(), unpackId(), HcaluLUTTPGCoder::update(), and HcaluLUTTPGCoder::updateXML().
|
static |
Definition at line 23 of file HcalDetId.h.
Referenced by depth(), operator<(), otherForm(), and unpackId().
|
static |
Definition at line 24 of file HcalDetId.h.
Referenced by depth(), HcalDetId(), newForm(), operator<(), and unpackId().
|
static |
Definition at line 27 of file HcalDetId.h.
Referenced by maskDepth().
|
static |
Definition at line 28 of file HcalDetId.h.
Referenced by maskDepth().
|
static |
Definition at line 19 of file HcalDetId.h.
Referenced by ietaAbs(), and unpackId().
|
static |
Definition at line 20 of file HcalDetId.h.
Referenced by ietaAbs(), CaloMiscalibMapHcal::prefillMap(), unpackId(), HcaluLUTTPGCoder::update(), and HcaluLUTTPGCoder::updateXML().
|
static |
Definition at line 17 of file HcalDetId.h.
Referenced by ietaAbs(), operator<(), otherForm(), and unpackId().
|
static |
Definition at line 18 of file HcalDetId.h.
Referenced by HcalDetId(), ietaAbs(), newForm(), operator<(), and unpackId().
|
static |
Definition at line 29 of file HcalDetId.h.
Referenced by HcalDetId(), newForm(), oldFormat(), operator<(), and unpackId().
|
static |
Definition at line 30 of file HcalDetId.h.
Referenced by newForm(), operator<(), and otherForm().
|
static |
Definition at line 15 of file HcalDetId.h.
Referenced by iphi(), operator<(), otherForm(), and unpackId().
|
static |
Definition at line 16 of file HcalDetId.h.
Referenced by HcalDetId(), iphi(), newForm(), operator<(), CaloMiscalibMapHcal::prefillMap(), unpackId(), HcaluLUTTPGCoder::update(), and HcaluLUTTPGCoder::updateXML().
|
static |
Definition at line 21 of file HcalDetId.h.
Referenced by operator<(), otherForm(), unpackId(), and zside().
|
static |
Definition at line 22 of file HcalDetId.h.
Referenced by HcalDetId(), newForm(), operator<(), unpackId(), and zside().
|
static |
Definition at line 80 of file HcalDetId.h.
Referenced by HcalRawDataClient::HashToHDI(), HcalRawDataMonitor::HashToHDI(), CastorText2DetIdConverter::init(), HcalText2DetIdConverter::init(), CastorDbHardcode::makeHardcodeMap(), HcalRawDataClient::mapChannproblem(), HcalRawDataMonitor::mapChannproblem(), HcalRawDataClient::mapDCCproblem(), HcalRawDataMonitor::mapDCCproblem(), HcalRawDataClient::mapHTRproblem(), HcalRawDataMonitor::mapHTRproblem(), HcalRawDataMonitor::reset(), and HcalRawDataMonitor::unpack().