#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::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 () | |
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 const CaloCellGeometry * | getGeometry (const DetId &id) const |
Get the cell geometry of a given detector id. Should return false if not found. More... | |
void | getSummary (TrVec &trVector, IVec &iVector, DimVec &dimVector) 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 |
Private Attributes | |
double | deg |
double | etaMax_ |
double | firstHFQuadRing_ |
std::vector< HcalCellType > | hcalCells_ |
DetId::Detector | lastReqDet_ |
int | lastReqSubdet_ |
HBCellVec | m_hbCellVec |
HECellVec | m_heCellVec |
HFCellVec | m_hfCellVec |
HOCellVec | m_hoCellVec |
std::vector< DetId > | m_validIds |
double | twopi |
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 |
std::vector< DetId > | m_validIds |
Definition at line 18 of file HcalDDDGeometry.h.
typedef std::vector<IdealObliquePrism> HcalDDDGeometry::HBCellVec |
Definition at line 22 of file HcalDDDGeometry.h.
typedef std::vector<IdealObliquePrism> HcalDDDGeometry::HECellVec |
Definition at line 23 of file HcalDDDGeometry.h.
typedef std::vector<IdealZPrism> HcalDDDGeometry::HFCellVec |
Definition at line 25 of file HcalDDDGeometry.h.
typedef std::vector<IdealObliquePrism> HcalDDDGeometry::HOCellVec |
Definition at line 24 of file HcalDDDGeometry.h.
|
explicit |
Definition at line 11 of file HcalDDDGeometry.cc.
References deg, M_PI, and twopi.
|
virtual |
The HcalDDDGeometry will delete all its cell geometries at destruction time.
Definition at line 26 of file HcalDDDGeometry.cc.
|
protectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 190 of file HcalDDDGeometry.cc.
References cropTnPTrees::din, getHLTprescales::index, m_hbCellVec, m_heCellVec, m_hfCellVec, m_hoCellVec, and CaloCellGeometry::param().
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 65 of file HcalDDDGeometry.cc.
References deg, PV3DBase< T, PVType, FrameType >::eta(), etaMax_, jptDQMConfig_cff::etaMin, hcalCells_, HcalForward, i, LogDebug, PV3DBase< T, PVType, FrameType >::mag(), phi, PV3DBase< T, PVType, FrameType >::phi(), CosmicsPD_Skims::radius, twopi, 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 31 of file HcalDDDGeometry.cc.
References CaloSubdetectorGeometry::getValidDetIds(), i, errorMatrix2Lands_multiChannel::id, lastReqDet_, lastReqSubdet_, LogDebug, m_validIds, and python.multivaluedict::sort().
int HcalDDDGeometry::insertCell | ( | std::vector< HcalCellType > const & | cells | ) |
Definition at line 128 of file HcalDDDGeometry.cc.
References jptDQMConfig_cff::etaMax, etaMax_, hcalCells_, i, and LogDebug.
Referenced by HcalDDDGeometryLoader::fill().
|
virtual |
Implements CaloSubdetectorGeometry.
Definition at line 144 of file HcalDDDGeometry.cc.
References CaloSubdetectorGeometry::cornersMgr(), CaloGenericDetId::denseIndex(), cropTnPTrees::din, getHLTprescales::index, CaloGenericDetId::isHB(), CaloGenericDetId::isHcal(), CaloGenericDetId::isHE(), CaloGenericDetId::isHO(), m_hbCellVec, m_heCellVec, m_hfCellVec, m_hoCellVec, and m_validIds.
|
private |
Definition at line 56 of file HcalDDDGeometry.h.
Referenced by getClosestCell(), and HcalDDDGeometry().
|
private |
Definition at line 57 of file HcalDDDGeometry.h.
Referenced by getClosestCell(), and insertCell().
|
private |
Definition at line 57 of file HcalDDDGeometry.h.
|
private |
Definition at line 52 of file HcalDDDGeometry.h.
Referenced by getClosestCell(), and insertCell().
|
mutableprivate |
Definition at line 53 of file HcalDDDGeometry.h.
Referenced by getValidDetIds().
|
mutableprivate |
Definition at line 54 of file HcalDDDGeometry.h.
Referenced by 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().
|
mutableprivate |
Definition at line 50 of file HcalDDDGeometry.h.
Referenced by getValidDetIds(), and newCell().
|
private |
Definition at line 56 of file HcalDDDGeometry.h.
Referenced by getClosestCell(), and HcalDDDGeometry().