Detector class based on G4UserDetetectorConstruction. More...
#include <Detector.h>
Public Member Functions | |
Detector () | |
Constructor for Detector class. | |
~Detector () | |
Destructor for Detector class. | |
G4VPhysicalVolume * | Construct () |
Member function to construct the OLYMPUS detector. | |
Private Attributes | |
Beam_Pipe * | pBP |
Pointer to Beam_Pipe class. | |
Gem_Tracker * | pGT |
Pointer to Gem_Tracker class. | |
Luminosity_Monitor * | pLM |
Pointer to Luminosity_Monitor class. | |
Magnetic_Field * | pMF |
Pointer to the Magnetic Field class. | |
MWPC * | pMW |
Pointer to MWPC class. | |
Symmetric_Moeller * | pSM |
Pointer to Symmetric_Moeller class. | |
Target_Chamber * | pTC |
Pointer to Target_Chamber class. | |
Time_of_Flight * | pTF |
Pointer to Time_of_Flight class. | |
Toroid_Magnet * | pTM |
Pointer to Toroid_Magnet class. | |
Wire_Chamber * | pWC |
Pointer to Wire_Chamber class. |
Detector class based on G4UserDetetectorConstruction.
Main class for constructing the OLYMPUS detector. This is called from the main() program in the OLYMPUS Monte Carlo. Generates the material database, reads the magnetic field grid and the magnetic field, defines the World volume for the Monte Carlo, and then calls the other routines which produce the individual detector components.
Definition at line 51 of file Detector.h.
Detector::Detector | ( | ) |
Constructor for Detector class.
Called in main program to create an instance of the Detector class.
Definition at line 55 of file Detector.cc.
References DET_Messenger::Instance(), and DET_Messenger::setDETptr().
Detector::~Detector | ( | ) |
G4VPhysicalVolume * Detector::Construct | ( | ) |
Member function to construct the OLYMPUS detector.
Called by GEANT4 kernel to build the detector. The code builds the material database and the magnetic field. It then constructs the world volume and calls the Build member functions for each detector component.
Definition at line 88 of file Detector.cc.
References Symmetric_Moeller::Build(), MWPC::Build(), Luminosity_Monitor::Build(), Time_of_Flight::Build(), Wire_Chamber::Build(), Gem_Tracker::Build(), Toroid_Magnet::Build(), Beam_Pipe::Build(), Target_Chamber::Build(), Materials(), pBP, pGT, pLM, pMF, pMW, pSM, pTC, pTF, pTM, and pWC.
Beam_Pipe* Detector::pBP [private] |
Pointer to Beam_Pipe class.
Definition at line 83 of file Detector.h.
Referenced by Construct(), and ~Detector().
Gem_Tracker* Detector::pGT [private] |
Pointer to Gem_Tracker class.
Definition at line 85 of file Detector.h.
Referenced by Construct(), and ~Detector().
Luminosity_Monitor* Detector::pLM [private] |
Pointer to Luminosity_Monitor class.
Definition at line 88 of file Detector.h.
Referenced by Construct(), and ~Detector().
Magnetic_Field* Detector::pMF [private] |
Pointer to the Magnetic Field class.
Definition at line 81 of file Detector.h.
Referenced by Construct(), and ~Detector().
MWPC* Detector::pMW [private] |
Pointer to MWPC class.
Definition at line 89 of file Detector.h.
Referenced by Construct(), and ~Detector().
Symmetric_Moeller* Detector::pSM [private] |
Pointer to Symmetric_Moeller class.
Definition at line 90 of file Detector.h.
Referenced by Construct(), and ~Detector().
Target_Chamber* Detector::pTC [private] |
Pointer to Target_Chamber class.
Definition at line 82 of file Detector.h.
Referenced by Construct(), and ~Detector().
Time_of_Flight* Detector::pTF [private] |
Pointer to Time_of_Flight class.
Definition at line 87 of file Detector.h.
Referenced by Construct(), and ~Detector().
Toroid_Magnet* Detector::pTM [private] |
Pointer to Toroid_Magnet class.
Definition at line 84 of file Detector.h.
Referenced by Construct(), and ~Detector().
Wire_Chamber* Detector::pWC [private] |
Pointer to Wire_Chamber class.
Definition at line 86 of file Detector.h.
Referenced by Construct(), and ~Detector().