#include <HcalDDDGeometry.h>
Public Types | |
typedef std::vector < IdealObliquePrism > | HBCellVec |
typedef std::vector < IdealObliquePrism > | HECellVec |
typedef std::vector< IdealZPrism > | HFCellVec |
typedef std::vector < IdealObliquePrism > | HOCellVec |
Public Types inherited from CaloSubdetectorGeometry | |
typedef CaloCellGeometry::CCGFloat | CCGFloat |
typedef std::vector < CaloCellGeometry const * > | CellSet |
typedef std::set< DetId > | DetIdSet |
typedef std::vector< CCGFloat > | DimVec |
typedef std::vector< unsigned int > | IVec |
typedef CaloCellGeometry::ParMgr | ParMgr |
typedef CaloCellGeometry::ParVec | ParVec |
typedef CaloCellGeometry::ParVecVec | ParVecVec |
typedef std::vector< CCGFloat > | TrVec |
Public Member Functions | |
virtual DetId | getClosestCell (const GlobalPoint &r) const |
virtual const std::vector < DetId > & | getValidDetIds (DetId::Detector det=DetId::Detector(0), int subdet=0) const |
Get a list of valid detector ids (for the given subdetector) More... | |
HcalDDDGeometry (const HcalTopology &theTopo) | |
int | insertCell (std::vector< HcalCellType > const &) |
virtual void | newCell (const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) |
virtual | ~HcalDDDGeometry () |
The HcalDDDGeometry will delete all its cell geometries at destruction time. More... | |
Public Member Functions inherited from CaloSubdetectorGeometry | |
void | allocateCorners (CaloCellGeometry::CornersVec::size_type n) |
void | allocatePar (ParVec::size_type n, unsigned int m) |
CaloSubdetectorGeometry () | |
CaloCellGeometry::CornersMgr * | cornersMgr () |
CCGFloat | deltaEta (const DetId &detId) const |
CCGFloat | deltaPhi (const DetId &detId) const |
virtual void | fillDefaultNamedParameters () const |
virtual DetIdSet | getCells (const GlobalPoint &r, double dR) const |
Get a list of all cells within a dR of the given cell. More... | |
virtual CellSet | getCellSet (const GlobalPoint &r, double dR) const |
virtual const CaloCellGeometry * | getGeometry (const DetId &id) const |
Get the cell geometry of a given detector id. Should return false if not found. More... | |
virtual void | getSummary (TrVec &trVector, IVec &iVector, DimVec &dimVector, IVec &dinsVector) const |
virtual void | initializeParms () |
virtual unsigned int | numberOfParametersPerShape () const |
virtual unsigned int | numberOfShapes () const |
virtual unsigned int | numberOfTransformParms () const |
ParMgr * | parMgr () |
const ParMgr * | parMgrConst () const |
ParVecVec & | parVecVec () |
const ParVecVec & | parVecVec () const |
virtual bool | present (const DetId &id) const |
is this detid present in the geometry? More... | |
virtual | ~CaloSubdetectorGeometry () |
The base class DOES assume that it owns the CaloCellGeometry objects. More... | |
Protected Member Functions | |
virtual const CaloCellGeometry * | cellGeomPtr (uint32_t index) const |
Protected Member Functions inherited from CaloSubdetectorGeometry | |
void | addValidID (const DetId &id) |
virtual unsigned int | indexFor (const DetId &id) const |
virtual unsigned int | sizeForDenseIndex (const DetId &id) const |
Private Member Functions | |
void | fillDetIds () const |
Private Attributes | |
double | etaMax_ |
std::vector< HcalCellType > | hcalCells_ |
std::vector< DetId > | m_emptyIds |
HBCellVec | m_hbCellVec |
std::vector< DetId > | m_hbIds |
HECellVec | m_heCellVec |
std::vector< DetId > | m_heIds |
HFCellVec | m_hfCellVec |
std::vector< DetId > | m_hfIds |
HOCellVec | m_hoCellVec |
std::vector< DetId > | m_hoIds |
const HcalTopology & | topo_ |
Additional Inherited Members | |
Static Protected Member Functions inherited from CaloSubdetectorGeometry | |
static CCGFloat | deltaR (const GlobalPoint &p1, const GlobalPoint &p2) |
Protected Attributes inherited from CaloSubdetectorGeometry | |
ParVecVec | m_parVecVec |
Definition at line 13 of file HcalDDDGeometry.h.
typedef std::vector<IdealObliquePrism> HcalDDDGeometry::HBCellVec |
Definition at line 17 of file HcalDDDGeometry.h.
typedef std::vector<IdealObliquePrism> HcalDDDGeometry::HECellVec |
Definition at line 18 of file HcalDDDGeometry.h.
typedef std::vector<IdealZPrism> HcalDDDGeometry::HFCellVec |
Definition at line 20 of file HcalDDDGeometry.h.
typedef std::vector<IdealObliquePrism> HcalDDDGeometry::HOCellVec |
Definition at line 19 of file HcalDDDGeometry.h.
|
explicit |
Definition at line 7 of file HcalDDDGeometry.cc.
|
virtual |
The HcalDDDGeometry will delete all its cell geometries at destruction time.
Definition at line 17 of file HcalDDDGeometry.cc.
|
protectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 202 of file HcalDDDGeometry.cc.
References cropTnPTrees::din, getHLTprescales::index, m_hbCellVec, m_heCellVec, m_hfCellVec, m_hoCellVec, and CaloCellGeometry::param().
|
private |
Definition at line 22 of file HcalDDDGeometry.cc.
References CaloSubdetectorGeometry::getValidDetIds(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, i, m_emptyIds, m_hbIds, m_heIds, m_hfIds, m_hoIds, and python.multivaluedict::sort().
Referenced by getValidDetIds().
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 76 of file HcalDDDGeometry.cc.
References constexpr, PV3DBase< T, PVType, FrameType >::eta(), etaMax_, jptDQMConfig_cff::etaMin, hcalCells_, HcalForward, i, LogDebug, M_PI, PV3DBase< T, PVType, FrameType >::mag(), phi, PV3DBase< T, PVType, FrameType >::phi(), CosmicsPD_Skims::radius, detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
Get a list of valid detector ids (for the given subdetector)
Reimplemented from CaloSubdetectorGeometry.
Definition at line 63 of file HcalDDDGeometry.cc.
References fillDetIds(), CaloSubdetectorGeometry::getValidDetIds(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, m_emptyIds, m_hbIds, m_heIds, m_hfIds, and m_hoIds.
int HcalDDDGeometry::insertCell | ( | std::vector< HcalCellType > const & | cells | ) |
Definition at line 140 of file HcalDDDGeometry.cc.
References jptDQMConfig_cff::etaMax, etaMax_, hcalCells_, i, LogDebug, and pileupDistInMC::num.
Referenced by HcalDDDGeometryLoader::fill().
|
virtual |
Implements CaloSubdetectorGeometry.
Definition at line 155 of file HcalDDDGeometry.cc.
References CaloSubdetectorGeometry::addValidID(), CaloSubdetectorGeometry::cornersMgr(), DetId::det(), HcalTopology::detId2denseId(), cropTnPTrees::din, DetId::Hcal, HcalBarrel, HcalEndcap, HcalOuter, getHLTprescales::index, m_hbCellVec, m_heCellVec, m_hfCellVec, m_hoCellVec, and topo_.
|
private |
Definition at line 55 of file HcalDDDGeometry.h.
Referenced by getClosestCell(), and insertCell().
|
private |
Definition at line 47 of file HcalDDDGeometry.h.
Referenced by getClosestCell(), and insertCell().
|
mutableprivate |
Definition at line 52 of file HcalDDDGeometry.h.
Referenced by fillDetIds(), and getValidDetIds().
|
private |
Definition at line 57 of file HcalDDDGeometry.h.
Referenced by cellGeomPtr(), and newCell().
|
mutableprivate |
Definition at line 48 of file HcalDDDGeometry.h.
Referenced by fillDetIds(), and getValidDetIds().
|
private |
Definition at line 58 of file HcalDDDGeometry.h.
Referenced by cellGeomPtr(), and newCell().
|
mutableprivate |
Definition at line 49 of file HcalDDDGeometry.h.
Referenced by fillDetIds(), and getValidDetIds().
|
private |
Definition at line 60 of file HcalDDDGeometry.h.
Referenced by cellGeomPtr(), and newCell().
|
mutableprivate |
Definition at line 51 of file HcalDDDGeometry.h.
Referenced by fillDetIds(), and getValidDetIds().
|
private |
Definition at line 59 of file HcalDDDGeometry.h.
Referenced by cellGeomPtr(), and newCell().
|
mutableprivate |
Definition at line 50 of file HcalDDDGeometry.h.
Referenced by fillDetIds(), and getValidDetIds().
|
private |
Definition at line 54 of file HcalDDDGeometry.h.
Referenced by newCell().