#include <EcalEndcapGeometry.h>
Public Member Functions | |
CCGFloat | avgAbsZFrontFaceCenter () const |
EcalEndcapGeometry () | |
CaloSubdetectorGeometry::DetIdSet | getCells (const GlobalPoint &r, double dR) const override |
Get a list of all cells within a dR of the given cell. More... | |
const OrderedListOfEBDetId * | getClosestBarrelCells (EEDetId id) const |
DetId | getClosestCell (const GlobalPoint &r) const override |
int | getNumberOfCrystalPerModule () const |
int | getNumberOfModules () 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 |
bool | present (const DetId &id) const override |
is this detid present in the geometry? More... | |
void | setNumberOfCrystalPerModule (const int nncrys) |
void | setNumberOfModules (const int nnmods) |
~EcalEndcapGeometry () override | |
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 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... | |
virtual unsigned int | numberOfTransformParms () const |
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 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 |
std::vector< DetId > | m_validIds |
Definition at line 20 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.
|
override |
Definition at line 41 of file EcalEndcapGeometry.cc.
References m_borderMgr, m_borderPtrVec, and findQualityFiles::v.
|
static |
Definition at line 66 of file EcalEndcapGeometry.cc.
References DetId::Ecal.
|
static |
Definition at line 53 of file EcalEndcapGeometry.cc.
References cms::cuda::assert(), CaloGenericDetId::isEE(), and ecaldqm::zside().
CCGFloat EcalEndcapGeometry::avgAbsZFrontFaceCenter | ( | ) | const |
Definition at line 429 of file EcalEndcapGeometry.cc.
References CaloSubdetectorGeometry::cellGeomPtr(), mps_fire::i, m_avgZ, m_cellVec, and m_check.
|
inlinestatic |
Definition at line 47 of file EcalEndcapGeometry.h.
|
static |
Definition at line 62 of file EcalEndcapGeometry.cc.
Referenced by FakeCaloAlignmentEP::produceEEAli(), and TestCaloAlignmentEP::produceEEAli().
|
overridevirtual |
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 307 of file EcalEndcapGeometry.cc.
References funct::abs(), reco::deltaR2(), HGC3DClusterGenMatchSelector_cfi::dR, PVValHelper::eta, CaloCellGeometry::etaPos(), CaloSubdetectorGeometry::getCells(), triggerObjects_cff::id, m_cellVec, m_nref, M_PI, m_wref, m_xhi, m_xlo, m_yhi, m_ylo, phi, CaloCellGeometry::phiPos(), alignCSCRings::r, corrVsCorr::rx, corrVsCorr::ry, funct::tan(), EEDetId::validDetId(), xindex(), geometryCSVtoXML::xx, yindex(), geometryCSVtoXML::yy, zeP, and geometryCSVtoXML::zz.
const EcalEndcapGeometry::OrderedListOfEBDetId * EcalEndcapGeometry::getClosestBarrelCells | ( | EEDetId | id | ) | const |
Definition at line 372 of file EcalEndcapGeometry.cc.
References degrees(), CaloSubdetectorGeometry::getGeometry(), mps_fire::i, L1TowerCalibrationProducer_cfi::iEta, m_borderMgr, m_borderPtrVec, myPhi(), phi, and ecaldqm::zside().
Referenced by spr::simpleMove(), and PFECALHashNavigator::stdsimplemove().
|
overridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 210 of file EcalEndcapGeometry.cc.
References MaterialEffects_cfi::A, TtFullHadDaughter::B, gen::C, HLT_2018_cff::distance, MillePedeFileConverter_cfg::e, CaloSubdetectorGeometry::getGeometry(), gId(), mps_fire::i, EEDetId::ix(), EEDetId::iy(), hltrates_dqm_sourceclient-live_cfg::offset, point, alignCSCRings::r, EEDetId::validDetId(), x, PV3DBase< T, PVType, FrameType >::x(), y, PV3DBase< T, PVType, FrameType >::y(), z, PV3DBase< T, PVType, FrameType >::z(), and EEDetId::zside().
Referenced by CaloGeometryHelper::getClosestCell().
|
overrideprotectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 444 of file EcalEndcapGeometry.cc.
References m_cellVec, and CaloCellGeometry::param().
|
inline |
|
inline |
|
private |
Definition at line 186 of file EcalEndcapGeometry.cc.
References mps_fire::i, dqmdumpme::k, EEDetId::validDetId(), x, xindex(), y, yindex(), z, zeN, and zeP.
Referenced by getClosestCell().
|
inlinestatic |
Definition at line 75 of file EcalEndcapGeometry.h.
|
overridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 70 of file EcalEndcapGeometry.cc.
References CaloSubdetectorGeometry::cellGeomPtr(), EEDetId::detIdFromDenseIndex(), mps_fire::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, y, z, zeN, zeP, and geometryCSVtoXML::zz.
|
static |
Definition at line 418 of file EcalEndcapGeometry.cc.
References TruncatedPyramid::localCorners(), and MetAnalyzer::pv().
|
inlinestaticprivate |
Definition at line 102 of file EcalEndcapGeometry.h.
References mps_fire::i.
Referenced by getClosestBarrelCells().
|
overridevirtual |
Implements CaloSubdetectorGeometry.
Definition at line 422 of file EcalEndcapGeometry.cc.
References CaloSubdetectorGeometry::addValidID(), CaloSubdetectorGeometry::cornersMgr(), DeadROC_duringRun::f1, DeadROC_duringRun::f2, and m_cellVec.
|
inlinestatic |
Definition at line 79 of file EcalEndcapGeometry.h.
Referenced by FakeCaloAlignmentEP::produceEEAli(), and TestCaloAlignmentEP::produceEEAli().
|
inlineoverridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 50 of file EcalEndcapGeometry.h.
References k_NumberOfParametersPerShape.
|
inlineoverridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 49 of file EcalEndcapGeometry.h.
References k_NumberOfShapes.
|
overridevirtual |
is this detid present in the geometry?
Reimplemented from CaloSubdetectorGeometry.
Definition at line 450 of file EcalEndcapGeometry.cc.
References DetId::Ecal, EcalEndcap, EEDetId::ix(), EEDetId::iy(), EEDetId::validDetId(), and EEDetId::zside().
Referenced by spr::extraIds().
|
inlinestatic |
Definition at line 77 of file EcalEndcapGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), and CaloGeometryBuilder::CaloGeometryBuilder().
|
inline |
|
inline |
Definition at line 172 of file EcalEndcapGeometry.cc.
References mps_fire::i, m_nref, m_wref, m_xlo, x, and z.
Referenced by getCells(), and gId().
Definition at line 179 of file EcalEndcapGeometry.cc.
References mps_fire::i, m_nref, m_wref, m_ylo, y, and z.
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 131 of file EcalEndcapGeometry.h.
Referenced by avgAbsZFrontFaceCenter(), getCells(), getGeometryRawPtr(), initializeParms(), and newCell().
|
mutableprivate |
Definition at line 129 of file EcalEndcapGeometry.h.
Referenced by avgAbsZFrontFaceCenter().
|
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().