CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Attributes
HcalDetId Class Reference

#include <HcalDetId.h>

Inheritance diagram for HcalDetId:
DetId

Public Member Functions

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 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...
 
HcalDetIdoperator= (const DetId &id)
 
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 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 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
 

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_
 

Detailed Description

Cell identifier class for the HCAL subdetectors, precision readout cells only

Author
J. Mans - Minnesota

Rev.1.11: A.Kubik,R.Ofierzynski: add the hashed_index

Definition at line 16 of file HcalDetId.h.

Constructor & Destructor Documentation

HcalDetId::HcalDetId ( )

Create a null cellid

Definition at line 7 of file HcalDetId.cc.

7  : DetId() {
8 }
DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:26
HcalDetId::HcalDetId ( uint32_t  rawid)

Create cellid from raw id (0=invalid tower id)

Definition at line 10 of file HcalDetId.cc.

10  : DetId(rawid) {
11 }
DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:26
HcalDetId::HcalDetId ( HcalSubdetector  subdet,
int  tower_ieta,
int  tower_iphi,
int  depth 
)

Constructor from subdetector, signed tower ieta,iphi,and depth

Definition at line 13 of file HcalDetId.cc.

References DetId::id_, kHcalDepthMask1, kHcalDepthOffset1, kHcalEtaOffset1, kHcalPhiMask1, and kHcalZsideMask1.

13  : DetId(Hcal,subdet) {
14  // (no checking at this point!)
16  ((tower_ieta>0)?(kHcalZsideMask1|(tower_ieta<<kHcalEtaOffset1)):((-tower_ieta)<<kHcalEtaOffset1)) |
17  (tower_iphi&kHcalPhiMask1);
18 }
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:45
static const int kHcalDepthMask1
Definition: HcalDetId.h:28
DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:26
int depth() const
get the tower depth
Definition: HcalDetId.h:55
static const int kHcalDepthOffset1
Definition: HcalDetId.h:26
uint32_t id_
Definition: DetId.h:55
static const int kHcalZsideMask1
Definition: HcalDetId.h:24
static const int kHcalPhiMask1
Definition: HcalDetId.h:18
static const int kHcalEtaOffset1
Definition: HcalDetId.h:20
HcalDetId::HcalDetId ( const DetId id)

Constructor from a generic cell id

Definition at line 20 of file HcalDetId.cc.

References TauDecayModes::dec, DetId::det(), edm::hlt::Exception, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, HcalTriggerTower, DetId::id_, DetId::null(), DetId::rawId(), subdet(), and DetId::subdetId().

20  {
21  if (!gen.null()) {
23  if (gen.det()!=Hcal ||
24  (subdet!=HcalBarrel && subdet!=HcalEndcap &&
25  subdet!=HcalOuter && subdet!=HcalForward &&
26  subdet!=HcalTriggerTower && subdet!=HcalOther)) {
27  throw cms::Exception("Invalid DetId") << "Cannot initialize HcalDetId from " << std::hex << gen.rawId() << std::dec;
28  }
29  }
30  id_=gen.rawId();
31 }
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:45
HcalSubdetector
Definition: HcalAssistant.h:31
uint32_t id_
Definition: DetId.h:55

Member Function Documentation

int HcalDetId::crystal_ieta_high ( ) const
inline

get the largest crystal_ieta of the crystal in front of this tower (HB and HE tower 17 only)

Definition at line 61 of file HcalDetId.h.

References ieta(), and zside().

Referenced by CaloTowerConstituentsMap::constituentsOf().

61 { return ((ieta()-zside())*5)+5*zside(); }
int zside() const
get the z-side of the cell (1/-1)
Definition: HcalDetId.h:47
int ieta() const
get the cell ieta
Definition: HcalDetId.h:51
int HcalDetId::crystal_ieta_low ( ) const
inline

get the smallest crystal_ieta of the crystal in front of this tower (HB and HE tower 17 only)

Definition at line 59 of file HcalDetId.h.

References ieta(), and zside().

Referenced by CaloTowerConstituentsMap::constituentsOf().

59 { return ((ieta()-zside())*5)+zside(); }
int zside() const
get the z-side of the cell (1/-1)
Definition: HcalDetId.h:47
int ieta() const
get the cell ieta
Definition: HcalDetId.h:51
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 53 of file HcalDetId.cc.

References iphi().

Referenced by CaloTowerConstituentsMap::constituentsOf().

