#include <EcalPreshowerGeometry.h>
Public Types | |
enum | { k_NumberOfCellsForCorners = ESDetId::kSizeForDenseIndexing } |
enum | { k_NumberOfShapes = 2 } |
enum | { k_NumberOfParametersPerShape = 3 } |
typedef EcalPreshowerGeometryRecord | AlignedRecord |
typedef ESAlignmentRcd | AlignmentRecord |
typedef ESDetId | DetIdType |
typedef IdealGeometryRecord | IdealRecord |
typedef EcalPreshowerNumberingScheme | NumberingScheme |
typedef CaloSubdetectorGeometry::ParVec | ParVec |
typedef CaloSubdetectorGeometry::ParVecVec | ParVecVec |
typedef PEcalPreshowerRcd | PGeometryRecord |
Public Types inherited from CaloSubdetectorGeometry | |
typedef std::vector< const CaloCellGeometry * > | CellCont |
typedef std::set< DetId > | DetIdSet |
typedef std::vector< double > | DimVec |
typedef std::vector< unsigned int > | IVec |
typedef CaloCellGeometry::ParMgr | ParMgr |
typedef CaloCellGeometry::ParVec | ParVec |
typedef CaloCellGeometry::ParVecVec | ParVecVec |
typedef std::vector< double > | TrVec |
Public Member Functions | |
EcalPreshowerGeometry () | |
virtual DetId | getClosestCell (const GlobalPoint &r) const |
virtual DetId | getClosestCellInPlane (const GlobalPoint &r, int plane) const |
virtual void | initializeParms () |
virtual unsigned int | numberOfParametersPerShape () const |
virtual unsigned int | numberOfShapes () const |
virtual unsigned int | numberOfTransformParms () const |
void | setzPlanes (float z1minus, float z2minus, float z1plus, float z2plus) |
virtual | ~EcalPreshowerGeometry () |
The EcalPreshowerGeometry will delete all its cell geometries at destruction time. More... | |
Public Member Functions inherited from CaloSubdetectorGeometry | |
void | addCell (const DetId &id, CaloCellGeometry *ccg) |
Add a cell to the geometry. More... | |
void | allocateCorners (CaloCellGeometry::CornersVec::size_type n) |
void | allocatePar (ParVec::size_type n, unsigned int m) |
CaloSubdetectorGeometry () | |
const CellCont & | cellGeometries () const |
the cells More... | |
CaloCellGeometry::CornersMgr * | cornersMgr () |
double | deltaEta (const DetId &detId) const |
double | 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 const CaloCellGeometry * | getGeometry (const DetId &id) const |
Get the cell geometry of a given detector id. Should return false if not found. More... | |
void | getSummary (TrVec &trVector, IVec &iVector, DimVec &dimVector) 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 std::vector < HepGeom::Point3D< double > > | localCorners (const double *pv, unsigned int i, HepGeom::Point3D< double > &ref) |
static CaloCellGeometry * | newCell (const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, CaloCellGeometry::CornersMgr *mgr, const double *parm, const DetId &detId) |
static unsigned int | numberOfAlignments () |
static std::string | producerTag () |
Private Attributes | |
const double | m_xInterLadGap |
const double | m_xIntraLadGap |
const double | m_xWidWaf |
const double | m_yCtrOff |
const double | m_yWidAct |
double | m_zplane [4] |
Additional Inherited Members | |
Static Protected Member Functions inherited from CaloSubdetectorGeometry | |
static double | deltaR (const GlobalPoint &p1, const GlobalPoint &p2) |
Protected Attributes inherited from CaloSubdetectorGeometry | |
ParVecVec | m_parVecVec |
Definition at line 13 of file EcalPreshowerGeometry.h.
Definition at line 18 of file EcalPreshowerGeometry.h.
Definition at line 19 of file EcalPreshowerGeometry.h.
Definition at line 25 of file EcalPreshowerGeometry.h.
Definition at line 17 of file EcalPreshowerGeometry.h.
Definition at line 22 of file EcalPreshowerGeometry.h.
Definition at line 23 of file EcalPreshowerGeometry.h.
Definition at line 24 of file EcalPreshowerGeometry.h.
Definition at line 20 of file EcalPreshowerGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfCellsForCorners |
Definition at line 27 of file EcalPreshowerGeometry.h.
anonymous enum |
anonymous enum |
Enumerator | |
---|---|
k_NumberOfParametersPerShape |
Definition at line 31 of file EcalPreshowerGeometry.h.
EcalPreshowerGeometry::EcalPreshowerGeometry | ( | ) |
Definition at line 8 of file EcalPreshowerGeometry.cc.
|
virtual |
The EcalPreshowerGeometry will delete all its cell geometries at destruction time.
Definition at line 18 of file EcalPreshowerGeometry.cc.
|
static |
Definition at line 67 of file EcalPreshowerGeometry.cc.
References DetId::Ecal.
|
static |
Definition at line 21 of file EcalPreshowerGeometry.cc.
References CaloGenericDetId::isES(), and edm::second().
|
inlinestatic |
Definition at line 33 of file EcalPreshowerGeometry.h.
|
static |
Definition at line 61 of file EcalPreshowerGeometry.cc.
Referenced by FakeCaloAlignmentEP::produceESAli(), and TestCaloAlignmentEP::produceESAli().
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 155 of file EcalPreshowerGeometry.cc.
References getClosestCellInPlane().
|
virtual |
Definition at line 161 of file EcalPreshowerGeometry.cc.
References CaloSubdetectorGeometry::cellGeometries(), ESDetId::denseIndex(), getHLTprescales::index, ESDetId::ISTRIP_MAX, ESDetId::ISTRIP_MIN, m_xInterLadGap, m_xIntraLadGap, m_xWidWaf, m_yCtrOff, m_yWidAct, m_zplane, L1TEmulatorMonitor_cff::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 60 of file EcalPreshowerGeometry.h.
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 74 of file EcalPreshowerGeometry.cc.
References CaloSubdetectorGeometry::cellGeometries(), CaloSubdetectorGeometry::getValidDetIds(), i, ESDetId::plane(), setzPlanes(), and ESDetId::zside().
|
static |
Definition at line 222 of file EcalPreshowerGeometry.cc.
References PreshowerStrip::localCorners().
|
static |
Definition at line 230 of file EcalPreshowerGeometry.cc.
|
inlinestatic |
Definition at line 64 of file EcalPreshowerGeometry.h.
Referenced by FakeCaloAlignmentEP::produceESAli(), and TestCaloAlignmentEP::produceESAli().
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 36 of file EcalPreshowerGeometry.h.
References k_NumberOfParametersPerShape.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 35 of file EcalPreshowerGeometry.h.
References k_NumberOfShapes.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 58 of file EcalPreshowerGeometry.h.
|
inlinestatic |
Definition at line 62 of file EcalPreshowerGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), and CaloGeometryBuilder::produceAligned().
void EcalPreshowerGeometry::setzPlanes | ( | float | z1minus, |
float | z2minus, | ||
float | z1plus, | ||
float | z2plus | ||
) |
Definition at line 136 of file EcalPreshowerGeometry.cc.
References m_zplane.
Referenced by initializeParms().
|
private |
Definition at line 86 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 87 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 85 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 90 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 89 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane().
|
private |
Definition at line 92 of file EcalPreshowerGeometry.h.
Referenced by getClosestCellInPlane(), and setzPlanes().