#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::atomic< bool > | m_filledDetIds |
HBCellVec | m_hbCellVec |
HECellVec | m_heCellVec |
HFCellVec | m_hfCellVec |
HOCellVec | m_hoCellVec |
CMS_THREAD_GUARD(m_filledDetIds) mutable std CMS_THREAD_GUARD(m_filledDetIds) mutable std CMS_THREAD_GUARD(m_filledDetIds) mutable std CMS_THREAD_GUARD(m_filledDetIds) mutable std CMS_THREAD_GUARD(m_filledDetIds) mutable std 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 15 of file HcalDDDGeometry.h.
typedef std::vector<IdealObliquePrism> HcalDDDGeometry::HBCellVec |
Definition at line 19 of file HcalDDDGeometry.h.
typedef std::vector<IdealObliquePrism> HcalDDDGeometry::HECellVec |
Definition at line 20 of file HcalDDDGeometry.h.
typedef std::vector<IdealZPrism> HcalDDDGeometry::HFCellVec |
Definition at line 22 of file HcalDDDGeometry.h.
typedef std::vector<IdealObliquePrism> HcalDDDGeometry::HOCellVec |
Definition at line 21 of file HcalDDDGeometry.h.
|
explicit |
Definition at line 10 of file HcalDDDGeometry.cc.
|
virtual |
The HcalDDDGeometry will delete all its cell geometries at destruction time.
Definition at line 21 of file HcalDDDGeometry.cc.
|
protectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 212 of file HcalDDDGeometry.cc.
References cropTnPTrees::din, cmsHarvester::index, m_hbCellVec, m_heCellVec, m_hfCellVec, m_hoCellVec, and CaloCellGeometry::param().
|
private |
Definition at line 26 of file HcalDDDGeometry.cc.
References CaloSubdetectorGeometry::getValidDetIds(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, i, m_filledDetIds, s_fillLock, and python.multivaluedict::sort().
Referenced by getValidDetIds().
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 86 of file HcalDDDGeometry.cc.
References constexpr, PV3DBase< T, PVType, FrameType >::eta(), etaMax_, 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 73 of file HcalDDDGeometry.cc.
References fillDetIds(), CaloSubdetectorGeometry::getValidDetIds(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, and m_filledDetIds.
int HcalDDDGeometry::insertCell | ( | std::vector< HcalCellType > const & | cells | ) |
Definition at line 150 of file HcalDDDGeometry.cc.
References etaMax_, hcalCells_, i, LogDebug, and pileupDistInMC::num.
Referenced by HcalDDDGeometryLoader::fill().
|
virtual |
Implements CaloSubdetectorGeometry.
Definition at line 165 of file HcalDDDGeometry.cc.
References CaloSubdetectorGeometry::addValidID(), CaloSubdetectorGeometry::cornersMgr(), DetId::det(), HcalTopology::detId2denseId(), cropTnPTrees::din, DetId::Hcal, HcalBarrel, HcalEndcap, HcalOuter, cmsHarvester::index, m_hbCellVec, m_heCellVec, m_hfCellVec, m_hoCellVec, and topo_.
|
private |
Definition at line 57 of file HcalDDDGeometry.h.
Referenced by getClosestCell(), and insertCell().
|
private |
Definition at line 49 of file HcalDDDGeometry.h.
Referenced by getClosestCell(), and insertCell().
|
mutableprivate |
Definition at line 63 of file HcalDDDGeometry.h.
Referenced by fillDetIds(), and getValidDetIds().
|
private |
Definition at line 59 of file HcalDDDGeometry.h.
Referenced by cellGeomPtr(), and newCell().
|
private |
Definition at line 60 of file HcalDDDGeometry.h.
Referenced by cellGeomPtr(), and newCell().
|
private |
Definition at line 62 of file HcalDDDGeometry.h.
Referenced by cellGeomPtr(), and newCell().
|
private |
Definition at line 61 of file HcalDDDGeometry.h.
Referenced by cellGeomPtr(), and newCell().
|
private |
Definition at line 54 of file HcalDDDGeometry.h.
Referenced by newCell().