#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 24 of file EcalPreshowerGeometry.h.
Definition at line 25 of file EcalPreshowerGeometry.h.
Definition at line 19 of file EcalPreshowerGeometry.h.
typedef std::vector<PreshowerStrip> EcalPreshowerGeometry::CellVec |
Definition at line 17 of file EcalPreshowerGeometry.h.
Definition at line 31 of file EcalPreshowerGeometry.h.
Definition at line 23 of file EcalPreshowerGeometry.h.
Definition at line 28 of file EcalPreshowerGeometry.h.
Definition at line 29 of file EcalPreshowerGeometry.h.
Definition at line 30 of file EcalPreshowerGeometry.h.
Definition at line 26 of file EcalPreshowerGeometry.h.
Definition at line 20 of file EcalPreshowerGeometry.h.
Definition at line 21 of file EcalPreshowerGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfCellsForCorners |
Definition at line 33 of file EcalPreshowerGeometry.h.
anonymous enum |
anonymous enum |
EcalPreshowerGeometry::EcalPreshowerGeometry | ( | ) |
|
override |
The EcalPreshowerGeometry will delete all its cell geometries at destruction time.
Definition at line 26 of file EcalPreshowerGeometry.cc.
|
static |
Definition at line 69 of file EcalPreshowerGeometry.cc.
References DetId::Ecal.
|
static |
Definition at line 28 of file EcalPreshowerGeometry.cc.
References cms::cuda::assert(), CaloGenericDetId::isES(), and edm::second().
|
inlinestatic |
Definition at line 39 of file EcalPreshowerGeometry.h.
|
static |
Definition at line 65 of file EcalPreshowerGeometry.cc.
Referenced by WriteESAlignments::convert(), FakeCaloAlignmentEP::produceESAli(), and TestCaloAlignmentEP::produceESAli().
|
overridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 128 of file EcalPreshowerGeometry.cc.
References getClosestCellInPlane(), and point.
|
virtual |
Definition at line 130 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, point, present(), ESDetId::validDetId(), x, y, and z.
Referenced by PreshowerHitMaker::addHit(), getClosestCell(), and ReducedESRecHitCollectionProducer::produce().
|
overrideprotectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 198 of file EcalPreshowerGeometry.cc.
References m_cellVec, and CaloCellGeometry::param().
|
inlinestatic |
Definition at line 60 of file EcalPreshowerGeometry.h.
|
overridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 73 of file EcalPreshowerGeometry.cc.
References cms::cuda::assert(), CaloSubdetectorGeometry::getGeometry(), CaloSubdetectorGeometry::getValidDetIds(), mps_fire::i, ESDetId::plane(), setzPlanes(), ESDetId::zside(), and geometryCSVtoXML::zz.
|
static |
Definition at line 184 of file EcalPreshowerGeometry.cc.
References PreshowerStrip::localCorners(), and MetAnalyzer::pv().
|
overridevirtual |
Implements CaloSubdetectorGeometry.
Definition at line 188 of file EcalPreshowerGeometry.cc.
References CaloSubdetectorGeometry::addValidID(), CaloSubdetectorGeometry::cornersMgr(), DeadROC_duringRun::f1, and m_cellVec.
|
inlinestatic |
Definition at line 64 of file EcalPreshowerGeometry.h.
Referenced by FakeCaloAlignmentEP::produceESAli(), and TestCaloAlignmentEP::produceESAli().
|
inlineoverridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 42 of file EcalPreshowerGeometry.h.
References k_NumberOfParametersPerShape.
|
inlineoverridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 41 of file EcalPreshowerGeometry.h.
References k_NumberOfShapes.
|
inlineoverridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 58 of file EcalPreshowerGeometry.h.
|
inlineoverridevirtual |
is this detid present in the geometry?
Reimplemented from CaloSubdetectorGeometry.
Definition at line 81 of file EcalPreshowerGeometry.h.
References CaloGenericDetId::denseIndex(), and m_cellVec.
Referenced by getClosestCellInPlane().
|
inlinestatic |
Definition at line 62 of file EcalPreshowerGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), and CaloGeometryBuilder::CaloGeometryBuilder().
void EcalPreshowerGeometry::setzPlanes | ( | CCGFloat | z1minus, |
CCGFloat | z2minus, | ||
CCGFloat | z1plus, | ||
CCGFloat | z2plus | ||
) |
Definition at line 118 of file EcalPreshowerGeometry.cc.
References cms::cuda::assert(), and m_zplane.
Referenced by initializeParms().
|
private |
Definition at line 103 of file EcalPreshowerGeometry.h.
Referenced by getGeometryRawPtr(), newCell(), and present().
|
private |
Definition at line 95 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 96 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 94 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 99 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 98 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 101 of file EcalPreshowerGeometry.h.
Referenced by EcalPreshowerGeometry(), getClosestCellInPlane(), and setzPlanes().