#include <SimplestToyDetectorFactory.h>
◆ SimplestToyDetectorFactory() [1/2]
SimplestToyDetectorFactory::SimplestToyDetectorFactory |
( |
StoreGateSvc * |
pDetStore | ) |
|
◆ ~SimplestToyDetectorFactory()
SimplestToyDetectorFactory::~SimplestToyDetectorFactory |
( |
| ) |
|
◆ SimplestToyDetectorFactory() [2/2]
◆ create()
void SimplestToyDetectorFactory::create |
( |
GeoPhysVol * |
world | ) |
|
|
virtual |
Definition at line 38 of file SimplestToyDetectorFactory.cxx.
47 double densityOfAir=0.1, densityOfPolystyrene=0.2;
48 const GeoMaterial *air =
new GeoMaterial(
"Air Two",densityOfAir);
49 const GeoMaterial *
poly =
new GeoMaterial(
"std::Polystyrene",densityOfPolystyrene);
56 const GeoLogVol *toyLog =
new GeoLogVol(
"ToyLog", toyBox, air);
58 GeoPhysVol *toyPhys =
new GeoPhysVol(toyLog);
65 GeoLogVol *lPass =
new GeoLogVol(
"Passive", sPass,
poly);
66 GeoPhysVol *pPass =
new GeoPhysVol(lPass);
69 GeoLogVol *lIPass =
new GeoLogVol(
"InnerPassive", sIPass, air);
70 GeoPhysVol *pIPass =
new GeoPhysVol(lIPass);
79 GeoNameTag *
tag =
new GeoNameTag(
"Toy");
◆ getDetectorManager()
◆ operator=()
◆ m_detectorManager
◆ m_detectorStore
The documentation for this class was generated from the following files: