ACTARSim
ACTAR TPC Simulation Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ActarSimPlaDetectorConstruction Class Reference

Scintillator plastic detector description

Definition at line 22 of file ActarSimPlaDetectorConstruction.hh.

Public Member Functions

 ActarSimPlaDetectorConstruction (ActarSimDetectorConstruction *)
 Constructor. Sets the material and the pointer to the Messenger. More...
 
 ~ActarSimPlaDetectorConstruction ()
 Destructor. More...
 
G4VPhysicalVolume * Construct (G4LogicalVolume *)
 Wrap for the construction functions within the TOF. More...
 
void SetPlaBulkMaterial (G4String)
 Set the material the scintillator bulk is made of. More...
 
void SetSideCoverage (G4int cov)
 
void SetXBoxPlaHalfLength (G4double xBox)
 
void SetYBoxPlaHalfLength (G4double yBox)
 
void SetZBoxPlaHalfLength (G4double zBox)
 
G4Material * GetPlaBulkMaterial ()
 
G4int GetSideCoverage ()
 
G4double GetXBoxPlaHalfLength ()
 
G4double GetYBoxPlaHalfLength ()
 
G4double GetZBoxPlaHalfLength ()
 
void UpdateGeometry ()
 Updates Scintillator detector. More...
 
void PrintDetectorParameters ()
 Prints Scintillator detector parameters. To be filled. More...
 

Private Member Functions

G4VPhysicalVolume * ConstructPla (G4LogicalVolume *)
 Chamber Y,Z length. More...
 

Private Attributes

G4Material * plaBulkMaterial
 Materials. More...
 
ActarSimDetectorConstructiondetConstruction
 pointer to the global detector More...
 
G4int sideCoverage
 
G4double xBoxPlaHalfLength
 X Half-length of the sci (x is horizontal) More...
 
G4double yBoxPlaHalfLength
 Y Half-length of the sci (y is vertical) More...
 
G4double zBoxPlaHalfLength
 Z Half-length of the sci (z is along beam) More...
 

#include <ActarSimPlaDetectorConstruction.hh>

+ Collaboration diagram for ActarSimPlaDetectorConstruction:

Constructor & Destructor Documentation

ActarSimPlaDetectorConstruction::ActarSimPlaDetectorConstruction ( ActarSimDetectorConstruction det)

Constructor. Sets the material and the pointer to the Messenger.

Definition at line 44 of file ActarSimPlaDetectorConstruction.cc.

ActarSimPlaDetectorConstruction::~ActarSimPlaDetectorConstruction ( )

Destructor.

Definition at line 59 of file ActarSimPlaDetectorConstruction.cc.

Member Function Documentation

G4VPhysicalVolume * ActarSimPlaDetectorConstruction::Construct ( G4LogicalVolume *  worldLog)

Wrap for the construction functions within the TOF.

Definition at line 65 of file ActarSimPlaDetectorConstruction.cc.

Referenced by ActarSimDetectorConstruction::ConstructMAIKO(), and UpdateGeometry().

G4VPhysicalVolume * ActarSimPlaDetectorConstruction::ConstructPla ( G4LogicalVolume *  worldLog)
private

Chamber Y,Z length.

Definition at line 74 of file ActarSimPlaDetectorConstruction.cc.

Referenced by Construct().

G4Material* ActarSimPlaDetectorConstruction::GetPlaBulkMaterial ( )
inline

Definition at line 55 of file ActarSimPlaDetectorConstruction.hh.

G4int ActarSimPlaDetectorConstruction::GetSideCoverage ( )
inline

Definition at line 57 of file ActarSimPlaDetectorConstruction.hh.

G4double ActarSimPlaDetectorConstruction::GetXBoxPlaHalfLength ( )
inline

Definition at line 58 of file ActarSimPlaDetectorConstruction.hh.

G4double ActarSimPlaDetectorConstruction::GetYBoxPlaHalfLength ( )
inline