53  {
54  int simple_iphi=((iphi()-1)*5)+5;
55  simple_iphi+=10;
56  return ((simple_iphi>360)?(simple_iphi-360):(simple_iphi));
57 }
int iphi() const
get the cell iphi
Definition: HcalDetId.h:53
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 47 of file HcalDetId.cc.

References iphi().

Referenced by CaloTowerConstituentsMap::constituentsOf().

47  {
48  int simple_iphi=((iphi()-1)*5)+1;
49  simple_iphi+=10;
50  return ((simple_iphi>360)?(simple_iphi-360):(simple_iphi));
51 }
int iphi() const
get the cell iphi
Definition: HcalDetId.h:53
int HcalDetId::depth ( ) const
inline

get the tower depth

Definition at line 55 of file HcalDetId.h.

References DetId::id_, kHcalDepthMask1, and kHcalDepthOffset1.

Referenced by HcalTriggerPrimitiveAlgo::addSignal(), CaloHitResponse::analogSignalAmplitude(), JetToDigiDump::analyze(), HCALRecHitAnalyzer::analyze(), DQMHcalPhiSymAlCaReco::analyze(), cms::HcalConstantsASCIIWriter::analyze(), 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(), ChannelPattern::Fill_by_hand(), HcalFlexiHardcodeGeometryLoader::fillHBHO(), HcalDetDiagLEDMonitor::fillHistos(), HcalObjRepresent::fillOneGain(), HcalDetDiagLaserMonitor::fillProblems(), CaloGeometryHelper::getClosestCell(), HcalChannelIterator::getDepth(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), HcaluLUTTPGCoder::getLUTId(), ParticleTowerProducer::getNearestTower(), CaloTowersCreationAlgo::getThresholdAndWeight(), hcalTransformedId(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), PFHBHERecHitCreator::importRecHits(), PFHcalRecHitCreator< Digi, Geometry, Layer, Detector >::importRecHits(), PFHFRecHitCreator::importRecHits(), PFHBHERecHitCreatorMaxSample::importRecHits(), HcalTopology::incrementDepth(), DetIdInfo::info(), fireworks::info(), HcalText2DetIdConverter::init(), CastorLedAnalysis::LedTrendings(), HcalLedAnalysis::LedTrendings(), HcalHardcodeGeometryLoader::makeCell(), CastorDbHardcode::makeGain(), CaloTowersCreationAlgo::makeHcalDropChMap(), HcalRawDataClient::mapChannproblem(), HcalRawDataMonitor::mapChannproblem(), HcalRawDataClient::mapDCCproblem(), HcalRawDataMonitor::mapDCCproblem(), HcalRawDataClient::mapHTRproblem(), HcalRawDataMonitor::mapHTRproblem(), CastorDbASCIIIO::DetIdLess::operator()(), HcalPedestalAnalysis::per2CapsHists(), CastorPedestalAnalysis::per2CapsHists(), cond::PayLoadInspector< DataT >::plot(), 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(), HcalTrigTowerGeometry::towerIds(), CastorPedestalAnalysis::Trendings(), HcalPedestalAnalysis::Trendings(), and CalorimetryManager::updateHCAL().

static const int kHcalDepthMask1
Definition: HcalDetId.h:28
static const int kHcalDepthOffset1
Definition: HcalDetId.h:26
uint32_t id_
Definition: DetId.h:55
int HcalDetId::ieta ( ) const
inline

get the cell ieta

Definition at line 51 of file HcalDetId.h.

References ietaAbs(), and zside().

Referenced by 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(), HcalIsoTrkAnalyzer::analyze(), ValidIsoTrkCalib::analyze(), IsoTrackCalib::analyze(), IsoTrackCalibration::analyze(), IsolatedTracksHcalScale::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(), cms::MinBias::endJob(), HCALRecHitAnalyzer::FillGeometry(), HcalFlexiHardcodeGeometryLoader::fillHBHO(), HcalDetDiagLEDMonitor::fillHistos(), HcalObjRepresent::fillOneGain(), HcalDetDiagLaserMonitor::fillProblems(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), TrackDetMatchInfo::findMaxDeposition(), 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(), 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(), TrackDetMatchInfo::nXnEnergy(), HcalPedestalAnalysis::per2CapsHists(), CastorPedestalAnalysis::per2CapsHists(), cond::PayLoadInspector< DataT >::plot(), printTableLine(), HcalDeadCellMonitor::process_RecHit(), HcalCoarsePedestalMonitor::processEvent(), HcalBeamMonitor::processEvent(), HcalDigiMonitor::processEvent(), HcalRecHitMonitor::processEvent_rechit(), HcalHotCellMonitor::processEvent_rechitenergy(), HcalHotCellMonitor::processHit_rechitNeighbors(), PFCTRecHitProducer::produce(), reco::CentralityProducer::produce(), AlCaHOCalibProducer::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(), CaloTowerConstituentsMap::towerOf(), CastorPedestalAnalysis::Trendings(), HcalPedestalAnalysis::Trendings(), and HcalUnpacker::unpackVME().

