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

Scintillator detector description

Definition at line 22 of file ActarSimSciRingDetectorConstruction.hh.

Public Member Functions

 ActarSimSciRingDetectorConstruction (ActarSimDetectorConstruction *)
 Constructor. Sets the material and the pointer to the Messenger. More...
 
 ~ActarSimSciRingDetectorConstruction ()
 Destructor. More...
 
G4VPhysicalVolume * Construct (G4LogicalVolume *)
 Wrap for the construction functions. More...
 
void SetSciBulkMaterial (G4String)
 Set the material the scintillator bulk is made of. More...
 
void SetSideCoverage (G4int cov)
 
void SetXBoxSciHalfLength (G4double xBox)
 
void SetYBoxSciHalfLength (G4double yBox)
 
void SetZBoxSciHalfLength (G4double zBox)
 
G4Material * GetSciBulkMaterial ()
 
G4int GetSideCoverage ()
 
G4double GetXBoxSciHalfLength ()
 
G4double GetYBoxSciHalfLength ()
 
G4double GetZBoxSciHalfLength ()
 
void UpdateGeometry ()
 Updates Scintillator detector. More...
 
void PrintDetectorParameters ()
 Prints Scintillator detector parameters. To be filled. More...
 

Private Member Functions

G4VPhysicalVolume * ConstructSci (G4LogicalVolume *)
 Real construction work is performed here. More...
 

Private Attributes

G4Material * sciBulkMaterial
 Pointer to the scintillator material. More...
 
ActarSimDetectorConstructiondetConstruction
 Pointer to the global detector. More...
 
G4int sideCoverage
 
G4double xBoxSciHalfLength
 Scintillator box half length along X (X is horizontal) More...
 
G4double yBoxSciHalfLength
 Scintillator box half length along Y (Y is vertical) More...
 
G4double zBoxSciHalfLength
 Scintillator box half length along Z (Z is along beam) More...
 

#include <ActarSimSciRingDetectorConstruction.hh>

+ Collaboration diagram for ActarSimSciRingDetectorConstruction:

Constructor & Destructor Documentation

ActarSimSciRingDetectorConstruction::ActarSimSciRingDetectorConstruction ( ActarSimDetectorConstruction det)

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

Definition at line 43 of file ActarSimSciRingDetectorConstruction.cc.

ActarSimSciRingDetectorConstruction::~ActarSimSciRingDetectorConstruction ( )

Destructor.

Definition at line 68 of file ActarSimSciRingDetectorConstruction.cc.

Member Function Documentation

G4VPhysicalVolume * ActarSimSciRingDetectorConstruction::Construct ( G4LogicalVolume *  worldLog)

Wrap for the construction functions.

Definition at line 74 of file ActarSimSciRingDetectorConstruction.cc.

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

G4VPhysicalVolume * ActarSimSciRingDetectorConstruction::ConstructSci ( G4LogicalVolume *  worldLog)
private

Real construction work is performed here.

Definition at line 83 of file ActarSimSciRingDetectorConstruction.cc.

Referenced by Construct().

G4Material* ActarSimSciRingDetectorConstruction::GetSciBulkMaterial ( )
inline

Definition at line 56 of file ActarSimSciRingDetectorConstruction.hh.

G4int ActarSimSciRingDetectorConstruction::GetSideCoverage ( )
inline

Definition at line 58 of file ActarSimSciRingDetectorConstruction.hh.

G4double ActarSimSciRingDetectorConstruction::GetXBoxSciHalfLength ( )
inline

Definition at line 59 of file ActarSimSciRingDetectorConstruction.hh.

G4double ActarSimSciRingDetectorConstruction::GetYBoxSciHalfLength ( )
inline

Definition at line 60 of file ActarSimSciRingDetectorConstruction.hh.

G4double ActarSimSciRingDetectorConstruction::GetZBoxSciHalfLength ( )
inline

Definition at line 61 of file ActarSimSciRingDetectorConstruction.hh.

void ActarSimSciRingDetectorConstruction::PrintDetectorParameters ( )

Prints Scintillator detector parameters. To be filled.

Definition at line 161 of file ActarSimSciRingDetectorConstruction.cc.

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

void ActarSimSciRingDetectorConstruction::SetSciBulkMaterial ( G4String  mat)

Set the material the scintillator bulk is made of.

Definition at line 146 of file ActarSimSciRingDetectorConstruction.cc.

Referenced by ActarSimSciRingDetectorConstruction().

void ActarSimSciRingDetectorConstruction::SetSideCoverage ( G4int  cov)
inline
void ActarSimSciRingDetectorConstruction::SetXBoxSciHalfLength ( G4double  xBox)
inline
void ActarSimSciRingDetectorConstruction::SetYBoxSciHalfLength ( G4double  yBox)
inline
void ActarSimSciRingDetectorConstruction::SetZBoxSciHalfLength ( G4double  zBox)
inline
void ActarSimSciRingDetectorConstruction::UpdateGeometry ( )

Updates Scintillator detector.

Definition at line 153 of file ActarSimSciRingDetectorConstruction.cc.

Referenced by GetZBoxSciHalfLength().

Member Data Documentation

ActarSimDetectorConstruction* ActarSimSciRingDetectorConstruction::detConstruction
private

Pointer to the global detector.

Definition at line 26 of file ActarSimSciRingDetectorConstruction.hh.

Referenced by ConstructSci(), and UpdateGeometry().

G4Material* ActarSimSciRingDetectorConstruction::sciBulkMaterial
private

Pointer to the scintillator material.

Definition at line 24 of file ActarSimSciRingDetectorConstruction.hh.

Referenced by ConstructSci(), GetSciBulkMaterial(), and SetSciBulkMaterial().

G4int ActarSimSciRingDetectorConstruction::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 36 of file ActarSimSciRingDetectorConstruction.hh.

Referenced by GetSideCoverage().

G4double ActarSimSciRingDetectorConstruction::xBoxSciHalfLength
private

Scintillator box half length along X (X is horizontal)

Definition at line 38 of file ActarSimSciRingDetectorConstruction.hh.

Referenced by GetXBoxSciHalfLength().

G4double ActarSimSciRingDetectorConstruction::yBoxSciHalfLength
private

Scintillator box half length along Y (Y is vertical)

Definition at line 39 of file ActarSimSciRingDetectorConstruction.hh.

Referenced by GetYBoxSciHalfLength().

G4double ActarSimSciRingDetectorConstruction::zBoxSciHalfLength
private

Scintillator box half length along Z (Z is along beam)

Definition at line 40 of file ActarSimSciRingDetectorConstruction.hh.

Referenced by GetZBoxSciHalfLength().


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