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...
 
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 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
}
 
- 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_.

13  : DetId(Hcal,subdet) {
14  // (no checking at this point!)
15  id_ |= ((depth&0x1F)<<14) |
16  ((tower_ieta>0)?(0x2000|(tower_ieta<<7)):((-tower_ieta)<<7)) |
17  (tower_iphi&0x7F);
18 }
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:30
DetId()
Create an empty or null id (also for persistence)
Definition: DetId.h:26
int depth() const
get the tower depth
Definition: HcalDetId.h:40
uint32_t id_
Definition: DetId.h:55
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, HcalOuter, 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  throw cms::Exception("Invalid DetId") << "Cannot initialize HcalDetId from " << std::hex << gen.rawId() << std::dec;
27  }
28  }
29  id_=gen.rawId();
30 }
HcalSubdetector subdet() const
get the subdetector
Definition: HcalDetId.h:30
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 44 of file HcalDetId.h.

References ieta(), and zside().

Referenced by CaloTowerConstituentsMap::constituentsOf().

44 { return ((ieta()-zside())*5)+5*zside(); }
int zside() const
get the z-side of the cell (1/-1)
Definition: HcalDetId.h:32
int ieta() const
get the cell ieta
Definition: HcalDetId.h:36
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 42 of file HcalDetId.h.

References ieta(), and zside().

Referenced by CaloTowerConstituentsMap::constituentsOf().

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

References iphi().

Referenced by CaloTowerConstituentsMap::constituentsOf().

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

References iphi().

Referenced by CaloTowerConstituentsMap::constituentsOf().

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

get the tower depth

Definition at line 40 of file HcalDetId.h.

References DetId::id_.

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(), 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(), HcalPedestalAnalysis::Trendings(), CastorPedestalAnalysis::Trendings(), and CalorimetryManager::updateHCAL().

40 { return (id_>>14)&0x1F; }
uint32_t id_
Definition: DetId.h:55
int HcalDetId::ieta ( ) const
inline

get the cell ieta

Definition at line 36 of file HcalDetId.h.

References ietaAbs(), and zside().

Referenced by FWTGeoRecoGeometryESProducer::addHcalCaloGeometryBarrel(), FWTGeoRecoGeometryESProducer::addHcalCaloGeometryEndcap(), HcalGeometry::alignmentBarEndForIndexLocal(), HcalGeometry::alignmentOuterIndexLocal(), CaloHitResponse::analogSignalAmplitude(), JetToDigiDump::analyze(), HCALRecHitAnalyzer::analyze(), DQMHcalPhiSymAlCaReco::analyze(), HcalCorrPFCalculation::analyze(), myJetAna::analyze(), cms::HcalConstantsASCIIWriter::analyze(), HcalIsoTrkAnalyzer::analyze(), ValidIsoTrkCalib::analyze(), IsoTrackCalib::analyze(), IsoTrackCalibration::analyze(), IsolatedTracksHcalScale::analyze(), 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(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), PFHFRecHitCreator::importRecHits(), HcalTopology::incrementDepth(), DetIdInfo::info(), fireworks::info(), HcalRecHitsMaker::init(), HcalText2DetIdConverter::init(), CastorLedAnalysis::LedTrendings(), HcalLedAnalysis::LedTrendings(), HcalRecHitsMaker::loadHcalRecHits(), HFClusterAlgo::makeCluster(), HcalRawDataClient::mapChannproblem(), HcalRawDataMonitor::mapChannproblem(), HcalRawDataClient::mapDCCproblem(), HcalRawDataMonitor::mapDCCproblem(), HcalRawDataClient::mapHTRproblem(), HcalRawDataMonitor::mapHTRproblem(), HcalRaddamMuon::matchId(), HcalHBHEMuonAnalyzer::matchId(), HcalRecHitsMaker::noiseInfCfromDB(), 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(), 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().

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

get the cell iphi

Definition at line 38 of file HcalDetId.h.

References DetId::id_.

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(), 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()(), CastorPedestalAnalysis::per2CapsHists(), HcalPedestalAnalysis::per2CapsHists(), cond::PayLoadInspector< DataT >::plot(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), printTableLine(), HcalCableMapper::process(), HcalCoarsePedestalMonitor::processEvent(), HcalBeamMonitor::processEvent(), HcalDigiMonitor::processEvent(), PFCTRecHitProducer::produce(), AlCaHOCalibProducer::produce(), HcalSimpleRecAlgoImpl::reco(), 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().

38 { return id_&0x7F; }
uint32_t id_
Definition: DetId.h:55
HcalDetId & HcalDetId::operator= ( const DetId id)

Assignment from a generic cell id

Definition at line 32 of file HcalDetId.cc.

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

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

get the subdetector

Definition at line 30 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(), HcalLaserHBHEHFFilter2012::filter(), HcalLaserHBHEFilter2012::filter(), HcalChannelIterator::getHcalSubdetector(), spr::getHotCell(), CastorLedAnalysis::GetLedConst(), HcalLedAnalysis::GetLedConst(), HcaluLUTTPGCoder::getLUTId(), CaloTowersCreationAlgo::getThresholdAndWeight(), CaloTowersCreationAlgo::hadShwrPos(), HcalDetId(), HcalTopology::incrementDepth(), DetIdInfo::info(), fireworks::info(), HcalRecHitsMaker::loadHcalRecHits(), 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(), HcalRecHitsMaker::noiseInfCfromDB(), operator=(), cond::PayLoadInspector< DataT >::plot(), HBHEHFLogicalMapEntry::printLMapLine(), HOHXLogicalMapEntry::printLMapLine(), HcalCableMapper::process(), HcalCoarsePedestalMonitor::processEvent(), HcalDigiMonitor::processEvent(), PFCTRecHitProducer::produce(), HcalDigiTester::reco(), HcalDigisValidation::reco(), HcalSimpleRecAlgoImpl::reco(), 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().

30 { 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 HcalDetId HcalDetId::Undefined
static