#include <EcalEndcapGeometry.h>
Public Types | |
enum | { k_NumberOfCellsForCorners = EEDetId::kSizeForDenseIndexing } |
enum | { k_NumberOfShapes = 1 } |
enum | { k_NumberOfParametersPerShape = 11 } |
typedef EcalEndcapGeometryRecord | AlignedRecord |
typedef EEAlignmentRcd | AlignmentRecord |
typedef EEDetId | DetIdType |
typedef IdealGeometryRecord | IdealRecord |
typedef EcalEndcapNumberingScheme | NumberingScheme |
typedef EZArrayFL< EBDetId > | OrderedListOfEBDetId |
typedef PEcalEndcapRcd | PGeometryRecord |
typedef std::vector < OrderedListOfEBDetId * > | VecOrdListEBDetIdPtr |
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 | |
double | avgAbsZFrontFaceCenter () const |
EcalEndcapGeometry () | |
virtual CaloSubdetectorGeometry::DetIdSet | getCells (const GlobalPoint &r, double dR) const |
Get a list of all cells within a dR of the given cell. More... | |
const OrderedListOfEBDetId * | getClosestBarrelCells (EEDetId id) const |
virtual DetId | getClosestCell (const GlobalPoint &r) const |
int | getNumberOfCrystalPerModule () const |
int | getNumberOfModules () const |
virtual void | initializeParms () |
virtual unsigned int | numberOfParametersPerShape () const |
virtual unsigned int | numberOfShapes () const |
void | setNumberOfCrystalPerModule (const int nncrys) |
void | setNumberOfModules (const int nnmods) |
virtual | ~EcalEndcapGeometry () |
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 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... | |
virtual unsigned int | numberOfTransformParms () const |
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 Member Functions | |
EEDetId | gId (float x, float y, float z) const |
unsigned int | xindex (double x, double z) const |
unsigned int | yindex (double y, double z) const |
Static Private Member Functions | |
static int | myPhi (int i) |
Private Attributes | |
int | _nncrys |
number of crystals per module More... | |
int | _nnmods |
number of modules More... | |
double | m_avgZ |
EZMgrFL< EBDetId > * | m_borderMgr |
VecOrdListEBDetIdPtr * | m_borderPtrVec |
double | m_del |
unsigned int | m_nref |
double | m_wref |
double | m_xhi [2] |
double | m_xlo [2] |
double | m_xoff [2] |
double | m_yhi [2] |
double | m_ylo [2] |
double | m_yoff [2] |
double | zeN |
double | zeP |
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 18 of file EcalEndcapGeometry.h.
Definition at line 23 of file EcalEndcapGeometry.h.
Definition at line 24 of file EcalEndcapGeometry.h.
typedef EEDetId EcalEndcapGeometry::DetIdType |
Definition at line 33 of file EcalEndcapGeometry.h.
Definition at line 22 of file EcalEndcapGeometry.h.
Definition at line 31 of file EcalEndcapGeometry.h.
Definition at line 27 of file EcalEndcapGeometry.h.
Definition at line 25 of file EcalEndcapGeometry.h.
typedef std::vector<OrderedListOfEBDetId*> EcalEndcapGeometry::VecOrdListEBDetIdPtr |
Definition at line 29 of file EcalEndcapGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfCellsForCorners |
Definition at line 35 of file EcalEndcapGeometry.h.
anonymous enum |
anonymous enum |
EcalEndcapGeometry::EcalEndcapGeometry | ( | ) |
Definition at line 9 of file EcalEndcapGeometry.cc.
|
virtual |
Definition at line 18 of file EcalEndcapGeometry.cc.
References m_borderMgr, and m_borderPtrVec.
|
static |
Definition at line 42 of file EcalEndcapGeometry.cc.
References DetId::Ecal.
|
static |
Definition at line 25 of file EcalEndcapGeometry.cc.
References getHLTprescales::index, and CaloGenericDetId::isEE().
double EcalEndcapGeometry::avgAbsZFrontFaceCenter | ( | ) | const |
Definition at line 465 of file EcalEndcapGeometry.cc.
References CaloSubdetectorGeometry::cellGeometries(), i, m_avgZ, and z.
|
inlinestatic |
Definition at line 42 of file EcalEndcapGeometry.h.
|
static |
Definition at line 36 of file EcalEndcapGeometry.cc.
Referenced by FakeCaloAlignmentEP::produceEEAli(), and TestCaloAlignmentEP::produceEEAli().
|
virtual |
Get a list of all cells within a dR of the given cell.
The default implementation makes a loop over all cell geometries. Cleverer implementations are suggested to use rough conversions between eta/phi and ieta/iphi and test on the boundaries.
Reimplemented from CaloSubdetectorGeometry.
Definition at line 318 of file EcalEndcapGeometry.cc.
References reco::deltaR2(), PV3DBase< T, PVType, FrameType >::eta(), eta(), CaloSubdetectorGeometry::getCells(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), ExpressReco_HICollisions_FallBack::id, m_nref, M_PI, m_wref, m_xhi, m_xlo, m_yhi, m_ylo, L1TEmulatorMonitor_cff::p, phi, PV3DBase< T, PVType, FrameType >::phi(), funct::tan(), EEDetId::validDetId(), PV3DBase< T, PVType, FrameType >::x(), xindex(), PV3DBase< T, PVType, FrameType >::y(), yindex(), PV3DBase< T, PVType, FrameType >::z(), and zeP.
const EcalEndcapGeometry::OrderedListOfEBDetId * EcalEndcapGeometry::getClosestBarrelCells | ( | EEDetId | id | ) | const |
Definition at line 401 of file EcalEndcapGeometry.cc.
References degrees(), CaloSubdetectorGeometry::getGeometry(), i, m_borderMgr, m_borderPtrVec, myPhi(), and phi.
Referenced by spr::simpleMove(), and PFRecHitProducerECAL::stdsimplemove().
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 203 of file EcalEndcapGeometry.cc.
References funct::A, funct::C, ExpressReco_HICollisions_FallBack::e, CaloCellGeometry::getCorners(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), gId(), i, EEDetId::ix(), EEDetId::iy(), evf::evtn::offset(), point, EEDetId::validDetId(), PV3DBase< T, PVType, FrameType >::x(), ExpressReco_HICollisions_FallBack::x, PV3DBase< T, PVType, FrameType >::y(), ExpressReco_HICollisions_FallBack::y, z, PV3DBase< T, PVType, FrameType >::z(), and EEDetId::zside().
Referenced by spr::chargeIsolationEcal(), CaloGeometryHelper::getClosestCell(), and spr::propagateCALO().
|
inline |
Definition at line 53 of file EcalEndcapGeometry.h.
References _nncrys.
|
inline |
|
private |
Definition at line 167 of file EcalEndcapGeometry.cc.
References i, gen::k, EEDetId::validDetId(), xindex(), yindex(), zeN, and zeP.
Referenced by getClosestCell().
|
inlinestatic |
Definition at line 70 of file EcalEndcapGeometry.h.
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 48 of file EcalEndcapGeometry.cc.
References CaloSubdetectorGeometry::cellGeometries(), EEDetId::detIdFromDenseIndex(), i, EEDetId::ix(), EEDetId::iy(), m_del, m_nref, m_wref, m_xhi, m_xlo, m_xoff, m_yhi, m_ylo, m_yoff, L1TEmulatorMonitor_cff::p, PV3DBase< T, PVType, FrameType >::x(), ExpressReco_HICollisions_FallBack::x, PV3DBase< T, PVType, FrameType >::y(), ExpressReco_HICollisions_FallBack::y, z, PV3DBase< T, PVType, FrameType >::z(), zeN, and zeP.
|
static |
Definition at line 445 of file EcalEndcapGeometry.cc.
References TruncatedPyramid::localCorners().
|
inlinestaticprivate |
|
static |
Definition at line 453 of file EcalEndcapGeometry.cc.
|
inlinestatic |
Definition at line 74 of file EcalEndcapGeometry.h.
Referenced by FakeCaloAlignmentEP::produceEEAli(), and TestCaloAlignmentEP::produceEEAli().
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 45 of file EcalEndcapGeometry.h.
References k_NumberOfParametersPerShape.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 44 of file EcalEndcapGeometry.h.
References k_NumberOfShapes.
|
inlinestatic |
Definition at line 72 of file EcalEndcapGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), and CaloGeometryBuilder::produceAligned().
|
inline |
Definition at line 57 of file EcalEndcapGeometry.h.
References _nncrys.
|
inline |
|
private |
Definition at line 144 of file EcalEndcapGeometry.cc.
References i, m_nref, m_wref, and m_xlo.
Referenced by getCells(), and gId().
|
private |
Definition at line 156 of file EcalEndcapGeometry.cc.
References i, m_nref, m_wref, and m_ylo.
Referenced by getCells(), and gId().
|
private |
number of crystals per module
Definition at line 101 of file EcalEndcapGeometry.h.
Referenced by getNumberOfCrystalPerModule(), and setNumberOfCrystalPerModule().
|
private |
number of modules
Definition at line 98 of file EcalEndcapGeometry.h.
Referenced by getNumberOfModules(), and setNumberOfModules().
|
mutableprivate |
Definition at line 118 of file EcalEndcapGeometry.h.
Referenced by avgAbsZFrontFaceCenter().
Definition at line 114 of file EcalEndcapGeometry.h.
Referenced by getClosestBarrelCells(), and ~EcalEndcapGeometry().
|
mutableprivate |
Definition at line 116 of file EcalEndcapGeometry.h.
Referenced by getClosestBarrelCells(), and ~EcalEndcapGeometry().
|
private |
Definition at line 105 of file EcalEndcapGeometry.h.
Referenced by initializeParms().
|
private |
Definition at line 107 of file EcalEndcapGeometry.h.
Referenced by getCells(), initializeParms(), xindex(), and yindex().
|
private |
Definition at line 105 of file EcalEndcapGeometry.h.
Referenced by getCells(), initializeParms(), xindex(), and yindex().
|
private |
Definition at line 105 of file EcalEndcapGeometry.h.
Referenced by getCells(), and initializeParms().
|
private |
Definition at line 105 of file EcalEndcapGeometry.h.
Referenced by getCells(), initializeParms(), and xindex().
|
private |
Definition at line 105 of file EcalEndcapGeometry.h.
Referenced by initializeParms().
|
private |
Definition at line 105 of file EcalEndcapGeometry.h.
Referenced by getCells(), and initializeParms().
|
private |
Definition at line 105 of file EcalEndcapGeometry.h.
Referenced by getCells(), initializeParms(), and yindex().
|
private |
Definition at line 105 of file EcalEndcapGeometry.h.
Referenced by initializeParms().
|
private |
Definition at line 103 of file EcalEndcapGeometry.h.
Referenced by gId(), and initializeParms().
|
private |
Definition at line 103 of file EcalEndcapGeometry.h.
Referenced by getCells(), gId(), and initializeParms().