51 { return zside()*ietaAbs(); }
int zside() const
get the z-side of the cell (1/-1)
Definition: HcalDetId.h:47
int ietaAbs() const
get the absolute value of the cell ieta
Definition: HcalDetId.h:49
int HcalDetId::ietaAbs ( ) const
inline
int HcalDetId::iphi ( ) const
inline

get the cell iphi

Definition at line 53 of file HcalDetId.h.

References DetId::id_, and kHcalPhiMask1.

Referenced by HcalGeometry::alignmentBarEndForIndexLocal(), HcalGeometry::alignmentOuterIndexLocal(), CaloHitResponse::analogSignalAmplitude(), JetToDigiDump::analyze(), HCALRecHitAnalyzer::analyze(), DQMHcalPhiSymAlCaReco::analyze(), HcalCorrPFCalculation::analyze(), cms::HcalConstantsASCIIWriter::analyze(), ValidIsoTrkCalib::analyze(), IsolatedTracksHcalScale::analyze(), BeamHaloAnalyzer::analyze(), 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(), ChannelPattern::Fill_by_hand(), HcalFlexiHardcodeGeometryLoader::fillHBHO(), HcalDetDiagLEDMonitor::fillHistos(), HcalObjRepresent::fillOneGain(), HcalDetDiagLaserMonitor::fillProblems(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), TrackDetMatchInfo::findMaxDeposition(), 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(), DetIdInfo::info(), fireworks::info(), HcalText2DetIdConverter::init(), CastorLedAnalysis::LedTrendings(), HcalLedAnalysis::LedTrendings(), HcalHardcodeGeometryLoader::makeCell(), HFClusterAlgo::makeCluster(), HcalRawDataClient::mapChannproblem(), HcalRawDataMonitor::mapChannproblem(), HcalRawDataClient::mapDCCproblem(), HcalRawDataMonitor::mapDCCproblem(), HcalRawDataClient::mapHTRproblem(), HcalRawDataMonitor::mapHTRproblem(), HcalRaddamMuon::matchId(), HcalHBHEMuonAnalyzer::matchId(), TrackDetMatchInfo::nXnEnergy(), CastorDbASCIIIO::DetIdLess::operator()(), HcalPedestalAnalysis::per2CapsHists(), CastorPedestalAnalysis::per2CapsHists(), cond::PayLoadInspector< DataT >::plot(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), printTableLine(), HcalCableMapper::process(), HcalCoarsePedestalMonitor::processEvent(), HcalBeamMonitor::processEvent(), HcalDigiMonitor::processEvent(), PFCTRecHitProducer::produce(), AlCaHOCalibProducer::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(), and HcalUnpacker::unpackVME().

53 { return id_&kHcalPhiMask1; }
uint32_t id_
Definition: DetId.h:55
static const int kHcalPhiMask1
Definition: HcalDetId.h:18
uint32_t HcalDetId::maskDepth ( ) const
inline

get the tower depth

Definition at line 57 of file HcalDetId.h.

References DetId::id_, and kHcalDepthSet1.

Referenced by HcalTriggerPrimitiveAlgo::addSignal().

57 { return (id_ | kHcalDepthSet1); }
static const int kHcalDepthSet1
Definition: HcalDetId.h:30
uint32_t id_
Definition: DetId.h:55
HcalDetId & HcalDetId::operator= ( const DetId id)

Assignment from a generic cell id

Definition at line 33 of file HcalDetId.cc.

References TauDecayModes::dec, DetId::det(), edm::hlt::Exception, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOther, HcalOuter, HcalTriggerTower, DetId::id_, DetId::null(), DetId::rawId(), subdet(), and DetId::subdetId().

33  {
34  if (!gen.null()) {
36  if (gen.det()!=Hcal ||
37  (subdet!=HcalBarrel && subdet!=HcalEndcap &&
38  subdet!=HcalOuter && subdet!=HcalForward &&
39  subdet!=HcalTriggerTower && subdet!=HcalOther)) {
40  throw cms::Exception("Invalid DetId") << "Cannot assign HcalDetId from " << std::hex << gen.rawId() << std::dec;
41  }
42  }
43  id_=gen.rawId();
44  return (*this);
45 }
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:45
HcalSubdetector
Definition: HcalAssistant.h:31
uint32_t id_
Definition: DetId.h:55
HcalSubdetector HcalDetId::subdet ( ) const
inline

get the subdetector

Definition at line 45 of file HcalDetId.h.

References DetId::subdetId().

Referenced by HFHitFilter::accepts(), HcalGeometry::alignmentTransformIndexLocal(), CaloHitResponse::analogSignalAmplitude(), JetToDigiDump::analyze(), HCALRecHitAnalyzer::analyze(), CaloTowersValidation::analyze(), CaloTowersAnalyzer::analyze(), HcalRecHitsValidation::analyze(), RecAnalyzerMinbias::analyzeHcal(), 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(), ChannelPattern::Fill_by_hand(), HcalObjRepresent::fillOneGain(), HcalLaserHBHEFilter2012::filter(), HcalLaserHBHEHFFilter2012::filter(), HcalChannelIterator::getHcalSubdetector(), spr::getHotCell(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), HcaluLUTTPGCoder::getLUTId(), CaloTowersCreationAlgo::getThresholdAndWeight(), CaloTowersCreationAlgo::hadShwrPos(), HcalDetId(), hcalTransformedId(), HcalTopology::incrementDepth(), DetIdInfo::info(), fireworks::info(), HcalGeometry::localCorners(), HcalHardcodeGeometryLoader::makeCell(), HcalDDDGeometryLoader::makeCell(), CaloTowersCreationAlgo::makeHcalDropChMap(), SignCaloSpecificAlgo::makeVectorOutOfCaloTowers(), HcalRawDataClient::mapChannproblem(), HcalRawDataMonitor::mapChannproblem(), HcalRawDataClient::mapDCCproblem(), HcalRawDataMonitor::mapDCCproblem(), HcalRawDataClient::mapHTRproblem(), HcalRawDataMonitor::mapHTRproblem(), HcalRaddamMuon::matchId(), HcalHBHEMuonAnalyzer::matchId(), operator=(), cond::PayLoadInspector< DataT >::plot(), 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(), and ObjectValidator::validHit().

45 { return (HcalSubdetector)(subdetId()); }
HcalSubdetector
Definition: HcalAssistant.h:31
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:37
int HcalDetId::zside ( ) const
inline

Member Data Documentation

const int HcalDetId::kHcalDepthMask1 = 0x1F
static

Definition at line 28 of file HcalDetId.h.

Referenced by depth(), and HcalDetId().

const int HcalDetId::kHcalDepthMask2 = 0xF
static

Definition at line 29 of file HcalDetId.h.

const int HcalDetId::kHcalDepthOffset1 = 14
static

Definition at line 26 of file HcalDetId.h.

Referenced by depth(), and HcalDetId().

const int HcalDetId::kHcalDepthOffset2 = 20
static

Definition at line 27 of file HcalDetId.h.

const int HcalDetId::kHcalDepthSet1 = 0x1C000
static

Definition at line 30 of file HcalDetId.h.

Referenced by maskDepth().

const int HcalDetId::kHcalDepthSet2 = 0xF00000
static

Definition at line 31 of file HcalDetId.h.

const int HcalDetId::kHcalEtaMask1 = 0x3F
static

Definition at line 22 of file HcalDetId.h.

Referenced by ietaAbs().

const int HcalDetId::kHcalEtaMask2 = 0x1FF
static

Definition at line 23 of file HcalDetId.h.

const int HcalDetId::kHcalEtaOffset1 = 7
static

Definition at line 20 of file HcalDetId.h.

Referenced by HcalDetId(), and ietaAbs().

const int HcalDetId::kHcalEtaOffset2 = 10
static

Definition at line 21 of file HcalDetId.h.

const int HcalDetId::kHcalIdFormat2 = 0x1000000
static

Definition at line 32 of file HcalDetId.h.

const int HcalDetId::kHcalPhiMask1 = 0x7F
static

Definition at line 18 of file HcalDetId.h.

Referenced by HcalDetId(), and iphi().

const int HcalDetId::kHcalPhiMask2 = 0x3FF
static

Definition at line 19 of file HcalDetId.h.

const int HcalDetId::kHcalZsideMask1 = 0x2000
static

Definition at line 24 of file HcalDetId.h.

Referenced by HcalDetId(), and zside().

const int HcalDetId::kHcalZsideMask2 = 0x80000
static

Definition at line 25 of file HcalDetId.h.

const HcalDetId HcalDetId::Undefined
static