Definition at line 59 of file ActarSimPlaDetectorConstruction.hh.

G4double ActarSimPlaDetectorConstruction::GetZBoxPlaHalfLength ( )
inline

Definition at line 60 of file ActarSimPlaDetectorConstruction.hh.

void ActarSimPlaDetectorConstruction::PrintDetectorParameters ( )

Prints Scintillator detector parameters. To be filled.

Definition at line 198 of file ActarSimPlaDetectorConstruction.cc.

Referenced by GetZBoxPlaHalfLength(), and ActarSimDetectorConstruction::PrintDetectorParameters().

void ActarSimPlaDetectorConstruction::SetPlaBulkMaterial ( G4String  mat)

Set the material the scintillator bulk is made of.

Definition at line 183 of file ActarSimPlaDetectorConstruction.cc.

Referenced by ActarSimPlaDetectorConstruction().

void ActarSimPlaDetectorConstruction::SetSideCoverage ( G4int  cov)
inline

Definition at line 50 of file ActarSimPlaDetectorConstruction.hh.

Referenced by ActarSimPlaDetectorConstruction().

void ActarSimPlaDetectorConstruction::SetXBoxPlaHalfLength ( G4double  xBox)
inline

Definition at line 51 of file ActarSimPlaDetectorConstruction.hh.

Referenced by ActarSimPlaDetectorConstruction().

void ActarSimPlaDetectorConstruction::SetYBoxPlaHalfLength ( G4double  yBox)
inline

Definition at line 52 of file ActarSimPlaDetectorConstruction.hh.

Referenced by ActarSimPlaDetectorConstruction().

void ActarSimPlaDetectorConstruction::SetZBoxPlaHalfLength ( G4double  zBox)
inline

Definition at line 53 of file ActarSimPlaDetectorConstruction.hh.

Referenced by ActarSimPlaDetectorConstruction().

void ActarSimPlaDetectorConstruction::UpdateGeometry ( )

Updates Scintillator detector.

Definition at line 190 of file ActarSimPlaDetectorConstruction.cc.

Referenced by GetZBoxPlaHalfLength().

Member Data Documentation

ActarSimDetectorConstruction* ActarSimPlaDetectorConstruction::detConstruction
private

pointer to the global detector

Definition at line 26 of file ActarSimPlaDetectorConstruction.hh.

Referenced by ConstructPla(), and UpdateGeometry().

G4Material* ActarSimPlaDetectorConstruction::plaBulkMaterial
private

Materials.

Definition at line 24 of file ActarSimPlaDetectorConstruction.hh.

Referenced by ConstructPla(), GetPlaBulkMaterial(), and SetPlaBulkMaterial().

G4int ActarSimPlaDetectorConstruction::sideCoverage
private

6 bits to indicate which sci wall is present (1) or absent (0) order is:

  • bit1 (lsb) beam output wall
  • bit2 lower (gravity based) wall
  • bit3 upper (gravity based) wall
  • bit4 left (from beam point of view) wall
  • bit5 right (from beam point of view) wall
  • bit6 (msb) beam entrance wall

Definition at line 37 of file ActarSimPlaDetectorConstruction.hh.

Referenced by GetSideCoverage().

G4double ActarSimPlaDetectorConstruction::xBoxPlaHalfLength
private

X Half-length of the sci (x is horizontal)

Definition at line 39 of file ActarSimPlaDetectorConstruction.hh.

Referenced by GetXBoxPlaHalfLength().

G4double ActarSimPlaDetectorConstruction::yBoxPlaHalfLength
private

Y Half-length of the sci (y is vertical)

Definition at line 40 of file ActarSimPlaDetectorConstruction.hh.

Referenced by GetYBoxPlaHalfLength().

G4double ActarSimPlaDetectorConstruction::zBoxPlaHalfLength
private

Z Half-length of the sci (z is along beam)

Definition at line 41 of file ActarSimPlaDetectorConstruction.hh.

Referenced by GetZBoxPlaHalfLength().


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