#include <HcalFlexiHardcodeGeometryLoader.h>
Classes | |
struct | HBHOCellParameters |
struct | HECellParameters |
struct | HFCellParameters |
Public Member Functions | |
HcalFlexiHardcodeGeometryLoader (const edm::ParameterSet &) | |
CaloSubdetectorGeometry * | load (const HcalTopology &fTopology, const HcalDDDRecConstants &hcons) |
Private Member Functions | |
void | fillHBHO (HcalGeometry *fGeometry, const std::vector< HBHOCellParameters > &fCells, bool fHB) |
void | fillHE (HcalGeometry *fGeometry, const std::vector< HECellParameters > &fCells) |
void | fillHF (HcalGeometry *fGeometry, const std::vector< HFCellParameters > &fCells) |
std::vector< HBHOCellParameters > | makeHBCells (const HcalDDDRecConstants &hcons) |
std::vector< HECellParameters > | makeHECells (const HcalDDDRecConstants &hcons) |
std::vector< HECellParameters > | makeHECells_H2 () |
std::vector< HFCellParameters > | makeHFCells (const HcalDDDRecConstants &hcons) |
std::vector< HBHOCellParameters > | makeHOCells () |
Private Attributes | |
double | DEGREE2RAD |
bool | isBH_ |
int | MAX_HCAL_PHI |
Definition at line 18 of file HcalFlexiHardcodeGeometryLoader.h.
HcalFlexiHardcodeGeometryLoader::HcalFlexiHardcodeGeometryLoader | ( | const edm::ParameterSet & | ) |
Definition at line 19 of file HcalFlexiHardcodeGeometryLoader.cc.
References DEGREE2RAD, M_PI, and MAX_HCAL_PHI.
|
private |
Definition at line 131 of file HcalFlexiHardcodeGeometryLoader.cc.
References funct::cos(), gather_cfg::cout, TauDecayModes::dec, HcalFlexiHardcodeGeometryLoader::HBHOCellParameters::depth, HcalFlexiHardcodeGeometryLoader::HBHOCellParameters::dphi, PV3DBase< T, PVType, FrameType >::eta(), HcalFlexiHardcodeGeometryLoader::HBHOCellParameters::etaMax, HcalFlexiHardcodeGeometryLoader::HBHOCellParameters::etaMin, CaloCellGeometry::getParmPtr(), HcalBarrel, HcalOuter, HcalFlexiHardcodeGeometryLoader::HBHOCellParameters::ieta, HcalGeometry::increaseReserve(), HcalFlexiHardcodeGeometryLoader::HBHOCellParameters::iphi, HcalGeometry::newCellFast(), CaloSubdetectorGeometry::parMgr(), CaloSubdetectorGeometry::parVecVec(), HcalFlexiHardcodeGeometryLoader::HBHOCellParameters::phi, DetId::rawId(), HcalFlexiHardcodeGeometryLoader::HBHOCellParameters::rMax, HcalFlexiHardcodeGeometryLoader::HBHOCellParameters::rMin, funct::sin(), x, y, z, and PV3DBase< T, PVType, FrameType >::z().
Referenced by load().
|
private |
Definition at line 292 of file HcalFlexiHardcodeGeometryLoader.cc.
References funct::cos(), gather_cfg::cout, TauDecayModes::dec, HcalFlexiHardcodeGeometryLoader::HECellParameters::depth, HcalFlexiHardcodeGeometryLoader::HECellParameters::dphi, PV3DBase< T, PVType, FrameType >::eta(), HcalFlexiHardcodeGeometryLoader::HECellParameters::etaMax, HcalFlexiHardcodeGeometryLoader::HECellParameters::etaMin, CaloCellGeometry::getParmPtr(), HcalEndcap, HcalFlexiHardcodeGeometryLoader::HECellParameters::ieta, HcalGeometry::increaseReserve(), HcalFlexiHardcodeGeometryLoader::HECellParameters::iphi, isBH_, HcalGeometry::newCellFast(), CaloSubdetectorGeometry::parMgr(), CaloSubdetectorGeometry::parVecVec(), perp(), HcalFlexiHardcodeGeometryLoader::HECellParameters::phi, DetId::rawId(), funct::sin(), x, y, z, PV3DBase< T, PVType, FrameType >::z(), HcalFlexiHardcodeGeometryLoader::HECellParameters::zMax, and HcalFlexiHardcodeGeometryLoader::HECellParameters::zMin.
Referenced by load().
|
private |
Definition at line 328 of file HcalFlexiHardcodeGeometryLoader.cc.
References funct::cos(), gather_cfg::cout, TauDecayModes::dec, DEGREE2RAD, HcalFlexiHardcodeGeometryLoader::HFCellParameters::depth, HcalFlexiHardcodeGeometryLoader::HFCellParameters::dphi, HcalFlexiHardcodeGeometryLoader::HFCellParameters::eta, PV3DBase< T, PVType, FrameType >::eta(), CaloCellGeometry::getParmPtr(), HcalForward, HcalGeometry::increaseReserve(), SurfaceOrientation::inner, JetComb::kPhi, MAX_HCAL_PHI, HcalGeometry::newCellFast(), HcalFlexiHardcodeGeometryLoader::HFCellParameters::nPhi, SurfaceOrientation::outer, CaloSubdetectorGeometry::parMgr(), CaloSubdetectorGeometry::parVecVec(), perp(), HcalFlexiHardcodeGeometryLoader::HFCellParameters::phiFirst, HcalFlexiHardcodeGeometryLoader::HFCellParameters::phiStep, DetId::rawId(), HcalFlexiHardcodeGeometryLoader::HFCellParameters::rMax, HcalFlexiHardcodeGeometryLoader::HFCellParameters::rMin, funct::sin(), x, y, z, HcalFlexiHardcodeGeometryLoader::HFCellParameters::zMax, and HcalFlexiHardcodeGeometryLoader::HFCellParameters::zMin.
Referenced by load().
CaloSubdetectorGeometry * HcalFlexiHardcodeGeometryLoader::load | ( | const HcalTopology & | fTopology, |
const HcalDDDRecConstants & | hcons | ||
) |
Definition at line 25 of file HcalFlexiHardcodeGeometryLoader.cc.
References CaloSubdetectorGeometry::allocateCorners(), CaloSubdetectorGeometry::allocatePar(), CaloSubdetectorGeometry::cornersMgr(), gather_cfg::cout, fillHBHO(), fillHE(), fillHF(), HcalTopology::getHFSize(), HcalTopologyMode::H2, HcalDDDRecConstants::isBH(), isBH_, HcalGeometry::k_NumberOfParametersPerShape, makeHBCells(), makeHECells(), makeHECells_H2(), makeHFCells(), makeHOCells(), HcalTopology::mode(), HcalTopology::ncells(), HcalGeometry::numberOfShapes(), CaloSubdetectorGeometry::parMgr(), and HcalGeometry::sortValidIds().
Referenced by HcalHardcodeGeometryEP::produceIdeal().
|
private |
Definition at line 55 of file HcalFlexiHardcodeGeometryLoader.cc.
References gather_cfg::cout, particleFlowClusterECALTimeSelected_cfi::depth, ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, plotBeamSpotDB::first, HcalDDDRecConstants::getConstHBHE(), HcalDDDRecConstants::getEtaBins(), mps_fire::i, gen::k, M_PI, MAX_HCAL_PHI, mps_fire::result, and edm::second().
Referenced by load().
|
private |
Definition at line 168 of file HcalFlexiHardcodeGeometryLoader.cc.
References gather_cfg::cout, particleFlowClusterECALTimeSelected_cfi::depth, ALCARECOTkAlBeamHalo_cff::etaMax, ALCARECOTkAlBeamHalo_cff::etaMin, plotBeamSpotDB::first, HcalDDDRecConstants::getConstHBHE(), HcalDDDRecConstants::getEtaBins(), mps_fire::i, gen::k, M_PI, MAX_HCAL_PHI, mps_fire::result, edm::second(), and units().
Referenced by load().
|
private |
Definition at line 234 of file HcalFlexiHardcodeGeometryLoader.cc.
References DEGREE2RAD, particleFlowClusterECALTimeSelected_cfi::depth, EnergyCorrector::etas, mps_fire::i, gen::k, and mps_fire::result.
Referenced by load().
|
private |
Definition at line 274 of file HcalFlexiHardcodeGeometryLoader.cc.
References particleFlowClusterECALTimeSelected_cfi::depth, HcalDDDRecConstants::getHFCellParameters(), mps_fire::i, DetIdAssociatorESProducer_cff::nPhi, mps_fire::result, conversionPostprocessing_cfi::rMax, and conversionPostprocessing_cfi::rMin.
Referenced by load().
|
private |
Definition at line 99 of file HcalFlexiHardcodeGeometryLoader.cc.
References mps_fire::i, M_PI, DetIdAssociatorESProducer_cff::nPhi, phi, and mps_fire::result.
Referenced by load().
|
private |
Definition at line 87 of file HcalFlexiHardcodeGeometryLoader.h.
Referenced by fillHF(), HcalFlexiHardcodeGeometryLoader(), and makeHECells_H2().
|
private |
Definition at line 88 of file HcalFlexiHardcodeGeometryLoader.h.
|
private |
Definition at line 86 of file HcalFlexiHardcodeGeometryLoader.h.
Referenced by fillHF(), HcalFlexiHardcodeGeometryLoader(), makeHBCells(), and makeHECells().