#include <HcalHardcodeGeometryLoader.h>
Classes | |
struct | HBHOCellParameters |
struct | HECellParameters |
struct | HFCellParameters |
Public Member Functions | |
HcalHardcodeGeometryLoader (const edm::ParameterSet &) | |
CaloSubdetectorGeometry * | load (const HcalTopology &fTopology) |
Private Member Functions | |
void | fillHBHO (CaloSubdetectorGeometry *fGeometry, const std::vector< HBHOCellParameters > &fCells, bool fHB) |
void | fillHE (CaloSubdetectorGeometry *fGeometry, const std::vector< HECellParameters > &fCells) |
void | fillHF (CaloSubdetectorGeometry *fGeometry, const std::vector< HFCellParameters > &fCells) |
std::vector< HBHOCellParameters > | makeHBCells (const HcalTopology &topology) |
std::vector< HECellParameters > | makeHECells (const HcalTopology &topology) |
std::vector< HECellParameters > | makeHECells_H2 () |
std::vector< HFCellParameters > | makeHFCells () |
std::vector< HBHOCellParameters > | makeHOCells () |
Private Attributes | |
double | DEGREE2RAD |
std::vector< std::vector< int > > | m_segmentation |
int | MAX_HCAL_PHI |
Definition at line 16 of file HcalHardcodeGeometryLoader.h.
HcalHardcodeGeometryLoader::HcalHardcodeGeometryLoader | ( | const edm::ParameterSet & | ) |
Definition at line 14 of file HcalHardcodeGeometryLoader.cc.
References gather_cfg::cout, DEGREE2RAD, M_PI, and MAX_HCAL_PHI.
|
private |
Definition at line 164 of file HcalHardcodeGeometryLoader.cc.
References funct::cos(), gather_cfg::cout, DEGREE2RAD, HcalHardcodeGeometryLoader::HBHOCellParameters::depth, HcalDetId::depth(), HcalHardcodeGeometryLoader::HBHOCellParameters::dphi, HcalHardcodeGeometryLoader::HBHOCellParameters::eta, PV3DBase< T, PVType, FrameType >::eta(), HcalHardcodeGeometryLoader::HBHOCellParameters::etaMax, HcalHardcodeGeometryLoader::HBHOCellParameters::etaMin, CaloCellGeometry::getParmPtr(), HcalBarrel, HcalOuter, HcalDetId::ieta(), HcalDetId::iphi(), MAX_HCAL_PHI, CaloSubdetectorGeometry::newCell(), CaloSubdetectorGeometry::parMgr(), CaloSubdetectorGeometry::parVecVec(), HcalHardcodeGeometryLoader::HBHOCellParameters::phiFirst, HcalHardcodeGeometryLoader::HBHOCellParameters::phiStep, HcalHardcodeGeometryLoader::HBHOCellParameters::rMax, HcalHardcodeGeometryLoader::HBHOCellParameters::rMin, funct::sin(), x, y, z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by load().
|
private |
Definition at line 389 of file HcalHardcodeGeometryLoader.cc.
References funct::cos(), gather_cfg::cout, DEGREE2RAD, HcalHardcodeGeometryLoader::HECellParameters::depth, HcalHardcodeGeometryLoader::HECellParameters::dphi, HcalHardcodeGeometryLoader::HECellParameters::eta, PV3DBase< T, PVType, FrameType >::eta(), HcalHardcodeGeometryLoader::HECellParameters::etaMax, HcalHardcodeGeometryLoader::HECellParameters::etaMin, CaloCellGeometry::getParmPtr(), HcalEndcap, MAX_HCAL_PHI, CaloSubdetectorGeometry::newCell(), CaloSubdetectorGeometry::parMgr(), CaloSubdetectorGeometry::parVecVec(), perp(), HcalHardcodeGeometryLoader::HECellParameters::phiFirst, HcalHardcodeGeometryLoader::HECellParameters::phiStep, funct::sin(), x, y, z, PV3DBase< T, PVType, FrameType >::z(), HcalHardcodeGeometryLoader::HECellParameters::zMax, and HcalHardcodeGeometryLoader::HECellParameters::zMin.
Referenced by load().
|
private |
Definition at line 425 of file HcalHardcodeGeometryLoader.cc.
References funct::cos(), gather_cfg::cout, DEGREE2RAD, HcalHardcodeGeometryLoader::HFCellParameters::depth, HcalHardcodeGeometryLoader::HFCellParameters::dphi, HcalHardcodeGeometryLoader::HFCellParameters::eta, PV3DBase< T, PVType, FrameType >::eta(), CaloCellGeometry::getParmPtr(), HcalForward, SurfaceOrientation::inner, MAX_HCAL_PHI, CaloSubdetectorGeometry::newCell(), SurfaceOrientation::outer, CaloSubdetectorGeometry::parMgr(), CaloSubdetectorGeometry::parVecVec(), perp(), HcalHardcodeGeometryLoader::HFCellParameters::phiFirst, HcalHardcodeGeometryLoader::HFCellParameters::phiStep, HcalHardcodeGeometryLoader::HFCellParameters::rMax, HcalHardcodeGeometryLoader::HFCellParameters::rMin, funct::sin(), x, y, z, PV3DBase< T, PVType, FrameType >::z(), HcalHardcodeGeometryLoader::HFCellParameters::zMax, and HcalHardcodeGeometryLoader::HFCellParameters::zMin.
Referenced by load().
CaloSubdetectorGeometry * HcalHardcodeGeometryLoader::load | ( | const HcalTopology & | fTopology | ) |
Definition at line 23 of file HcalHardcodeGeometryLoader.cc.
References CaloSubdetectorGeometry::allocateCorners(), CaloSubdetectorGeometry::allocatePar(), CaloSubdetectorGeometry::cornersMgr(), gather_cfg::cout, fillHBHO(), fillHE(), fillHF(), HcalTopology::getDepthSegmentation(), HcalTopologyMode::H2, i, relval_2017::k, HcalGeometry::k_NumberOfParametersPerShape, HcalTopology::lastHERing(), m_segmentation, makeHBCells(), makeHECells(), makeHECells_H2(), makeHFCells(), makeHOCells(), maxEta, HcalTopology::mode(), HcalTopology::ncells(), CaloSubdetectorGeometry::numberOfShapes(), and CaloSubdetectorGeometry::parMgr().
Referenced by HcalHardcodeGeometryEP::produceIdeal().
|
private |
Definition at line 56 of file HcalHardcodeGeometryLoader.cc.
References gather_cfg::cout, HLT_FULL_cff::depth, HLT_FULL_cff::etaMax, HLT_FULL_cff::etaMin, i, m_segmentation, HcalTopology::mode(), query::result, and HcalTopologyMode::SLHC.
Referenced by load().
|
private |
Definition at line 200 of file HcalHardcodeGeometryLoader.cc.
References gather_cfg::cout, SiPixelRawToDigiRegional_cfi::deltaPhi, HLT_FULL_cff::depth, HcalTopology::firstHEDoublePhiRing(), HcalTopology::firstHETripleDepthRing(), i, HcalTopology::lastHERing(), m_segmentation, HcalTopology::mode(), query::result, HcalTopologyMode::SLHC, SiStripMonitorClusterAlca_cfi::zmax, and SiStripMonitorClusterAlca_cfi::zmin.
Referenced by load().
|
private |
Definition at line 309 of file HcalHardcodeGeometryLoader.cc.
References i, and query::result.
Referenced by load().
|
private |
Definition at line 347 of file HcalHardcodeGeometryLoader.cc.
References i, and query::result.
Referenced by load().
|
private |
Definition at line 130 of file HcalHardcodeGeometryLoader.cc.
References i, and query::result.
Referenced by load().
|
private |
Definition at line 84 of file HcalHardcodeGeometryLoader.h.
Referenced by fillHBHO(), fillHE(), fillHF(), and HcalHardcodeGeometryLoader().
|
private |
Definition at line 86 of file HcalHardcodeGeometryLoader.h.
Referenced by load(), makeHBCells(), and makeHECells().
|
private |
Definition at line 83 of file HcalHardcodeGeometryLoader.h.
Referenced by fillHBHO(), fillHE(), fillHF(), and HcalHardcodeGeometryLoader().