#include <ZdcHardcodeGeometryLoader.h>
Public Types | |
typedef CaloSubdetectorGeometry * | ReturnType |
Public Member Functions | |
virtual ReturnType | load (DetId::Detector det, int subdet) |
ReturnType | load () |
ZdcHardcodeGeometryLoader (const ZdcTopology &ht) | |
ZdcHardcodeGeometryLoader () | |
virtual | ~ZdcHardcodeGeometryLoader () |
Private Member Functions | |
void | fill (HcalZDCDetId::Section section, CaloSubdetectorGeometry *cg) |
void | init () |
CaloCellGeometry * | makeCell (const HcalZDCDetId &detId, CaloSubdetectorGeometry *geom) const |
Private Attributes | |
const ZdcTopology * | extTopology |
float | theEMSectiondX |
float | theEMSectiondY |
float | theEMSectiondZ |
float | theHADSectiondX |
float | theHADSectiondY |
float | theHADSectiondZ |
float | theLUMSectiondX |
float | theLUMSectiondY |
float | theLUMSectiondZ |
ZdcTopology * | theTopology |
Definition at line 22 of file ZdcHardcodeGeometryLoader.h.
ZdcHardcodeGeometryLoader::ZdcHardcodeGeometryLoader | ( | ) |
Definition at line 8 of file ZdcHardcodeGeometryLoader.cc.
References init().
: theTopology ( new ZdcTopology ) , extTopology ( theTopology ) { init(); }
ZdcHardcodeGeometryLoader::ZdcHardcodeGeometryLoader | ( | const ZdcTopology & | ht | ) | [explicit] |
Definition at line 15 of file ZdcHardcodeGeometryLoader.cc.
References init().
: theTopology( 0 ) , extTopology( &ht ) { init(); }
virtual ZdcHardcodeGeometryLoader::~ZdcHardcodeGeometryLoader | ( | ) | [inline, virtual] |
Definition at line 26 of file ZdcHardcodeGeometryLoader.h.
References theTopology.
{ delete theTopology ; }
void ZdcHardcodeGeometryLoader::fill | ( | HcalZDCDetId::Section | section, |
CaloSubdetectorGeometry * | cg | ||
) | [private] |
Referenced by load().
void ZdcHardcodeGeometryLoader::init | ( | void | ) | [private] |
Definition at line 22 of file ZdcHardcodeGeometryLoader.cc.
Referenced by ZdcHardcodeGeometryLoader().
{ }
ZdcHardcodeGeometryLoader::ReturnType ZdcHardcodeGeometryLoader::load | ( | ) |
Definition at line 40 of file ZdcHardcodeGeometryLoader.cc.
References HcalZDCDetId::EM, extTopology, fill(), HcalZDCDetId::HAD, and HcalZDCDetId::LUM.
{ ReturnType hg(new ZdcGeometry( extTopology ) ); fill(HcalZDCDetId::EM ,hg ); fill(HcalZDCDetId::LUM ,hg ); fill(HcalZDCDetId::HAD ,hg ); return hg; }
ZdcHardcodeGeometryLoader::ReturnType ZdcHardcodeGeometryLoader::load | ( | DetId::Detector | det, |
int | subdet | ||
) | [virtual] |
Definition at line 27 of file ZdcHardcodeGeometryLoader.cc.
References HcalZDCDetId::EM, extTopology, fill(), HcalZDCDetId::HAD, HcalZDCDetId::LUM, and HcalZDCDetId::SubdetectorId.
Referenced by ZdcHardcodeGeometryEP::produce().
{ ReturnType hg(new ZdcGeometry( extTopology ) ); if(subdet == HcalZDCDetId::SubdetectorId) { fill(HcalZDCDetId::EM ,hg ); fill(HcalZDCDetId::LUM ,hg ); fill(HcalZDCDetId::HAD ,hg ); } return hg; }
CaloCellGeometry* ZdcHardcodeGeometryLoader::makeCell | ( | const HcalZDCDetId & | detId, |
CaloSubdetectorGeometry * | geom | ||
) | const [private] |
const ZdcTopology* ZdcHardcodeGeometryLoader::extTopology [private] |
Definition at line 38 of file ZdcHardcodeGeometryLoader.h.
Referenced by load().
float ZdcHardcodeGeometryLoader::theEMSectiondX [private] |
Definition at line 40 of file ZdcHardcodeGeometryLoader.h.
float ZdcHardcodeGeometryLoader::theEMSectiondY [private] |
Definition at line 41 of file ZdcHardcodeGeometryLoader.h.
float ZdcHardcodeGeometryLoader::theEMSectiondZ [private] |
Definition at line 42 of file ZdcHardcodeGeometryLoader.h.
float ZdcHardcodeGeometryLoader::theHADSectiondX [private] |
Definition at line 46 of file ZdcHardcodeGeometryLoader.h.
float ZdcHardcodeGeometryLoader::theHADSectiondY [private] |
Definition at line 47 of file ZdcHardcodeGeometryLoader.h.
float ZdcHardcodeGeometryLoader::theHADSectiondZ [private] |
Definition at line 48 of file ZdcHardcodeGeometryLoader.h.
float ZdcHardcodeGeometryLoader::theLUMSectiondX [private] |
Definition at line 43 of file ZdcHardcodeGeometryLoader.h.
float ZdcHardcodeGeometryLoader::theLUMSectiondY [private] |
Definition at line 44 of file ZdcHardcodeGeometryLoader.h.
float ZdcHardcodeGeometryLoader::theLUMSectiondZ [private] |
Definition at line 45 of file ZdcHardcodeGeometryLoader.h.
Definition at line 37 of file ZdcHardcodeGeometryLoader.h.
Referenced by ~ZdcHardcodeGeometryLoader().