#include <EcalPreshowerGeometry.h>
Public Member Functions | |
EcalPreshowerGeometry () | |
virtual DetId | getClosestCell (const GlobalPoint &r) const |
virtual DetId | getClosestCellInPlane (const GlobalPoint &r, int plane) const |
virtual void | initializeParms () |
virtual void | newCell (const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) |
virtual unsigned int | numberOfParametersPerShape () const |
virtual unsigned int | numberOfShapes () const |
virtual unsigned int | numberOfTransformParms () const |
void | setzPlanes (CCGFloat z1minus, CCGFloat z2minus, CCGFloat z1plus, CCGFloat z2plus) |
virtual | ~EcalPreshowerGeometry () |
The EcalPreshowerGeometry 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 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... | |
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 DetId | detIdFromLocalAlignmentIndex (unsigned int iLoc) |
static std::string | hitString () |
static void | localCorners (Pt3DVec &lc, const CCGFloat *pv, unsigned int i, Pt3D &ref) |
static unsigned int | numberOfAlignments () |
static std::string | producerTag () |
Protected Member Functions | |
virtual const CaloCellGeometry * | cellGeomPtr (uint32_t index) const |
Protected Member Functions inherited from CaloSubdetectorGeometry | |
virtual unsigned int | indexFor (const DetId &id) const |
virtual unsigned int | sizeForDenseIndex (const DetId &id) const |
Private Attributes | |
CellVec | m_cellVec |
const CCGFloat | m_xInterLadGap |
const CCGFloat | m_xIntraLadGap |
const CCGFloat | m_xWidWaf |
const CCGFloat | m_yCtrOff |
const CCGFloat | m_yWidAct |
CCGFloat | m_zplane [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 14 of file EcalPreshowerGeometry.h.
Definition at line 25 of file EcalPreshowerGeometry.h.
Definition at line 26 of file EcalPreshowerGeometry.h.
Definition at line 20 of file EcalPreshowerGeometry.h.
typedef std::vector<PreshowerStrip> EcalPreshowerGeometry::CellVec |
Definition at line 18 of file EcalPreshowerGeometry.h.
Definition at line 32 of file EcalPreshowerGeometry.h.
Definition at line 24 of file EcalPreshowerGeometry.h.
Definition at line 29 of file EcalPreshowerGeometry.h.
Definition at line 30 of file EcalPreshowerGeometry.h.
Definition at line 31 of file EcalPreshowerGeometry.h.
Definition at line 27 of file EcalPreshowerGeometry.h.
Definition at line 21 of file EcalPreshowerGeometry.h.
Definition at line 22 of file EcalPreshowerGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfCellsForCorners |
Definition at line 34 of file EcalPreshowerGeometry.h.
anonymous enum |
anonymous enum |
Enumerator | |
---|---|
k_NumberOfParametersPerShape |
Definition at line 38 of file EcalPreshowerGeometry.h.
EcalPreshowerGeometry::EcalPreshowerGeometry | ( | ) |
Definition at line 13 of file EcalPreshowerGeometry.cc.
References m_zplane.
|
virtual |
The EcalPreshowerGeometry will delete all its cell geometries at destruction time.
Definition at line 28 of file EcalPreshowerGeometry.cc.
|
static |
Definition at line 79 of file EcalPreshowerGeometry.cc.
References DetId::Ecal.
|
static |
Definition at line 33 of file EcalPreshowerGeometry.cc.
References CaloGenericDetId::isES(), and edm::second().
|
protectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 260 of file EcalPreshowerGeometry.cc.
References m_cellVec, and CaloCellGeometry::param().
|
inlinestatic |
Definition at line 40 of file EcalPreshowerGeometry.h.
|
static |
Definition at line 73 of file EcalPreshowerGeometry.cc.
Referenced by WriteESAlignments::convert(), FakeCaloAlignmentEP::produceESAli(), and TestCaloAlignmentEP::produceESAli().
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 169 of file EcalPreshowerGeometry.cc.
References getClosestCellInPlane().
|
virtual |
Definition at line 175 of file EcalPreshowerGeometry.cc.
References cuy::col, CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), ESDetId::ISTRIP_MAX, ESDetId::ISTRIP_MIN, m_xInterLadGap, m_xIntraLadGap, m_xWidWaf, m_yCtrOff, m_yWidAct, m_zplane, AlCaHLTBitMon_ParallelJobs::p, CaloSubdetectorGeometry::present(), ESDetId::validDetId(), x, PV3DBase< T, PVType, FrameType >::x(), detailsBasic3DVector::y, PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by PreshowerHitMaker::addHit(), getClosestCell(), and ReducedESRecHitCollectionProducer::produce().
|
inlinestatic |
Definition at line 67 of file EcalPreshowerGeometry.h.
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 86 of file EcalPreshowerGeometry.cc.
References CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), CaloSubdetectorGeometry::getValidDetIds(), i, ESDetId::plane(), setzPlanes(), PV3DBase< T, PVType, FrameType >::z(), and ESDetId::zside().
|
static |
Definition at line 239 of file EcalPreshowerGeometry.cc.
References PreshowerStrip::localCorners().
|
virtual |
Implements CaloSubdetectorGeometry.
Definition at line 248 of file EcalPreshowerGeometry.cc.
References CaloSubdetectorGeometry::cornersMgr(), m_cellVec, and CaloSubdetectorGeometry::m_validIds.
|
inlinestatic |
Definition at line 71 of file EcalPreshowerGeometry.h.
Referenced by FakeCaloAlignmentEP::produceESAli(), and TestCaloAlignmentEP::produceESAli().
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 43 of file EcalPreshowerGeometry.h.
References k_NumberOfParametersPerShape.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 42 of file EcalPreshowerGeometry.h.
References k_NumberOfShapes.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 65 of file EcalPreshowerGeometry.h.
|
inlinestatic |
Definition at line 69 of file EcalPreshowerGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), and CaloGeometryBuilder::produceAligned().
void EcalPreshowerGeometry::setzPlanes | ( | CCGFloat | z1minus, |
CCGFloat | z2minus, | ||
CCGFloat | z1plus, | ||
CCGFloat | z2plus | ||
) |
Definition at line 150 of file EcalPreshowerGeometry.cc.
References m_zplane.
Referenced by initializeParms().
|
private |
Definition at line 104 of file EcalPreshowerGeometry.h.
Referenced by cellGeomPtr(), and newCell().
|
private |
Definition at line 96 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 97 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 95 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 100 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 99 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 102 of file EcalPreshowerGeometry.h.
Referenced by EcalPreshowerGeometry(), getClosestCellInPlane(), and setzPlanes().