#include <CaloTowerDetId.h>
Public Member Functions | |
CaloTowerDetId () | |
CaloTowerDetId (uint32_t rawid) | |
CaloTowerDetId (int tower_ieta, int tower_iphi) | |
CaloTowerDetId (const DetId &id) | |
int | ieta () const |
get the tower ieta More... | |
int | ietaAbs () const |
get the absolute value of the tower ieta More... | |
int | iphi () const |
get the tower iphi More... | |
CaloTowerDetId & | operator= (const DetId &id) |
int | zside () const |
get the z-side of the tower (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 | SubdetId = 1 |
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, VeryForward =7 } |
Protected Attributes inherited from DetId | |
uint32_t | id_ |
CaloTowerDetId uses DetId::Det of Calo and subdetId() of 1.
Definition at line 12 of file CaloTowerDetId.h.
CaloTowerDetId::CaloTowerDetId | ( | ) |
|
explicit |
CaloTowerDetId::CaloTowerDetId | ( | int | tower_ieta, |
int | tower_iphi | ||
) |
Constructor from signed tower ieta and iphi
Definition at line 12 of file CaloTowerDetId.cc.
References DetId::id_.
CaloTowerDetId::CaloTowerDetId | ( | const DetId & | id | ) |
Constructor from a generic cell id
Definition at line 18 of file CaloTowerDetId.cc.
References DetId::Calo, TauDecayModes::dec, DetId::det(), Exception, DetId::id_, DetId::null(), DetId::rawId(), SubdetId, and DetId::subdetId().
|
inline |
get the tower ieta
Definition at line 30 of file CaloTowerDetId.h.
References ietaAbs(), and zside().
Referenced by CaloTowerAnalyzer::analyze(), CaloTowersAnalyzer::analyze(), CaloTowersValidation::analyze(), CaloTowersCreationAlgo::assignHitHcal(), CaloTowerTopology::east(), TrackDetMatchInfo::findMaxDeposition(), CaloTowersCreationAlgo::hadShwrPos(), PileUpSubtractor::ieta(), CaloTower::ieta(), DetIdInfo::info(), fireworks::info(), CaloTowerHardcodeGeometryLoader::makeCell(), CaloTowersCreationAlgo::makeHcalDropChMap(), reco::makeSpecific(), CaloTowerTopology::north(), TrackDetMatchInfo::nXnEnergy(), CaloTowerTopology::south(), and CaloTowerTopology::west().
|
inline |
get the absolute value of the tower ieta
Definition at line 28 of file CaloTowerDetId.h.
References DetId::id_.
Referenced by CaloTowerTopology::denseIndex(), CaloTowersCreationAlgo::find(), PhysicsTowerOrganizer::findNeighbors(), CaloTowersCreationAlgo::hadShwrPos(), ieta(), CaloTower::ietaAbs(), CaloTowerTopology::north(), CaloTowersCreationAlgo::rescaleTowers(), and CaloTowerTopology::south().
int CaloTowerDetId::iphi | ( | ) | const |
get the tower iphi
Definition at line 33 of file CaloTowerDetId.cc.
References DetId::id_.
Referenced by CaloTowerAnalyzer::analyze(), CaloTowersCreationAlgo::assignHitHcal(), CaloTowerTopology::denseIndex(), CaloTowerTopology::east(), TrackDetMatchInfo::findMaxDeposition(), PhysicsTowerOrganizer::findNeighbors(), CaloTowersCreationAlgo::hadShwrPos(), DetIdInfo::info(), fireworks::info(), PileUpSubtractor::iphi(), CaloTower::iphi(), CaloTowersCreationAlgo::makeHcalDropChMap(), CaloTowerTopology::north(), TrackDetMatchInfo::nXnEnergy(), CaloTowerTopology::south(), and CaloTowerTopology::west().
CaloTowerDetId & CaloTowerDetId::operator= | ( | const DetId & | id | ) |
Assignment from a generic cell id
Definition at line 25 of file CaloTowerDetId.cc.
References DetId::Calo, TauDecayModes::dec, DetId::det(), Exception, DetId::id_, DetId::null(), DetId::rawId(), SubdetId, and DetId::subdetId().
|
inline |
get the z-side of the tower (1/-1)
Definition at line 26 of file CaloTowerDetId.h.
References DetId::id_.
Referenced by CaloTowersCreationAlgo::assignHitHcal(), CaloTowerTopology::denseIndex(), PhysicsTowerOrganizer::findNeighbors(), CaloTowersCreationAlgo::hadShwrPos(), ieta(), CaloTowersCreationAlgo::makeHcalDropChMap(), and CaloTower::zside().
|
static |
Definition at line 34 of file CaloTowerDetId.h.
Referenced by CaloRecoTauAlgorithm::buildCaloTau(), CaloTowerDetId(), CaloGenericDetId::isCaloTower(), operator=(), CaloTowersCreationAlgo::setGeometry(), CaloTowerTopology::valid(), and reco::writeSpecific().