#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 |
bool | present (const DetId &id) const override |
is this detid present in the geometry? More... | |
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 | ~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 | |
const CaloCellGeometry * | cellGeomPtr (uint32_t index) const override |
Get the cell geometry of a given detector id. Should return nulptr if not found. More... | |
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 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 15 of file EcalPreshowerGeometry.h.
Definition at line 26 of file EcalPreshowerGeometry.h.
Definition at line 27 of file EcalPreshowerGeometry.h.
Definition at line 21 of file EcalPreshowerGeometry.h.
typedef std::vector<PreshowerStrip> EcalPreshowerGeometry::CellVec |
Definition at line 19 of file EcalPreshowerGeometry.h.
Definition at line 33 of file EcalPreshowerGeometry.h.
Definition at line 25 of file EcalPreshowerGeometry.h.
Definition at line 30 of file EcalPreshowerGeometry.h.
Definition at line 31 of file EcalPreshowerGeometry.h.
Definition at line 32 of file EcalPreshowerGeometry.h.
Definition at line 28 of file EcalPreshowerGeometry.h.
Definition at line 22 of file EcalPreshowerGeometry.h.
Definition at line 23 of file EcalPreshowerGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfCellsForCorners |
Definition at line 35 of file EcalPreshowerGeometry.h.
anonymous enum |
anonymous enum |
Enumerator | |
---|---|
k_NumberOfParametersPerShape |
Definition at line 39 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 assert(), CaloGenericDetId::isES(), and edm::second().
|
overrideprotectedvirtual |
Get the cell geometry of a given detector id. Should return nulptr if not found.
Implements CaloSubdetectorGeometry.
Definition at line 260 of file EcalPreshowerGeometry.cc.
References m_cellVec.
|
inlinestatic |
Definition at line 41 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, present(), ESDetId::validDetId(), x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by PreshowerHitMaker::addHit(), getClosestCell(), and ReducedESRecHitCollectionProducer::produce().
|
inlinestatic |
Definition at line 68 of file EcalPreshowerGeometry.h.
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 86 of file EcalPreshowerGeometry.cc.
References assert(), 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::addValidID(), CaloSubdetectorGeometry::cornersMgr(), and m_cellVec.
|
inlinestatic |
Definition at line 72 of file EcalPreshowerGeometry.h.
Referenced by FakeCaloAlignmentEP::produceESAli(), and TestCaloAlignmentEP::produceESAli().
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 44 of file EcalPreshowerGeometry.h.
References k_NumberOfParametersPerShape.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 43 of file EcalPreshowerGeometry.h.
References k_NumberOfShapes.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 66 of file EcalPreshowerGeometry.h.
|
inlineoverridevirtual |
is this detid present in the geometry?
Reimplemented from CaloSubdetectorGeometry.
Definition at line 93 of file EcalPreshowerGeometry.h.
References CaloGenericDetId::denseIndex(), cmsHarvester::index, and m_cellVec.
Referenced by getClosestCellInPlane().
|
inlinestatic |
Definition at line 70 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 assert(), and m_zplane.
Referenced by initializeParms().
|
private |
Definition at line 119 of file EcalPreshowerGeometry.h.
Referenced by cellGeomPtr(), newCell(), and present().
|
private |
Definition at line 111 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 112 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 110 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 115 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 114 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 117 of file EcalPreshowerGeometry.h.
Referenced by EcalPreshowerGeometry(), getClosestCellInPlane(), and setzPlanes().