#include <CaloTowerGeometry.h>
Public Types | |
enum | { k_NumberOfParametersPerShape = 5 } |
typedef CaloTowerGeometryRecord | AlignedRecord |
typedef CaloTowerAlignmentRcd | AlignmentRecord |
typedef CaloCellGeometry::CCGFloat | CCGFloat |
typedef std::vector< IdealObliquePrism > | CellVec |
typedef CaloTowerDetId | DetIdType |
typedef PCaloTowerRcd | PGeometryRecord |
typedef CaloCellGeometry::Pt3D | Pt3D |
typedef CaloCellGeometry::Pt3DVec | Pt3DVec |
Public Types inherited from CaloSubdetectorGeometry | |
typedef CaloCellGeometry::CCGFloat | CCGFloat |
typedef std::vector< std::shared_ptr< const CaloCellGeometry > > | CellSet |
typedef std::set< DetId > | DetIdSet |
typedef std::vector< CCGFloat > | DimVec |
typedef std::vector< unsigned int > | IVec |
typedef CaloCellGeometry::ParMgr | ParMgr |
typedef CaloCellGeometry::ParVec | ParVec |
typedef CaloCellGeometry::ParVecVec | ParVecVec |
typedef std::vector< CCGFloat > | TrVec |
Public Member Functions | |
unsigned int | alignmentTransformIndexGlobal (const DetId &id) |
unsigned int | alignmentTransformIndexLocal (const DetId &id) |
CaloTowerGeometry (const CaloTowerTopology *cttopo) | |
std::shared_ptr< const CaloCellGeometry > | getGeometry (const DetId &id) const override |
Get the cell geometry of a given detector id. Should return false if not found. More... | |
void | getSummary (CaloSubdetectorGeometry::TrVec &trVector, CaloSubdetectorGeometry::IVec &iVector, CaloSubdetectorGeometry::DimVec &dimVector, CaloSubdetectorGeometry::IVec &dinsVector) const override |
void | newCell (const GlobalPoint &f1, const GlobalPoint &f2, const GlobalPoint &f3, const CCGFloat *parm, const DetId &detId) override |
virtual unsigned int | numberOfCellsForCorners () const |
unsigned int | numberOfParametersPerShape () const override |
unsigned int | numberOfShapes () const override |
~CaloTowerGeometry () 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 DetIdSet | getCells (const GlobalPoint &r, double dR) const |
Get a list of all cells within a dR of the given cell. More... | |
virtual CellSet | getCellSet (const GlobalPoint &r, double dR) const |
virtual DetId | getClosestCell (const GlobalPoint &r) 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 |
CaloSubdetectorGeometry & | operator= (const CaloSubdetectorGeometry &)=delete |
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 std::string | dbString () |
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 |
unsigned int | indexFor (const DetId &id) const override |
unsigned int | sizeForDenseIndex (const DetId &id) const override |
Protected Member Functions inherited from CaloSubdetectorGeometry | |
void | addValidID (const DetId &id) |
virtual std::shared_ptr< const CaloCellGeometry > | cellGeomPtr (uint32_t index) const |
Private Attributes | |
int | k_NumberOfCellsForCorners |
int | k_NumberOfShapes |
CellVec | m_cellVec |
const CaloTowerTopology * | m_cttopo |
CaloSubdetectorGeometry::IVec | m_dins |
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 |
Only DetId::Calo, subdet=1 DetIds are handled by this class.
Definition at line 16 of file CaloTowerGeometry.h.
Definition at line 27 of file CaloTowerGeometry.h.
Definition at line 26 of file CaloTowerGeometry.h.
Definition at line 22 of file CaloTowerGeometry.h.
typedef std::vector<IdealObliquePrism> CaloTowerGeometry::CellVec |
Definition at line 20 of file CaloTowerGeometry.h.
Definition at line 29 of file CaloTowerGeometry.h.
Definition at line 28 of file CaloTowerGeometry.h.
Definition at line 23 of file CaloTowerGeometry.h.
Definition at line 24 of file CaloTowerGeometry.h.
anonymous enum |
CaloTowerGeometry::CaloTowerGeometry | ( | const CaloTowerTopology * | cttopo | ) |
Definition at line 12 of file CaloTowerGeometry.cc.
Referenced by numberOfCellsForCorners().
|
override |
unsigned int CaloTowerGeometry::alignmentTransformIndexGlobal | ( | const DetId & | id | ) |
Definition at line 42 of file CaloTowerGeometry.cc.
References DetId::Calo.
Referenced by numberOfAlignments(), and CaloGeometryDBEP< T, U >::produceAligned().
unsigned int CaloTowerGeometry::alignmentTransformIndexLocal | ( | const DetId & | id | ) |
Definition at line 25 of file CaloTowerGeometry.cc.
References CaloTowerTopology::firstHEDoublePhiRing(), CaloTowerTopology::firstHFQuadPhiRing(), CaloGenericDetId::isCaloTower(), m_cttopo, and PFRecoTauDiscriminationByIsolation_cfi::offset.
Referenced by numberOfAlignments(), and CaloGeometryDBEP< T, U >::produceAligned().
|
inlinestatic |
Definition at line 33 of file CaloTowerGeometry.h.
Referenced by CaloGeometryDBEP< T, U >::produceAligned().
|
inlineoverridevirtual |
Get the cell geometry of a given detector id. Should return false if not found.
Reimplemented from CaloSubdetectorGeometry.
Definition at line 60 of file CaloTowerGeometry.h.
References CaloSubdetectorGeometry::cellGeomPtr(), CaloTowerTopology::denseIndex(), getSummary(), and m_cttopo.
|
overrideprotectedvirtual |
Implements CaloSubdetectorGeometry.
Definition at line 73 of file CaloTowerGeometry.cc.
References m_cellVec, and CaloCellGeometry::param().
Referenced by sizeForDenseIndex().
|
overridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 81 of file CaloTowerGeometry.cc.
References begin, CaloSubdetectorGeometry::cellGeomPtr(), runTauDisplay::gp, mps_fire::i, gen::k, m_dins, groupFilesInBlocks::nn, numberOfCellsForCorners(), numberOfParametersPerShape(), numberOfShapes(), CaloSubdetectorGeometry::numberOfTransformParms(), convertSQLiteXML::ok, CaloSubdetectorGeometry::parVecVec(), MetAnalyzer::pv(), findQualityFiles::rr, and groupFilesInBlocks::tt.
Referenced by getGeometry().
|
inlineoverrideprotectedvirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 71 of file CaloTowerGeometry.h.
References CaloTowerTopology::denseIndex(), and m_cttopo.
|
static |
Definition at line 47 of file CaloTowerGeometry.cc.
References IdealObliquePrism::localCorners().
Referenced by numberOfAlignments(), and CaloGeometryDBEP< T, U >::produceAligned().
|
overridevirtual |
Implements CaloSubdetectorGeometry.
Definition at line 55 of file CaloTowerGeometry.cc.
References CaloSubdetectorGeometry::addValidID(), CaloSubdetectorGeometry::cornersMgr(), CaloTowerTopology::denseIndex(), CaloGenericDetId::isCaloTower(), m_cellVec, m_cttopo, and m_dins.
Referenced by numberOfAlignments().
|
inlinestatic |
Definition at line 45 of file CaloTowerGeometry.h.
References alignmentTransformIndexGlobal(), alignmentTransformIndexLocal(), connectstrParser::f1, connectstrParser::f2, connectstrParser::f3, mps_fire::i, localCorners(), newCell(), and MetAnalyzer::pv().
Referenced by CaloGeometryDBEP< T, U >::produceAligned().
|
inlinevirtual |
Definition at line 37 of file CaloTowerGeometry.h.
References CaloTowerGeometry(), k_NumberOfCellsForCorners, and ~CaloTowerGeometry().
Referenced by getSummary(), CaloTowerHardcodeGeometryLoader::load(), and CaloGeometryDBEP< T, U >::produceAligned().
|
inlineoverridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 36 of file CaloTowerGeometry.h.
References k_NumberOfParametersPerShape.
Referenced by getSummary(), CaloTowerHardcodeGeometryLoader::load(), and CaloGeometryDBEP< T, U >::produceAligned().
|
inlineoverridevirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 35 of file CaloTowerGeometry.h.
References k_NumberOfShapes.
Referenced by getSummary(), CaloTowerHardcodeGeometryLoader::load(), and CaloGeometryDBEP< T, U >::produceAligned().
|
inlinestatic |
Definition at line 43 of file CaloTowerGeometry.h.
Referenced by PCaloGeometryBuilder::beginRun(), CaloGeometryBuilder::produceAligned(), and CaloGeometryDBEP< T, U >::produceAligned().
|
inlineoverrideprotectedvirtual |
Reimplemented from CaloSubdetectorGeometry.
Definition at line 72 of file CaloTowerGeometry.h.
References getGeometryRawPtr(), m_cttopo, and CaloTowerTopology::sizeForDenseIndexing().
|
private |
Definition at line 79 of file CaloTowerGeometry.h.
Referenced by numberOfCellsForCorners().
|
private |
Definition at line 80 of file CaloTowerGeometry.h.
Referenced by numberOfShapes().
|
private |
Definition at line 81 of file CaloTowerGeometry.h.
Referenced by getGeometryRawPtr(), and newCell().
|
private |
Definition at line 78 of file CaloTowerGeometry.h.
Referenced by alignmentTransformIndexLocal(), getGeometry(), indexFor(), newCell(), and sizeForDenseIndex().
|
private |
Definition at line 82 of file CaloTowerGeometry.h.
Referenced by getSummary(), and newCell().