#include <HcalDDDGeometryLoader.h>
Public Types | |
typedef CaloSubdetectorGeometry * | ReturnType |
Public Member Functions | |
HcalDDDGeometryLoader (const HcalDDDRecConstants *hcons) | |
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 *) |
HcalDDDGeometryLoader () | |
void | makeCell (const HcalDetId &, const HcalCellType &, double, double, HcalDDDGeometry *geom) const |
Private Attributes | |
HcalTopology * | dummyTopology_ |
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 16 of file HcalDDDGeometryLoader.cc.
References hcalConstants, HcalDDDRecConstants::isBH(), and isBH_.
|
virtual |
Definition at line 21 of file HcalDDDGeometryLoader.cc.
|
private |
|
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, plotBeamSpotDB::first, HcalDDDRecConstants::HcalCellTypes(), hcalConstants, mps_fire::i, hcalTTPDigis_cfi::id, HcalDDDGeometry::increaseReserve(), HcalDDDGeometry::insertCell(), gen::k, makeCell(), and edm::second().
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, 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, 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(), stringResolutionProvider_cfi::eta, HcalCellType::etaMax(), HcalCellType::etaMin(), JetChargeProducer_cfi::exp, CaloCellGeometry::getParmPtr(), HcalCellType::halfSize(), HcalBarrel, HcalForward, HcalOuter, AnalysisDataFormats_SUSYBSMObjects::hp, gedGsfElectrons_cfi::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 47 of file HcalDDDGeometryLoader.h.
|
private |
Definition at line 45 of file HcalDDDGeometryLoader.h.
Referenced by fill(), HcalDDDGeometryLoader(), and load().
|
private |
Definition at line 48 of file HcalDDDGeometryLoader.h.
Referenced by HcalDDDGeometryLoader(), and makeCell().