#include <EcalTBHodoscopeGeometry.h>
Classes | |
struct | fibre_pos |
Public Types | |
typedef CaloCellGeometry::CCGFloat | CCGFloat |
typedef std::vector< PreshowerStrip > | CellVec |
typedef CaloCellGeometry::Pt3D | Pt3D |
typedef CaloCellGeometry::Pt3DVec | Pt3DVec |
Public Types inherited from CaloSubdetectorGeometry | |
typedef CaloCellGeometry::CCGFloat | CCGFloat |
using | CellMayOwnPtr = CaloCellGeometryMayOwnPtr |
using | CellPtr = CaloCellGeometryPtr |
typedef std::vector< std::shared_ptr< const CaloCellGeometry > > | 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 | |
EcalTBHodoscopeGeometry () | |
void | newCell (const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) override |
~EcalTBHodoscopeGeometry () override | |
Public Member Functions inherited from CaloSubdetectorGeometry | |
void | allocateCorners (CaloCellGeometry::CornersVec::size_type n) |
void | allocatePar (ParVec::size_type n, unsigned int m) |
CaloSubdetectorGeometry () | |
CaloSubdetectorGeometry (const CaloSubdetectorGeometry &)=delete | |
avoid copies More... | |
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 DetId | getClosestCell (const GlobalPoint &r) const |
virtual CellMayOwnPtr | 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 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 void | initializeParms () |
virtual unsigned int | numberOfParametersPerShape () const |
virtual unsigned int | numberOfShapes () const |
virtual unsigned int | numberOfTransformParms () const |
CaloSubdetectorGeometry & | operator= (const CaloSubdetectorGeometry &)=delete |
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 bool | valid (const DetId &id) const |
virtual | ~CaloSubdetectorGeometry () |
The base class DOES assume that it owns the CaloCellGeometry objects. More... | |
Static Public Member Functions | |
static float | getFibreLp (int plane, int fibre) |
static float | getFibreRp (int plane, int fibre) |
static std::vector< int > | getFiredFibresInPlane (float xtr, int plane) |
static int | getNFibres () |
static int | getNPlanes () |
Protected Member Functions | |
CaloCellGeometryPtr | getGeometryRawPtr (uint32_t index) const override |
Protected Member Functions inherited from CaloSubdetectorGeometry | |
void | addValidID (const DetId &id) |
virtual CellPtr | cellGeomPtr (uint32_t index) const |
virtual unsigned int | indexFor (const DetId &id) const |
virtual unsigned int | sizeForDenseIndex (const DetId &id) const |
Private Attributes | |
CellVec | m_cellVec |
Static Private Attributes | |
static const fibre_pos | fibrePos_ [nPlanes_][nFibres_] |
static const int | nFibres_ = 64 |
static const int | nPlanes_ = 4 |
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 9 of file EcalTBHodoscopeGeometry.h.
Definition at line 13 of file EcalTBHodoscopeGeometry.h.
typedef std::vector<PreshowerStrip> EcalTBHodoscopeGeometry::CellVec |
Definition at line 11 of file EcalTBHodoscopeGeometry.h.
Definition at line 14 of file EcalTBHodoscopeGeometry.h.
Definition at line 15 of file EcalTBHodoscopeGeometry.h.
EcalTBHodoscopeGeometry::EcalTBHodoscopeGeometry | ( | ) |
Definition at line 6 of file EcalTBHodoscopeGeometry.cc.
|
override |
Definition at line 8 of file EcalTBHodoscopeGeometry.cc.
|
static |
Definition at line 10 of file EcalTBHodoscopeGeometry.cc.
References fibrePos_, EcalTBHodoscopeGeometry::fibre_pos::lp, nFibres_, and nPlanes_.
Referenced by EcalTBHodoscopeRecInfoAlgo::clusterPos().
|
static |
Definition at line 18 of file EcalTBHodoscopeGeometry.cc.
References fibrePos_, nFibres_, nPlanes_, and EcalTBHodoscopeGeometry::fibre_pos::rp.
Referenced by EcalTBHodoscopeRecInfoAlgo::clusterPos().
|
static |
Definition at line 328 of file EcalTBHodoscopeGeometry.cc.
References fibrePos_, mps_fire::i, nFibres_, and nPlanes_.
|
overrideprotectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 341 of file EcalTBHodoscopeGeometry.cc.
References m_cellVec.
|
static |
Definition at line 28 of file EcalTBHodoscopeGeometry.cc.
References nFibres_.
Referenced by EcalTBHodoscopeRecInfoAlgo::reconstruct().
|
static |
Definition at line 26 of file EcalTBHodoscopeGeometry.cc.
References nPlanes_.
Referenced by EcalTBHodoscopeRecInfoAlgo::reconstruct().
|
overridevirtual |
Implements CaloSubdetectorGeometry.
Definition at line 30 of file EcalTBHodoscopeGeometry.cc.
References CaloSubdetectorGeometry::addValidID(), CaloSubdetectorGeometry::cornersMgr(), EBDetId::denseIndex(), hcalRecHitTable_cff::detId, validate-o2o-wbm::f1, and m_cellVec.
|
staticprivate |
Definition at line 47 of file EcalTBHodoscopeGeometry.h.
Referenced by getFibreLp(), getFibreRp(), and getFiredFibresInPlane().
|
private |
Definition at line 49 of file EcalTBHodoscopeGeometry.h.
Referenced by getGeometryRawPtr(), and newCell().
|
staticprivate |
Definition at line 46 of file EcalTBHodoscopeGeometry.h.
Referenced by getFibreLp(), getFibreRp(), getFiredFibresInPlane(), and getNFibres().
|
staticprivate |
Definition at line 45 of file EcalTBHodoscopeGeometry.h.
Referenced by getFibreLp(), getFibreRp(), getFiredFibresInPlane(), and getNPlanes().