#include <CaloCellGeometry.h>
Public Types | |
typedef EZMgrFL< GlobalPoint > | CornersMgr |
enum | CornersSize { k_cornerSize = 8 } |
typedef EZArrayFL< GlobalPoint > | CornersVec |
typedef EZMgrFL< double > | ParMgr |
typedef EZArrayFL< double > | ParVec |
typedef std::vector< ParVec > | ParVecVec |
Public Member Functions | |
bool | emptyCorners () const |
virtual const CornersVec & | getCorners () const =0 |
const GlobalPoint & | getPosition () const |
virtual HepGeom::Transform3D | getTransform (std::vector< HepGeom::Point3D< double > > *lptr) const |
bool | inside (const GlobalPoint &point) const |
const double * | param () const |
virtual std::vector < HepGeom::Point3D< double > > | vocalCorners (const double *pv, HepGeom::Point3D< double > &ref) const =0 |
virtual | ~CaloCellGeometry () |
Static Public Member Functions | |
static const double * | checkParmPtr (const std::vector< double > &vd, ParVecVec &pvv) |
static const double * | getParmPtr (const std::vector< double > &vd, ParMgr *mgr, ParVecVec &pvv) |
Static Public Attributes | |
static const float | k_ScaleFromDDDtoGeant |
Protected Member Functions | |
CaloCellGeometry (CornersVec::const_reference gp, const CornersMgr *mgr, const double *par) | |
CaloCellGeometry (const CornersVec &cv, const double *par) | |
CornersVec & | setCorners () const |
Private Attributes | |
CornersVec | m_corners |
const double * | m_parms |
const GlobalPoint | m_refPoint |
Abstract base class for an individual cell's geometry.
Definition at line 25 of file CaloCellGeometry.h.
typedef EZMgrFL< GlobalPoint > CaloCellGeometry::CornersMgr |
Definition at line 30 of file CaloCellGeometry.h.
typedef EZArrayFL< GlobalPoint > CaloCellGeometry::CornersVec |
Definition at line 29 of file CaloCellGeometry.h.
typedef EZMgrFL< double > CaloCellGeometry::ParMgr |
Definition at line 34 of file CaloCellGeometry.h.
typedef EZArrayFL<double> CaloCellGeometry::ParVec |
Definition at line 32 of file CaloCellGeometry.h.
typedef std::vector<ParVec> CaloCellGeometry::ParVecVec |
Definition at line 33 of file CaloCellGeometry.h.
|
inlinevirtual |
Definition at line 40 of file CaloCellGeometry.h.
|
inlineprotected |
Definition at line 72 of file CaloCellGeometry.h.
|
inlineprotected |
Definition at line 79 of file CaloCellGeometry.h.
|
static |
Definition at line 78 of file CaloCellGeometry.cc.
References EZArrayFL< T >::begin(), j, EZArrayFL< T >::size(), and v.
Referenced by getParmPtr().
|
inline |
Definition at line 51 of file CaloCellGeometry.h.
References EZArrayFL< T >::empty(), and m_corners.
Referenced by operator<<().
|
pure virtual |
Implemented in TruncatedPyramid, calogeom::IdealCastorTrapezoid, calogeom::IdealObliquePrism, calogeom::IdealZPrism, PreshowerStrip, and calogeom::IdealZDCTrapezoid.
Definition at line 7 of file CaloCellGeometry.cc.
References m_corners.
Referenced by CaloGeometryHelper::buildCrystalArray(), PFRecHitProducerECAL::createEcalRecHit(), PFRecHitProducerHCAL::createHcalRecHit(), PFRecHitProducerPS::createRecHits(), CaloSubdetectorGeometry::deltaEta(), CaloSubdetectorGeometry::deltaPhi(), CaloTowersCreationAlgo::emCrystalShwrPos(), EcalEndcapGeometry::getClosestCell(), calogeom::IdealZDCTrapezoid::getCorners(), PreshowerStrip::getCorners(), calogeom::IdealZPrism::getCorners(), calogeom::IdealObliquePrism::getCorners(), calogeom::IdealCastorTrapezoid::getCorners(), TruncatedPyramid::getCorners(), HCaloDetIdAssociator::getDetIdPoints(), CaloDetIdAssociator::getDetIdPoints(), EcalShowerProperties::getDistance(), EcalShowerProperties::getSurface(), getTransform(), CaloTowersCreationAlgo::hadSegmentShwrPos(), CaloTowersCreationAlgo::hadShwPosFromCells(), inside(), JetMaker::makeSpecific(), reco::makeSpecific(), operator<<(), PlotEcalRecHits::printEcalRecHit(), EcalGeomPhiSymHelper::setup(), and ValidateGeometry::validateCaloGeometry().
|
static |
Definition at line 105 of file CaloCellGeometry.cc.
References prof2calltree::back, checkParmPtr(), and i.
Referenced by CaloTowerHardcodeGeometryLoader::makeCell(), CastorHardcodeGeometryLoader::makeCell(), ZdcHardcodeGeometryLoader::makeCell(), HcalDDDGeometryLoader::makeCell(), HcalHardcodeGeometryLoader::makeCell(), EcalTBHodoscopeGeometryLoaderFromDDD::makeGeometry(), and CaloGeometryDBEP< T, U >::produceAligned().
|
inline |
Definition at line 46 of file CaloCellGeometry.h.
References m_refPoint.
Referenced by HcalRecHitsValidation::analyze(), EcalTPGParamBuilder::analyze(), CaloTowersCreationAlgo::assignHit(), CaloRecoTauAlgorithm::buildCaloTau(), CaloGeometryHelper::buildCrystalArray(), EcalHaloAlgo::Calculate(), SuperClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_Covariances(), ClusterShapeAlgo::Calculate_EnergyDepTopology(), compEcalEnergySum(), compHcalEnergySum(), CaloTowersCreationAlgo::convert(), EcalClusterTools::covariances(), PFRecHitProducerECAL::createEcalRecHit(), PFRecHitProducerHCAL::createHcalRecHit(), PFRecHitProducerPS::createRecHits(), DistanceToCell::DistanceToCell(), EcalHitMaker::EcalHitMaker(), InvRingCalib::EERingDef(), CaloTowersCreationAlgo::emCrystalShwrPos(), GlobalHitsAnalyzer::fillECal(), GlobalHitsProdHist::fillECal(), GlobalHitsProducer::fillECal(), HCALRecHitAnalyzer::FillGeometry(), ECALRecHitAnalyzer::FillGeometry(), GlobalHitsAnalyzer::fillHCal(), GlobalHitsProdHist::fillHCal(), GlobalHitsProducer::fillHCal(), GlobalRecHitsAnalyzer::fillHCal(), GlobalRecHitsProducer::fillHCal(), PFRecHitProducerECAL::findEcalRecHitGeometry(), TCTauAlgorithm::getCellMomentum(), HcalGeometry::getCells(), EcalEndcapGeometry::getCells(), EcalBarrelGeometry::getCells(), CaloGeometryHelper::getClosestCell(), HcalGeometry::getClosestCell(), EcalEndcapGeometry::getClosestCell(), EcalBarrelGeometry::getClosestCell(), calogeom::IdealZDCTrapezoid::getCorners(), PreshowerStrip::getCorners(), calogeom::IdealZPrism::getCorners(), calogeom::IdealObliquePrism::getCorners(), calogeom::IdealCastorTrapezoid::getCorners(), L2TauModularIsolationProducer::getECALHits(), L2TauIsolationProducer::getECALHits(), L2TauNarrowConeIsolationProducer::getECALHits(), EcalClusterTools::getEnergyDepTopology(), CaloGeometry::getPosition(), HCaloDetIdAssociator::getPosition(), CaloDetIdAssociator::getPosition(), TruncatedPyramid::getPosition(), getTransform(), TruncatedPyramid::getTransform(), CaloTowersCreationAlgo::hadSegmentShwrPos(), CaloTowersCreationAlgo::hadShwPosFromCells(), EcalBarrelRecHitsMaker::init(), EcalEndcapRecHitsMaker::init(), CaloGeometryHelper::initialize(), EcalRingCalibrationTools::initializeFromGeometry(), TruncatedPyramid::makeAxis(), IslandClusterAlgo::makeClusters(), CosmicClusterAlgo::makeClusters(), Multi5x5ClusterAlgo::makeClusters(), HybridClusterAlgo::makeClusters(), PreshowerClusterAlgo::makeOneCluster(), EcalClusterTools::meanClusterPosition(), DistanceToCell::operator()(), operator<<(), calogeom::operator<<(), PlotEcalRecHits::printEcalRecHit(), CastorEventDisplay::processEvent(), JetCrystalsAssociator::produce(), EcalRecHitWorkerRecover::run(), EcalGeomPhiSymHelper::setup(), CaloHitRespoNew::timeOfFlight(), and CaloHitResponse::timeOfFlight().
|
virtual |
Reimplemented in TruncatedPyramid, and PreshowerStrip.
Definition at line 32 of file CaloCellGeometry.cc.
References angle(), getCorners(), getPosition(), i, mag(), L1TEmulatorMonitor_cff::p, p2, param(), csvLumiCalc::unit, vocalCorners(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
bool CaloCellGeometry::inside | ( | const GlobalPoint & | point | ) | const |
Definition at line 126 of file CaloCellGeometry.cc.
References getCorners(), i, L1TEmulatorMonitor_cff::p, funct::true, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by ZdcGeometry::getClosestCell(), CastorGeometry::getClosestCell(), CaloDetIdAssociator::insideElement(), and HCaloDetIdAssociator::insideElement().
|
inline |
Definition at line 53 of file CaloCellGeometry.h.
References m_parms.
Referenced by calogeom::IdealZDCTrapezoid::an(), calogeom::IdealCastorTrapezoid::an(), calogeom::IdealZPrism::dEta(), calogeom::IdealObliquePrism::dEta(), calogeom::IdealCastorTrapezoid::dh(), calogeom::IdealZPrism::dPhi(), calogeom::IdealObliquePrism::dPhi(), calogeom::IdealCastorTrapezoid::dR(), calogeom::IdealZDCTrapezoid::dx(), PreshowerStrip::dx(), calogeom::IdealCastorTrapezoid::dxh(), calogeom::IdealCastorTrapezoid::dxl(), calogeom::IdealZDCTrapezoid::dy(), PreshowerStrip::dy(), calogeom::IdealZDCTrapezoid::dz(), PreshowerStrip::dz(), calogeom::IdealZPrism::dz(), calogeom::IdealObliquePrism::dz(), calogeom::IdealCastorTrapezoid::dz(), calogeom::IdealZPrism::eta(), calogeom::IdealObliquePrism::eta(), calogeom::IdealZDCTrapezoid::getCorners(), calogeom::IdealCastorTrapezoid::getCorners(), getTransform(), TruncatedPyramid::getTransform(), calogeom::IdealZPrism::z(), and calogeom::IdealObliquePrism::z().
|
inlineprotected |
Definition at line 87 of file CaloCellGeometry.h.
References m_corners.
Referenced by calogeom::IdealZDCTrapezoid::getCorners(), PreshowerStrip::getCorners(), calogeom::IdealZPrism::getCorners(), calogeom::IdealObliquePrism::getCorners(), calogeom::IdealCastorTrapezoid::getCorners(), and TruncatedPyramid::getCorners().
|
pure virtual |
Implemented in TruncatedPyramid, calogeom::IdealCastorTrapezoid, calogeom::IdealObliquePrism, calogeom::IdealZPrism, calogeom::IdealZDCTrapezoid, and PreshowerStrip.
Referenced by getTransform().
|
static |
Definition at line 38 of file CaloCellGeometry.h.
Referenced by EcalTBHodoscopeGeometryLoaderFromDDD::makeGeometry().
|
mutableprivate |
Definition at line 93 of file CaloCellGeometry.h.
Referenced by emptyCorners(), getCorners(), and setCorners().
|
private |
Definition at line 95 of file CaloCellGeometry.h.
Referenced by param().
|
private |
Definition at line 91 of file CaloCellGeometry.h.
Referenced by getPosition().