#include <EcalBarrelGeometry.h>
Public Member Functions | |
CCGFloat | avgRadiusXYFrontFaceCenter () const |
EcalBarrelGeometry () | |
int | getBasketSizeInPhi () const |
virtual CaloSubdetectorGeometry::DetIdSet | getCells (const GlobalPoint &r, double dR) const |
Get a list of all cells within a dR of the given cell. More... | |
virtual DetId | getClosestCell (const GlobalPoint &r) const |
const OrderedListOfEEDetId * | getClosestEndcapCells (EBDetId id) const |
const std::vector< int > & | getEtaBaskets () const |
int | getNumXtalsEtaDirection () const |
int | getNumXtalsPhiDirection () const |
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 | setBasketSizeInPhi (const int &PhiBaskets) |
void | setEtaBaskets (const std::vector< int > &EtaBaskets) |
void | setNumXtalsEtaDirection (const int &nnxtalEta) |
void | setNumXtalsPhiDirection (const int &nnxtalPhi) |
virtual | ~EcalBarrelGeometry () |
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 void | initializeParms () |
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 Attributes | |
std::vector< int > | _EtaBaskets |
int | _nnxtalEta |
int | _nnxtalPhi |
int | _PhiBaskets |
std::atomic< EZMgrFL< EEDetId > * > | m_borderMgr |
std::atomic < VecOrdListEEDetIdPtr * > | m_borderPtrVec |
CellVec | m_cellVec |
std::atomic< bool > | m_check |
CCGFloat | m_radius |
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 19 of file EcalBarrelGeometry.h.
Definition at line 30 of file EcalBarrelGeometry.h.
Definition at line 31 of file EcalBarrelGeometry.h.
Definition at line 25 of file EcalBarrelGeometry.h.
typedef std::vector<TruncatedPyramid> EcalBarrelGeometry::CellVec |
Definition at line 23 of file EcalBarrelGeometry.h.
typedef EBDetId EcalBarrelGeometry::DetIdType |
Definition at line 40 of file EcalBarrelGeometry.h.
Definition at line 29 of file EcalBarrelGeometry.h.
Definition at line 38 of file EcalBarrelGeometry.h.
Definition at line 34 of file EcalBarrelGeometry.h.
Definition at line 32 of file EcalBarrelGeometry.h.
Definition at line 26 of file EcalBarrelGeometry.h.
Definition at line 27 of file EcalBarrelGeometry.h.
typedef std::vector<OrderedListOfEEDetId*> EcalBarrelGeometry::VecOrdListEEDetIdPtr |
Definition at line 36 of file EcalBarrelGeometry.h.
anonymous enum |
Enumerator | |
---|---|
k_NumberOfCellsForCorners |
Definition at line 42 of file EcalBarrelGeometry.h.
anonymous enum |
anonymous enum |
EcalBarrelGeometry::EcalBarrelGeometry | ( | ) |
Definition at line 20 of file EcalBarrelGeometry.cc.
References _EtaBaskets.
|
virtual |
Definition at line 35 of file EcalBarrelGeometry.cc.
References m_borderMgr, m_borderPtrVec, and findQualityFiles::v.
|
static |
Definition at line 69 of file EcalBarrelGeometry.cc.
References DetId::Ecal.
|
static |
Definition at line 51 of file EcalBarrelGeometry.cc.
References assert(), cmsHarvester::index, CaloGenericDetId::isEB(), and ecalpyutils::ism().
CCGFloat EcalBarrelGeometry::avgRadiusXYFrontFaceCenter | ( | ) | const |
Definition at line 476 of file EcalBarrelGeometry.cc.
References cellGeomPtr(), CaloCellGeometry::getPosition(), i, m_cellVec, m_check, m_radius, and PV3DBase< T, PVType, FrameType >::perp().
|
protectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 497 of file EcalBarrelGeometry.cc.
References m_cellVec, and CaloCellGeometry::param().
Referenced by avgRadiusXYFrontFaceCenter().
|
inlinestatic |
Definition at line 48 of file EcalBarrelGeometry.h.
|
static |
Definition at line 63 of file EcalBarrelGeometry.cc.
References EBDetId::SMCRYSTALMODE.
Referenced by FakeCaloAlignmentEP::produceEBAli(), and TestCaloAlignmentEP::produceEBAli().
|
inline |
Definition at line 63 of file EcalBarrelGeometry.h.
References _PhiBaskets.
Referenced by ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction().
|
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 302 of file EcalBarrelGeometry.cc.
References funct::abs(), constexpr, reco::deltaR2(), PV3DBase< T, PVType, FrameType >::eta(), eta(), CaloCellGeometry::etaPos(), f, CaloSubdetectorGeometry::getCells(), m_cellVec, M_PI, EBDetId::MAX_IETA, EBDetId::MAX_IPHI, convertSQLiteXML::ok, phi, PV3DBase< T, PVType, FrameType >::phi(), CaloCellGeometry::phiPos(), pileupReCalc_HLTpaths::scale, and PV3DBase< T, PVType, FrameType >::z().
|
virtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 75 of file EcalBarrelGeometry.cc.
References _nnxtalPhi, HLT_25ns14e33_v1_cff::A, newFWLiteAna::bin, funct::C, constexpr, filterCSVwithJSON::copy, counter, HLT_25ns14e33_v1_cff::distance, alignCSCRings::e, PV3DBase< T, PVType, FrameType >::eta(), eta(), EBDetId::ETAPHIMODE, CaloCellGeometry::etaPos(), CaloSubdetectorGeometry::getGeometry(), i, EBDetId::ieta(), EBDetId::iphi(), M_PI, EBDetId::MAX_IPHI, EBDetId::MIN_IPHI, PV3DBase< T, PVType, FrameType >::phi(), point, CaloSubdetectorGeometry::present(), dqm_diff::start, x, PV3DBase< T, PVType, FrameType >::x(), detailsBasic3DVector::y, PV3DBase< T, PVType, FrameType >::y(), detailsBasic3DVector::z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by spr::chargeIsolationEcal(), CaloGeometryHelper::getClosestCell(), spr::propagateCALO(), and spr::propagateCosmicCALO().
const EcalBarrelGeometry::OrderedListOfEEDetId * EcalBarrelGeometry::getClosestEndcapCells | ( | EBDetId | id | ) | const |
Definition at line 382 of file EcalBarrelGeometry.cc.
References i, EEDetId::idOuterRing(), EEDetId::iquadrant(), EEDetId::ix(), EEDetId::iy(), relval_steps::k, m_borderMgr, m_borderPtrVec, and EEDetId::validDetId().
Referenced by spr::simpleMove(), and PFECALHashNavigator::stdsimplemove().
|
inline |
Definition at line 61 of file EcalBarrelGeometry.h.
References _EtaBaskets.
Referenced by ClusterShapeAlgo::Calculate_BarrelBasketEnergyFraction().
|
inline |
|
inline |
|
inlinestatic |
Definition at line 83 of file EcalBarrelGeometry.h.
|
static |
Definition at line 443 of file EcalBarrelGeometry.cc.
References EBDetId::kSizeForDenseIndexing, TruncatedPyramid::localCornersReflection(), and TruncatedPyramid::localCornersSwap().
|
virtual |
Implements CaloSubdetectorGeometry.
Definition at line 463 of file EcalBarrelGeometry.cc.
References CaloSubdetectorGeometry::addValidID(), CaloSubdetectorGeometry::cornersMgr(), and m_cellVec.
|
inlinestatic |
Definition at line 87 of file EcalBarrelGeometry.h.
Referenced by FakeCaloAlignmentEP::produceEBAli(), and TestCaloAlignmentEP::produceEBAli().
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 51 of file EcalBarrelGeometry.h.
References k_NumberOfParametersPerShape.
|
inlinevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 50 of file EcalBarrelGeometry.h.
References k_NumberOfShapes.
|
inlinestatic |
Definition at line 85 of file EcalBarrelGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), and CaloGeometryBuilder::produceAligned().
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
size of the baskets in the eta direction. This is needed
to find out whether two adjacent crystals lie in the same basked ('module') or not (e.g. this can be used for correcting cluster energies etc.)
Definition at line 121 of file EcalBarrelGeometry.h.
Referenced by EcalBarrelGeometry(), getEtaBaskets(), and setEtaBaskets().
|
private |
number of crystals in eta direction
Definition at line 112 of file EcalBarrelGeometry.h.
Referenced by getNumXtalsEtaDirection(), and setNumXtalsEtaDirection().
|
private |
number of crystals in phi direction
Definition at line 115 of file EcalBarrelGeometry.h.
Referenced by getClosestCell(), getNumXtalsPhiDirection(), and setNumXtalsPhiDirection().
|
private |
size of one basket in phi
Definition at line 124 of file EcalBarrelGeometry.h.
Referenced by getBasketSizeInPhi(), and setBasketSizeInPhi().
Definition at line 126 of file EcalBarrelGeometry.h.
Referenced by getClosestEndcapCells(), and ~EcalBarrelGeometry().
|
mutableprivate |
Definition at line 128 of file EcalBarrelGeometry.h.
Referenced by getClosestEndcapCells(), and ~EcalBarrelGeometry().
|
private |
Definition at line 132 of file EcalBarrelGeometry.h.
Referenced by avgRadiusXYFrontFaceCenter(), cellGeomPtr(), getCells(), and newCell().
|
mutableprivate |
Definition at line 130 of file EcalBarrelGeometry.h.
Referenced by avgRadiusXYFrontFaceCenter().
|
mutableprivate |
Definition at line 129 of file EcalBarrelGeometry.h.
Referenced by avgRadiusXYFrontFaceCenter().