#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 CellSet | getCellSet (const GlobalPoint &r, double dR) 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... | |
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... | |
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 |
Protected Member Functions inherited from CaloSubdetectorGeometry | |
void | addValidID (const DetId &id) |
virtual unsigned int | indexFor (const DetId &id) const |
virtual unsigned int | sizeForDenseIndex (const DetId &id) 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 |
std::atomic< EZMgrFL< EBDetId > * > | m_borderMgr |
std::atomic < VecOrdListEBDetIdPtr * > | m_borderPtrVec |
CellVec | m_cellVec |
std::atomic< bool > | m_check |
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 |
Definition at line 20 of file EcalEndcapGeometry.h.
Definition at line 31 of file EcalEndcapGeometry.h.
Definition at line 32 of file EcalEndcapGeometry.h.
Definition at line 26 of file EcalEndcapGeometry.h.
typedef std::vector<TruncatedPyramid> EcalEndcapGeometry::CellVec |
Definition at line 24 of file EcalEndcapGeometry.h.
typedef EEDetId EcalEndcapGeometry::DetIdType |
Definition at line 41 of file EcalEndcapGeometry.h.
Definition at line 30 of file EcalEndcapGeometry.h.
Definition at line 39 of file EcalEndcapGeometry.h.
Definition at line 35 of file EcalEndcapGeometry.h.
Definition at line 33 of file EcalEndcapGeometry.h.
Definition at line 27 of file EcalEndcapGeometry.h.
Definition at line 28 of file EcalEndcapGeometry.h.
typedef std::vector<OrderedListOfEBDetId*> EcalEndcapGeometry::VecOrdListEBDetIdPtr |
Definition at line 37 of file EcalEndcapGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfCellsForCorners |
Definition at line 43 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 42 of file EcalEndcapGeometry.cc.
References m_borderMgr, m_borderPtrVec, and findQualityFiles::v.
|
static |
Definition at line 74 of file EcalEndcapGeometry.cc.
References DetId::Ecal.
|
static |
Definition at line 57 of file EcalEndcapGeometry.cc.
References assert(), cmsHarvester::index, CaloGenericDetId::isEE(), and ecaldqm::zside().
CCGFloat EcalEndcapGeometry::avgAbsZFrontFaceCenter | ( | ) | const |
Definition at line 501 of file EcalEndcapGeometry.cc.
References cellGeomPtr(), CaloCellGeometry::getPosition(), i, m_avgZ, m_cellVec, m_check, and PV3DBase< T, PVType, FrameType >::z().
|
protectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 521 of file EcalEndcapGeometry.cc.
References m_cellVec, and CaloCellGeometry::param().
Referenced by avgAbsZFrontFaceCenter(), and initializeParms().
|
inlinestatic |
Definition at line 50 of file EcalEndcapGeometry.h.
|
static |
Definition at line 68 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 352 of file EcalEndcapGeometry.cc.
References funct::abs(), reco::deltaR2(), PV3DBase< T, PVType, FrameType >::eta(), eta(), CaloCellGeometry::etaPos(), CaloSubdetectorGeometry::getCells(), m_cellVec, m_nref, M_PI, m_wref, m_xhi, m_xlo, m_yhi, m_ylo, phi, PV3DBase< T, PVType, FrameType >::phi(), CaloCellGeometry::phiPos(), 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 431 of file EcalEndcapGeometry.cc.
References degrees(), CaloSubdetectorGeometry::getGeometry(), i, m_borderMgr, m_borderPtrVec, myPhi(), phi, and ecaldqm::zside().
Referenced by spr::simpleMove(), and PFECALHashNavigator::stdsimplemove().
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 239 of file EcalEndcapGeometry.cc.
References HLT_25ns14e33_v1_cff::A, funct::C, HLT_25ns14e33_v1_cff::distance, alignCSCRings::e, CaloCellGeometry::getCorners(), CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), gId(), i, EEDetId::ix(), EEDetId::iy(), hltrates_dqm_sourceclient-live_cfg::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(), spr::propagateCALO(), and spr::propagateCosmicCALO().
|
inline |
Definition at line 61 of file EcalEndcapGeometry.h.
References _nncrys.
|
inline |
|
private |
Definition at line 203 of file EcalEndcapGeometry.cc.
References i, relval_steps::k, EEDetId::validDetId(), xindex(), yindex(), zeN, and zeP.
Referenced by getClosestCell().
|
inlinestatic |
Definition at line 78 of file EcalEndcapGeometry.h.
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 80 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, AlCaHLTBitMon_ParallelJobs::p, x, detailsBasic3DVector::y, detailsBasic3DVector::z, PV3DBase< T, PVType, FrameType >::z(), zeN, and zeP.
|
static |
Definition at line 478 of file EcalEndcapGeometry.cc.
References TruncatedPyramid::localCorners().
|
inlinestaticprivate |
|
virtual |
Implements CaloSubdetectorGeometry.
Definition at line 487 of file EcalEndcapGeometry.cc.
References CaloSubdetectorGeometry::addValidID(), CaloSubdetectorGeometry::cornersMgr(), and m_cellVec.
|
inlinestatic |
Definition at line 82 of file EcalEndcapGeometry.h.
Referenced by FakeCaloAlignmentEP::produceEEAli(), and TestCaloAlignmentEP::produceEEAli().
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 53 of file EcalEndcapGeometry.h.
References k_NumberOfParametersPerShape.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 52 of file EcalEndcapGeometry.h.
References k_NumberOfShapes.
|
inlinestatic |
Definition at line 80 of file EcalEndcapGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), and CaloGeometryBuilder::produceAligned().
|
inline |
Definition at line 65 of file EcalEndcapGeometry.h.
References _nncrys.
|
inline |
Definition at line 180 of file EcalEndcapGeometry.cc.
References i, m_nref, m_wref, and m_xlo.
Referenced by getCells(), and gId().
Definition at line 192 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 113 of file EcalEndcapGeometry.h.
Referenced by getNumberOfCrystalPerModule(), and setNumberOfCrystalPerModule().
|
private |
number of modules
Definition at line 110 of file EcalEndcapGeometry.h.
Referenced by getNumberOfModules(), and setNumberOfModules().
|
mutableprivate |
Definition at line 130 of file EcalEndcapGeometry.h.
Referenced by avgAbsZFrontFaceCenter().
Definition at line 126 of file EcalEndcapGeometry.h.
Referenced by getClosestBarrelCells(), and ~EcalEndcapGeometry().
|
mutableprivate |
Definition at line 128 of file EcalEndcapGeometry.h.
Referenced by getClosestBarrelCells(), and ~EcalEndcapGeometry().
|
private |
Definition at line 133 of file EcalEndcapGeometry.h.
Referenced by avgAbsZFrontFaceCenter(), cellGeomPtr(), getCells(), initializeParms(), and newCell().
|
mutableprivate |
Definition at line 131 of file EcalEndcapGeometry.h.
Referenced by avgAbsZFrontFaceCenter().
|
private |
Definition at line 117 of file EcalEndcapGeometry.h.
Referenced by initializeParms().
|
private |
Definition at line 119 of file EcalEndcapGeometry.h.
Referenced by getCells(), initializeParms(), xindex(), and yindex().
|
private |
Definition at line 117 of file EcalEndcapGeometry.h.
Referenced by getCells(), initializeParms(), xindex(), and yindex().
|
private |
Definition at line 117 of file EcalEndcapGeometry.h.
Referenced by EcalEndcapGeometry(), getCells(), and initializeParms().
|
private |
Definition at line 117 of file EcalEndcapGeometry.h.
Referenced by EcalEndcapGeometry(), getCells(), initializeParms(), and xindex().
|
private |
Definition at line 117 of file EcalEndcapGeometry.h.
Referenced by EcalEndcapGeometry(), and initializeParms().
|
private |
Definition at line 117 of file EcalEndcapGeometry.h.
Referenced by EcalEndcapGeometry(), getCells(), and initializeParms().
|
private |
Definition at line 117 of file EcalEndcapGeometry.h.
Referenced by EcalEndcapGeometry(), getCells(), initializeParms(), and yindex().
|
private |
Definition at line 117 of file EcalEndcapGeometry.h.
Referenced by EcalEndcapGeometry(), and initializeParms().
|
private |
Definition at line 115 of file EcalEndcapGeometry.h.
Referenced by gId(), and initializeParms().
|
private |
Definition at line 115 of file EcalEndcapGeometry.h.
Referenced by getCells(), gId(), and initializeParms().