#include <HcalDDDGeometryLoader.h>
Public Types | |
typedef CaloSubdetectorGeometry * | ReturnType |
Public Member Functions | |
HcalDDDGeometryLoader (const HcalDDDRecConstants *hcons) | |
HcalDDDGeometryLoader ()=delete | |
ReturnType | load (const HcalTopology &topo, DetId::Detector, int) |
ReturnType | load (const HcalTopology &topo) |
Load all of HCAL. More... | |
virtual | ~HcalDDDGeometryLoader () |
Private Member Functions | |
void | fill (HcalSubdetector, HcalDDDGeometry *) |
void | makeCell (const HcalDetId &, const HcalCellType &, double, double, HcalDDDGeometry *geom) const |
Private Attributes | |
const HcalDDDRecConstants * | hcalConstants_ |
bool | isBH_ |
Definition at line 21 of file HcalDDDGeometryLoader.h.
Definition at line 28 of file HcalDDDGeometryLoader.h.
|
explicit |
Definition at line 15 of file HcalDDDGeometryLoader.cc.
References hcalConstants_, HcalDDDRecConstants::isBH(), and isBH_.
|
virtual |
Definition at line 21 of file HcalDDDGeometryLoader.cc.
|
delete |
|
private |
helper functions to make all the ids and cells, and put them into the vectors and mpas passed in.
Definition at line 73 of file HcalDDDGeometryLoader.cc.
References gather_cfg::cout, HcalDDDRecConstants::HcalCellTypes(), hcalConstants_, mps_fire::i, triggerObjects_cff::id, HcalDDDGeometry::increaseReserve(), HcalDDDGeometry::insertCell(), gen::k, makeCell(), and phi.
Referenced by load().
HcalDDDGeometryLoader::ReturnType HcalDDDGeometryLoader::load | ( | const HcalTopology & | topo, |
DetId::Detector | det, | ||
int | subdet | ||
) |
Definition at line 25 of file HcalDDDGeometryLoader.cc.
References CaloSubdetectorGeometry::allocateCorners(), CaloSubdetectorGeometry::allocatePar(), CaloSubdetectorGeometry::cornersMgr(), KineDebug3::count(), fill(), relativeConstraints::geom, HcalBarrel, hcalConstants_, HcalEndcap, HcalForward, HcalOuter, nullptr, HcalDDDRecConstants::numberOfCells(), CaloSubdetectorGeometry::parMgr(), and HcalDDDGeometry::sortValidIds().
Referenced by HcalDDDGeometryEP::produceIdeal().
HcalDDDGeometryLoader::ReturnType HcalDDDGeometryLoader::load | ( | const HcalTopology & | topo | ) |
Load all of HCAL.
Definition at line 51 of file HcalDDDGeometryLoader.cc.
References CaloSubdetectorGeometry::allocateCorners(), CaloSubdetectorGeometry::allocatePar(), CaloSubdetectorGeometry::cornersMgr(), KineDebug3::count(), fill(), relativeConstraints::geom, HcalBarrel, hcalConstants_, HcalEndcap, HcalForward, HcalOuter, nullptr, HcalDDDRecConstants::numberOfCells(), CaloSubdetectorGeometry::parMgr(), and HcalDDDGeometry::sortValidIds().
|
private |
Definition at line 115 of file HcalDDDGeometryLoader.cc.
References funct::abs(), funct::cos(), gather_cfg::cout, HcalCellType::depthMax(), HcalCellType::depthMin(), HcalCellType::depthType(), PVValHelper::eta, HcalCellType::etaMax(), HcalCellType::etaMin(), JetChargeProducer_cfi::exp, CaloCellGeometry::getParmPtr(), HcalCellType::halfSize(), HcalBarrel, HcalForward, HcalOuter, AnalysisDataFormats_SUSYBSMObjects::hp, GeomDetEnumerators::isBarrel(), isBH_, HcalDDDGeometry::newCellFast(), CaloSubdetectorGeometry::parMgr(), CaloSubdetectorGeometry::parVecVec(), point, alignCSCRings::r, diffTwoXMLs::r1, diffTwoXMLs::r2, Validation_hcalonly_cfi::sign, funct::sin(), HcalDetId::subdet(), funct::tan(), theta(), x, y, z, and HcalDetId::zside().
Referenced by fill().
|
private |
Definition at line 45 of file HcalDDDGeometryLoader.h.
Referenced by fill(), HcalDDDGeometryLoader(), and load().
|
private |
Definition at line 47 of file HcalDDDGeometryLoader.h.
Referenced by HcalDDDGeometryLoader(), and makeCell().