#include <EcalEndcapGeometry.h>
Public Member Functions | |
CCGFloat | 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 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 |
void | setNumberOfCrystalPerModule (const int nncrys) |
void | setNumberOfModules (const int nnmods) |
virtual | ~EcalEndcapGeometry () |
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 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 void | localCorners (Pt3DVec &lc, const CCGFloat *pv, unsigned int i, Pt3D &ref) |
static unsigned int | numberOfAlignments () |
static std::string | producerTag () |
Protected Member Functions | |
virtual const CaloCellGeometry * | cellGeomPtr (uint32_t index) const |
Private Member Functions | |
EEDetId | gId (float x, float y, float z) const |
unsigned int | xindex (CCGFloat x, CCGFloat z) const |
unsigned int | yindex (CCGFloat y, CCGFloat 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... | |
CCGFloat | m_avgZ |
EZMgrFL< EBDetId > * | m_borderMgr |
VecOrdListEBDetIdPtr * | m_borderPtrVec |
CellVec | m_cellVec |
CCGFloat | m_del |
unsigned int | m_nref |
CCGFloat | m_wref |
CCGFloat | m_xhi [2] |
CCGFloat | m_xlo [2] |
CCGFloat | m_xoff [2] |
CCGFloat | m_yhi [2] |
CCGFloat | m_ylo [2] |
CCGFloat | m_yoff [2] |
CCGFloat | zeN |
CCGFloat | zeP |
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 18 of file EcalEndcapGeometry.h.
Definition at line 29 of file EcalEndcapGeometry.h.
Definition at line 30 of file EcalEndcapGeometry.h.
Definition at line 24 of file EcalEndcapGeometry.h.
typedef std::vector<TruncatedPyramid> EcalEndcapGeometry::CellVec |
Definition at line 22 of file EcalEndcapGeometry.h.
typedef EEDetId EcalEndcapGeometry::DetIdType |
Definition at line 39 of file EcalEndcapGeometry.h.
Definition at line 28 of file EcalEndcapGeometry.h.
Definition at line 37 of file EcalEndcapGeometry.h.
Definition at line 33 of file EcalEndcapGeometry.h.
Definition at line 31 of file EcalEndcapGeometry.h.
Definition at line 25 of file EcalEndcapGeometry.h.
Definition at line 26 of file EcalEndcapGeometry.h.
typedef std::vector<OrderedListOfEBDetId*> EcalEndcapGeometry::VecOrdListEBDetIdPtr |
Definition at line 35 of file EcalEndcapGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfCellsForCorners |
Definition at line 41 of file EcalEndcapGeometry.h.
anonymous enum |
anonymous enum |
EcalEndcapGeometry::EcalEndcapGeometry | ( | void | ) |
Definition at line 14 of file EcalEndcapGeometry.cc.
References m_xhi, m_xlo, m_xoff, m_yhi, m_ylo, and m_yoff.
|
virtual |
Definition at line 41 of file EcalEndcapGeometry.cc.
References m_borderMgr, and m_borderPtrVec.
|
static |
Definition at line 65 of file EcalEndcapGeometry.cc.
References DetId::Ecal.
|
static |
Definition at line 48 of file EcalEndcapGeometry.cc.
References getHLTprescales::index, and CaloGenericDetId::isEE().
CCGFloat EcalEndcapGeometry::avgAbsZFrontFaceCenter | ( | ) | const |
Definition at line 495 of file EcalEndcapGeometry.cc.
References cellGeomPtr(), CaloCellGeometry::getPosition(), i, m_avgZ, m_cellVec, and PV3DBase< T, PVType, FrameType >::z().
|
protectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 514 of file EcalEndcapGeometry.cc.
References m_cellVec, and CaloCellGeometry::param().
Referenced by avgAbsZFrontFaceCenter(), and initializeParms().
|
inlinestatic |
Definition at line 48 of file EcalEndcapGeometry.h.
|
static |
Definition at line 59 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 345 of file EcalEndcapGeometry.cc.
References reco::deltaR2(), PV3DBase< T, PVType, FrameType >::eta(), eta(), CaloSubdetectorGeometry::getCells(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), errorMatrix2Lands_multiChannel::id, m_nref, M_PI, m_wref, m_xhi, m_xlo, m_yhi, m_ylo, AlCaHLTBitMon_ParallelJobs::p, phi, PV3DBase< T, PVType, FrameType >::phi(), corrVsCorr::rx, corrVsCorr::ry, 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 428 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 230 of file EcalEndcapGeometry.cc.
References funct::A, funct::C, alignCSCRings::e, CaloCellGeometry::getCorners(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), gId(), i, EEDetId::ix(), EEDetId::iy(), evf::evtn::offset(), point, EEDetId::validDetId(), x, PV3DBase< T, PVType, FrameType >::x(), detailsBasic3DVector::y, PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::z, PV3DBase< T, PVType, FrameType >::z(), and EEDetId::zside().
Referenced by spr::chargeIsolationEcal(), CaloGeometryHelper::getClosestCell(), and spr::propagateCALO().
|
inline |
Definition at line 59 of file EcalEndcapGeometry.h.
References _nncrys.
|
inline |
|
private |
Definition at line 194 of file EcalEndcapGeometry.cc.
References i, gen::k, EEDetId::validDetId(), xindex(), yindex(), zeN, and zeP.
Referenced by getClosestCell().
|
inlinestatic |
Definition at line 76 of file EcalEndcapGeometry.h.
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 71 of file EcalEndcapGeometry.cc.
References cellGeomPtr(), EEDetId::detIdFromDenseIndex(), CaloCellGeometry::getPosition(), i, EEDetId::ix(), EEDetId::iy(), m_cellVec, m_del, m_nref, m_wref, m_xhi, m_xlo, m_xoff, m_yhi, m_ylo, m_yoff, errorMatrix2Lands_multiChannel::nN, AlCaHLTBitMon_ParallelJobs::p, x, detailsBasic3DVector::y, detailsBasic3DVector::z, PV3DBase< T, PVType, FrameType >::z(), zeN, and zeP.
|
static |
Definition at line 472 of file EcalEndcapGeometry.cc.
References TruncatedPyramid::localCorners().
|
inlinestaticprivate |
|
virtual |
Implements CaloSubdetectorGeometry.
Definition at line 481 of file EcalEndcapGeometry.cc.
References CaloSubdetectorGeometry::cornersMgr(), m_cellVec, and CaloSubdetectorGeometry::m_validIds.
|
inlinestatic |
Definition at line 80 of file EcalEndcapGeometry.h.
Referenced by FakeCaloAlignmentEP::produceEEAli(), and TestCaloAlignmentEP::produceEEAli().
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 51 of file EcalEndcapGeometry.h.
References k_NumberOfParametersPerShape.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 50 of file EcalEndcapGeometry.h.
References k_NumberOfShapes.
|
inlinestatic |
Definition at line 78 of file EcalEndcapGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), and CaloGeometryBuilder::produceAligned().
|
inline |
Definition at line 63 of file EcalEndcapGeometry.h.
References _nncrys.
|
inline |
Definition at line 171 of file EcalEndcapGeometry.cc.
References i, m_nref, m_wref, and m_xlo.
Referenced by getCells(), and gId().
Definition at line 183 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 111 of file EcalEndcapGeometry.h.
Referenced by getNumberOfCrystalPerModule(), and setNumberOfCrystalPerModule().
|
private |
number of modules
Definition at line 108 of file EcalEndcapGeometry.h.
Referenced by getNumberOfModules(), and setNumberOfModules().
|
mutableprivate |
Definition at line 128 of file EcalEndcapGeometry.h.
Referenced by avgAbsZFrontFaceCenter().
Definition at line 124 of file EcalEndcapGeometry.h.
Referenced by getClosestBarrelCells(), and ~EcalEndcapGeometry().
|
mutableprivate |
Definition at line 126 of file EcalEndcapGeometry.h.
Referenced by getClosestBarrelCells(), and ~EcalEndcapGeometry().
|
private |
Definition at line 130 of file EcalEndcapGeometry.h.
Referenced by avgAbsZFrontFaceCenter(), cellGeomPtr(), initializeParms(), and newCell().
|
private |
Definition at line 115 of file EcalEndcapGeometry.h.
Referenced by initializeParms().
|
private |
Definition at line 117 of file EcalEndcapGeometry.h.
Referenced by getCells(), initializeParms(), xindex(), and yindex().
|
private |
Definition at line 115 of file EcalEndcapGeometry.h.
Referenced by getCells(), initializeParms(), xindex(), and yindex().
|
private |
Definition at line 115 of file EcalEndcapGeometry.h.
Referenced by EcalEndcapGeometry(), getCells(), and initializeParms().
|
private |
Definition at line 115 of file EcalEndcapGeometry.h.
Referenced by EcalEndcapGeometry(), getCells(), initializeParms(), and xindex().
|
private |
Definition at line 115 of file EcalEndcapGeometry.h.
Referenced by EcalEndcapGeometry(), and initializeParms().
|
private |
Definition at line 115 of file EcalEndcapGeometry.h.
Referenced by EcalEndcapGeometry(), getCells(), and initializeParms().
|
private |
Definition at line 115 of file EcalEndcapGeometry.h.
Referenced by EcalEndcapGeometry(), getCells(), initializeParms(), and yindex().
|
private |
Definition at line 115 of file EcalEndcapGeometry.h.
Referenced by EcalEndcapGeometry(), and initializeParms().
|
private |
Definition at line 113 of file EcalEndcapGeometry.h.
Referenced by gId(), and initializeParms().
|
private |
Definition at line 113 of file EcalEndcapGeometry.h.
Referenced by getCells(), gId(), and initializeParms().