Public Member Functions | Private Attributes

Detector Class Reference

Detector class based on G4UserDetetectorConstruction. More...

#include <Detector.h>

Inheritance diagram for Detector:
Inheritance graph
[legend]
Collaboration diagram for Detector:
Collaboration graph
[legend]

List of all members.

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_PipepBP
 Pointer to Beam_Pipe class.
Gem_TrackerpGT
 Pointer to Gem_Tracker class.
Luminosity_MonitorpLM
 Pointer to Luminosity_Monitor class.
Magnetic_FieldpMF
 Pointer to the Magnetic Field class.
MWPCpMW
 Pointer to MWPC class.
Symmetric_MoellerpSM
 Pointer to Symmetric_Moeller class.
Target_ChamberpTC
 Pointer to Target_Chamber class.
Time_of_FlightpTF
 Pointer to Time_of_Flight class.
Toroid_MagnetpTM
 Pointer to Toroid_Magnet class.
Wire_ChamberpWC
 Pointer to Wire_Chamber class.

Detailed Description

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.


Constructor & Destructor Documentation

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().

Here is the call graph for this function:

Detector::~Detector (  )

Destructor for Detector class.

Definition at line 69 of file Detector.cc.

References pBP, pGT, pLM, pMF, pMW, pSM, pTC, pTF, pTM, and pWC.


Member Function Documentation

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.

Returns:
a pointer of type G4VPhysicalVolume to the world volume.

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.

Here is the call graph for this function:


Member Data Documentation

Pointer to Beam_Pipe class.

Definition at line 83 of file Detector.h.

Referenced by Construct(), and ~Detector().

Pointer to Gem_Tracker class.

Definition at line 85 of file Detector.h.

Referenced by Construct(), and ~Detector().

Pointer to Luminosity_Monitor class.

Definition at line 88 of file Detector.h.

Referenced by Construct(), and ~Detector().

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().

Pointer to Symmetric_Moeller class.

Definition at line 90 of file Detector.h.

Referenced by Construct(), and ~Detector().

Pointer to Target_Chamber class.

Definition at line 82 of file Detector.h.

Referenced by Construct(), and ~Detector().

Pointer to Time_of_Flight class.

Definition at line 87 of file Detector.h.

Referenced by Construct(), and ~Detector().

Pointer to Toroid_Magnet class.

Definition at line 84 of file Detector.h.

Referenced by Construct(), and ~Detector().

Pointer to Wire_Chamber class.

Definition at line 86 of file Detector.h.

Referenced by Construct(), and ~Detector().


The documentation for this class was generated from the following files: