![]() |
![]() |
#include <CastorGeometry.h>
Public Types | |
enum | { k_NumberOfCellsForCorners = HcalCastorDetId::kSizeForDenseIndexing } |
enum | { k_NumberOfShapes = 4 } |
enum | { k_NumberOfParametersPerShape = 6 } |
typedef CastorGeometryRecord | AlignedRecord |
typedef CastorAlignmentRcd | AlignmentRecord |
typedef HcalCastorDetId | DetIdType |
typedef PCastorRcd | PGeometryRecord |
![]() | |
typedef std::vector< const CaloCellGeometry * > | CellCont |
typedef std::set< DetId > | DetIdSet |
typedef std::vector< double > | DimVec |
typedef std::vector< unsigned int > | IVec |
typedef CaloCellGeometry::ParMgr | ParMgr |
typedef CaloCellGeometry::ParVec | ParVec |
typedef CaloCellGeometry::ParVecVec | ParVecVec |
typedef std::vector< double > | TrVec |
Public Member Functions | |
CastorGeometry () | |
CastorGeometry (const CastorTopology *topology) | |
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... | |
virtual unsigned int | numberOfParametersPerShape () const |
virtual unsigned int | numberOfShapes () const |
virtual unsigned int | numberOfTransformParms () const |
virtual | ~CastorGeometry () |
![]() | |
void | addCell (const DetId &id, CaloCellGeometry *ccg) |
Add a cell to the geometry. More... | |
void | allocateCorners (CaloCellGeometry::CornersVec::size_type n) |
void | allocatePar (ParVec::size_type n, unsigned int m) |
CaloSubdetectorGeometry () | |
const CellCont & | cellGeometries () const |
the cells More... | |
CaloCellGeometry::CornersMgr * | cornersMgr () |
double | deltaEta (const DetId &detId) const |
double | 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 () |
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... | |
Static Public Member Functions | |
static unsigned int | alignmentTransformIndexGlobal (const DetId &id) |
static unsigned int | alignmentTransformIndexLocal (const DetId &id) |
static std::string | dbString () |
static std::vector < HepGeom::Point3D< double > > | localCorners (const double *pv, unsigned int i, HepGeom::Point3D< double > &ref) |
static CaloCellGeometry * | newCell (const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, CaloCellGeometry::CornersMgr *mgr, const double *parm, const DetId &detId) |
static unsigned int | numberOfAlignments () |
static std::string | producerTag () |
Private Attributes | |
DetId::Detector | lastReqDet_ |
int | lastReqSubdet_ |
bool | m_ownsTopology |
std::vector< DetId > | m_validIds |
const CastorTopology * | theTopology |
Additional Inherited Members | |
![]() | |
static double | deltaR (const GlobalPoint &p1, const GlobalPoint &p2) |
![]() | |
ParVecVec | m_parVecVec |
Definition at line 13 of file CastorGeometry.h.
Definition at line 18 of file CastorGeometry.h.
Definition at line 17 of file CastorGeometry.h.
Definition at line 20 of file CastorGeometry.h.
Definition at line 19 of file CastorGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfCellsForCorners |
Definition at line 22 of file CastorGeometry.h.
anonymous enum |
anonymous enum |
CastorGeometry::CastorGeometry | ( | ) |
Definition at line 8 of file CastorGeometry.cc.
|
explicit |
Definition at line 16 of file CastorGeometry.cc.
|
virtual |
|
static |
Definition at line 101 of file CastorGeometry.cc.
References DetId::Calo.
|
static |
Definition at line 91 of file CastorGeometry.cc.
References CaloGenericDetId::isCastor().
|
inlinestatic |
Definition at line 28 of file CastorGeometry.h.
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 71 of file CastorGeometry.cc.
References CaloSubdetectorGeometry::getGeometry(), getValidDetIds(), and CaloCellGeometry::inside().
|
virtual |
Get a list of valid detector ids (for the given subdetector)
Reimplemented from CaloSubdetectorGeometry.
Definition at line 31 of file CastorGeometry.cc.
References CaloSubdetectorGeometry::getValidDetIds(), i, lastReqDet_, lastReqSubdet_, m_validIds, and python.multivaluedict::sort().
Referenced by getClosestCell().
|
static |
Definition at line 107 of file CastorGeometry.cc.
References calogeom::IdealCastorTrapezoid::localCorners().
|
static |
Definition at line 115 of file CastorGeometry.cc.
References CaloGenericDetId::isCastor().
|
inlinestatic |
Definition at line 48 of file CastorGeometry.h.
Referenced by FakeCaloAlignmentEP::produceCastorAli(), and TestCaloAlignmentEP::produceCastorAli().
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 33 of file CastorGeometry.h.
References k_NumberOfParametersPerShape.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 32 of file CastorGeometry.h.
References k_NumberOfShapes.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 30 of file CastorGeometry.h.
|
inlinestatic |
Definition at line 46 of file CastorGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), CastorHardcodeGeometryEP::CastorHardcodeGeometryEP(), and CaloGeometryBuilder::produceAligned().
|
mutableprivate |
Definition at line 68 of file CastorGeometry.h.
Referenced by getValidDetIds().
|
mutableprivate |
Definition at line 69 of file CastorGeometry.h.
Referenced by getValidDetIds().
|
private |
Definition at line 71 of file CastorGeometry.h.
Referenced by ~CastorGeometry().
|
mutableprivate |
Definition at line 70 of file CastorGeometry.h.
Referenced by getValidDetIds().
|
private |
Definition at line 67 of file CastorGeometry.h.
Referenced by ~CastorGeometry().