#include <CastorHardcodeGeometryLoader.h>
Public Member Functions | |
CastorHardcodeGeometryLoader () | |
CastorHardcodeGeometryLoader (const CastorTopology &ht) | |
virtual std::unique_ptr< CaloSubdetectorGeometry > | load (DetId::Detector det, int subdet) |
std::unique_ptr< CaloSubdetectorGeometry > | load () |
virtual | ~CastorHardcodeGeometryLoader () |
Private Member Functions | |
void | fill (HcalCastorDetId::Section section, CaloSubdetectorGeometry *cg) |
void | init () |
void | makeCell (const HcalCastorDetId &detId, CaloSubdetectorGeometry *geom) const |
Private Attributes | |
const CastorTopology * | extTopology |
float | theEMSectiondX |
float | theEMSectiondY |
float | theEMSectiondZ |
float | theHADSectiondX |
float | theHADSectiondY |
float | theHADSectiondZ |
CastorTopology * | theTopology |
Definition at line 12 of file CastorHardcodeGeometryLoader.h.
CastorHardcodeGeometryLoader::CastorHardcodeGeometryLoader | ( | ) |
Definition at line 12 of file CastorHardcodeGeometryLoader.cc.
References init().
|
explicit |
Definition at line 19 of file CastorHardcodeGeometryLoader.cc.
References init().
|
inlinevirtual |
Definition at line 16 of file CastorHardcodeGeometryLoader.h.
References fill(), relativeConstraints::geom, init(), load(), makeCell(), trackingPlots::section, and theTopology.
|
private |
Definition at line 60 of file CastorHardcodeGeometryLoader.cc.
References CaloSubdetectorGeometry::allocateCorners(), CaloSubdetectorGeometry::allocatePar(), CaloSubdetectorGeometry::cornersMgr(), extTopology, CastorTopology::firstCell(), triggerObjects_cff::id, CastorGeometry::k_NumberOfParametersPerShape, CastorGeometry::k_NumberOfShapes, HcalCastorDetId::kNumberSectorsPerEnd, HcalCastorDetId::kSizeForDenseIndexing, CastorTopology::lastCell(), makeCell(), nullptr, CaloSubdetectorGeometry::parMgr(), and CastorTopology::valid().
Referenced by load(), and ~CastorHardcodeGeometryLoader().
|
private |
Definition at line 26 of file CastorHardcodeGeometryLoader.cc.
References dXEMPlate, dXHADPlate, dYEMPlate, dYHADPlate, theEMSectiondX, theEMSectiondY, theEMSectiondZ, theHADSectiondX, theHADSectiondY, and theHADSectiondZ.
Referenced by CastorHardcodeGeometryLoader(), and ~CastorHardcodeGeometryLoader().
|
virtual |
Definition at line 37 of file CastorHardcodeGeometryLoader.cc.
References HcalCastorDetId::EM, extTopology, fill(), HcalCastorDetId::HAD, eostools::move(), and HcalCastorDetId::SubdetectorId.
Referenced by CastorHardcodeGeometryEP::produce().
std::unique_ptr< CaloSubdetectorGeometry > CastorHardcodeGeometryLoader::load | ( | ) |
Definition at line 50 of file CastorHardcodeGeometryLoader.cc.
References HcalCastorDetId::EM, extTopology, fill(), HcalCastorDetId::HAD, and eostools::move().
Referenced by ~CastorHardcodeGeometryLoader().
|
private |
Definition at line 100 of file CastorHardcodeGeometryLoader.cc.
References funct::cos(), cuy::dh, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, PVValHelper::dx, PVValHelper::dy, PVValHelper::dz, HcalCastorDetId::EM, benchmark_cfg::fc, CaloCellGeometry::getParmPtr(), CastorGeometry::k_NumberOfParametersPerShape, HcalCastorDetId::kNumberSectorsPerEnd, create_public_lumi_plots::leg, M_PI, HcalCastorDetId::module(), python.rootplot.argparse::module, CaloSubdetectorGeometry::newCell(), CaloSubdetectorGeometry::parMgr(), CaloSubdetectorGeometry::parVecVec(), phi, HcalCastorDetId::section(), trackingPlots::section, HcalCastorDetId::sector(), Validation_hcalonly_cfi::sign, funct::sin(), mathSSE::sqrt(), HcalCastorDetId::zside(), ecaldqm::zside(), and geometryCSVtoXML::zz.
Referenced by fill(), and ~CastorHardcodeGeometryLoader().
|
private |
Definition at line 28 of file CastorHardcodeGeometryLoader.h.
|
private |
Definition at line 31 of file CastorHardcodeGeometryLoader.h.
Referenced by init().
|
private |
Definition at line 32 of file CastorHardcodeGeometryLoader.h.
Referenced by init().
|
private |
Definition at line 33 of file CastorHardcodeGeometryLoader.h.
Referenced by init().
|
private |
Definition at line 34 of file CastorHardcodeGeometryLoader.h.
Referenced by init().
|
private |
Definition at line 35 of file CastorHardcodeGeometryLoader.h.
Referenced by init().
|
private |
Definition at line 36 of file CastorHardcodeGeometryLoader.h.
Referenced by init().
|
private |
Definition at line 27 of file CastorHardcodeGeometryLoader.h.
Referenced by ~CastorHardcodeGeometryLoader().