#include <EcalPreshowerGeometry.h>
Public Member Functions | |
EcalPreshowerGeometry () | |
DetId | getClosestCell (const GlobalPoint &r) const override |
virtual DetId | getClosestCellInPlane (const GlobalPoint &r, int plane) const |
void | initializeParms () override |
void | newCell (const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) override |
unsigned int | numberOfParametersPerShape () const override |
unsigned int | numberOfShapes () const override |
unsigned int | numberOfTransformParms () const override |
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) |
~EcalPreshowerGeometry () override | |
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 () | |
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 std::shared_ptr< 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... | |
CaloSubdetectorGeometry & | operator= (const CaloSubdetectorGeometry &)=delete |
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 * | getGeometryRawPtr (uint32_t index) const override |
Protected Member Functions inherited from CaloSubdetectorGeometry | |
void | addValidID (const DetId &id) |
virtual std::shared_ptr< const CaloCellGeometry > | 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 |
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.
Referenced by numberOfParametersPerShape().
|
override |
The EcalPreshowerGeometry will delete all its cell geometries at destruction time.
Definition at line 28 of file EcalPreshowerGeometry.cc.
Referenced by numberOfParametersPerShape().
|
static |
Definition at line 79 of file EcalPreshowerGeometry.cc.
References DetId::Ecal.
Referenced by numberOfAlignments().
|
static |
Definition at line 33 of file EcalPreshowerGeometry.cc.
References CaloGenericDetId::isES(), and edm::second().
Referenced by numberOfAlignments().
|
inlinestatic |
Definition at line 41 of file EcalPreshowerGeometry.h.
|
static |
Definition at line 73 of file EcalPreshowerGeometry.cc.
Referenced by WriteESAlignments::convert(), numberOfAlignments(), FakeCaloAlignmentEP::produceESAli(), and TestCaloAlignmentEP::produceESAli().
|
overridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 169 of file EcalPreshowerGeometry.cc.
References getClosestCellInPlane().
Referenced by numberOfParametersPerShape().
|
virtual |
Definition at line 175 of file EcalPreshowerGeometry.cc.
References cuy::col, CaloSubdetectorGeometry::getGeometry(), 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(), numberOfParametersPerShape(), and ReducedESRecHitCollectionProducer::produce().
|
overrideprotectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 259 of file EcalPreshowerGeometry.cc.
References m_cellVec, and CaloCellGeometry::param().
Referenced by present().
|
inlinestatic |
Definition at line 67 of file EcalPreshowerGeometry.h.
|
overridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 86 of file EcalPreshowerGeometry.cc.
References CaloSubdetectorGeometry::getGeometry(), CaloSubdetectorGeometry::getValidDetIds(), mps_fire::i, ESDetId::plane(), setzPlanes(), ESDetId::zside(), and geometryCSVtoXML::zz.
Referenced by numberOfParametersPerShape().
|
static |
Definition at line 239 of file EcalPreshowerGeometry.cc.
References PreshowerStrip::localCorners().
Referenced by numberOfAlignments().
|
overridevirtual |
Implements CaloSubdetectorGeometry.
Definition at line 248 of file EcalPreshowerGeometry.cc.
References CaloSubdetectorGeometry::addValidID(), CaloSubdetectorGeometry::cornersMgr(), and m_cellVec.
Referenced by numberOfAlignments().
|
inlinestatic |
Definition at line 71 of file EcalPreshowerGeometry.h.
References alignmentTransformIndexGlobal(), alignmentTransformIndexLocal(), detIdFromLocalAlignmentIndex(), connectstrParser::f1, connectstrParser::f2, connectstrParser::f3, mps_fire::i, localCorners(), newCell(), and MetAnalyzer::pv().
Referenced by FakeCaloAlignmentEP::produceESAli(), and TestCaloAlignmentEP::produceESAli().
|
inlineoverridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 44 of file EcalPreshowerGeometry.h.
References EcalPreshowerGeometry(), getClosestCell(), getClosestCellInPlane(), initializeParms(), k_NumberOfParametersPerShape, alignCSCRings::r, setzPlanes(), and ~EcalPreshowerGeometry().
|
inlineoverridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 43 of file EcalPreshowerGeometry.h.
References k_NumberOfShapes.
|
inlineoverridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 65 of file EcalPreshowerGeometry.h.
|
inlineoverridevirtual |
is this detid present in the geometry?
Reimplemented from CaloSubdetectorGeometry.
Definition at line 92 of file EcalPreshowerGeometry.h.
References CaloGenericDetId::denseIndex(), getGeometryRawPtr(), and m_cellVec.
Referenced by getClosestCellInPlane().
|
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(), and numberOfParametersPerShape().
|
private |
Definition at line 115 of file EcalPreshowerGeometry.h.
Referenced by getGeometryRawPtr(), newCell(), and present().
|
private |
Definition at line 107 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 108 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 106 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 111 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 110 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 113 of file EcalPreshowerGeometry.h.
Referenced by EcalPreshowerGeometry(), getClosestCellInPlane(), and setzPlanes().