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

Scintillator detector description

Definition at line 22 of file ActarSimSciDetectorConstruction.hh.

Public Member Functions

 ActarSimSciDetectorConstruction (ActarSimDetectorConstruction *)
 Constructor. Sets the material and the pointer to the Messenger. More...
 
 ~ActarSimSciDetectorConstruction ()
 Destructor. More...
 
G4VPhysicalVolume * Construct (G4LogicalVolume *)
 Wrap for the construction function. 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. TODO: To be filled. More...
 

Private Member Functions

G4VPhysicalVolume * ConstructSci (G4LogicalVolume *)
 

Private Attributes

G4Material * sciBulkMaterial
 Pointer to the material the scintillator is made of. More...
 
ActarSimSciDetectorMessengersciMessenger
 Pointer to the Messenger. 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 <ActarSimSciDetectorConstruction.hh>

+ Collaboration diagram for ActarSimSciDetectorConstruction:

Constructor & Destructor Documentation

ActarSimSciDetectorConstruction::ActarSimSciDetectorConstruction ( ActarSimDetectorConstruction det)

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

Definition at line 41 of file ActarSimSciDetectorConstruction.cc.

ActarSimSciDetectorConstruction::~ActarSimSciDetectorConstruction ( )

Destructor.

Definition at line 66 of file ActarSimSciDetectorConstruction.cc.

Member Function Documentation

G4VPhysicalVolume * ActarSimSciDetectorConstruction::Construct ( G4LogicalVolume *  worldLog)
G4VPhysicalVolume * ActarSimSciDetectorConstruction::ConstructSci ( G4LogicalVolume *  worldLog)
private

Constructs the scintillator detector elements

  • Introduce Silicon and CsI(Tl) detectors all around. Use MUST style: Si: 300 microns thick, 100x100mm2, with 128 strides per side (horizontal on one side and vertical in the opposite). CsI(Tl): 25x25mm2, 30mm thick, so 16 per Silicon detector.
                      < -- 50mm -- >
           ------ -- |             x
           |    | || |             x wires shaping the field
           |    | || |             x
           |CsI | || |             x
           |    | || |             x
           ------ -- |     Gas     x              Gas
                  Si |             x
                     |             x
                Al layer (~1 microm)
    

Definition at line 95 of file ActarSimSciDetectorConstruction.cc.

Referenced by Construct().

G4Material* ActarSimSciDetectorConstruction::GetSciBulkMaterial ( )
inline

Definition at line 57 of file ActarSimSciDetectorConstruction.hh.

G4int ActarSimSciDetectorConstruction::GetSideCoverage ( )
inline

Definition at line 59 of file ActarSimSciDetectorConstruction.hh.

G4double ActarSimSciDetectorConstruction::GetXBoxSciHalfLength ( )
inline

Definition at line 60 of file ActarSimSciDetectorConstruction.hh.

G4double ActarSimSciDetectorConstruction::GetYBoxSciHalfLength ( )
inline

Definition at line 61 of file ActarSimSciDetectorConstruction.hh.

G4double ActarSimSciDetectorConstruction::GetZBoxSciHalfLength ( )
inline

Definition at line 62 of file ActarSimSciDetectorConstruction.hh.

void ActarSimSciDetectorConstruction::PrintDetectorParameters ( )

Prints Scintillator detector parameters. TODO: To be filled.

Definition at line 327 of file ActarSimSciDetectorConstruction.cc.

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

void ActarSimSciDetectorConstruction::SetSciBulkMaterial ( G4String  mat)

Set the material the scintillator bulk is made of.

Definition at line 312 of file ActarSimSciDetectorConstruction.cc.

Referenced by ActarSimSciDetectorConstruction().

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

Updates Scintillator detector.

Definition at line 319 of file ActarSimSciDetectorConstruction.cc.

Referenced by GetZBoxSciHalfLength().

Member Data Documentation

ActarSimDetectorConstruction* ActarSimSciDetectorConstruction::detConstruction
private

Pointer to the global detector.

Definition at line 27 of file ActarSimSciDetectorConstruction.hh.

Referenced by ConstructSci(), and UpdateGeometry().

G4Material* ActarSimSciDetectorConstruction::sciBulkMaterial
private

Pointer to the material the scintillator is made of.

Definition at line 24 of file ActarSimSciDetectorConstruction.hh.

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

ActarSimSciDetectorMessenger* ActarSimSciDetectorConstruction::sciMessenger
private

Pointer to the Messenger.

Definition at line 26 of file ActarSimSciDetectorConstruction.hh.

Referenced by ActarSimSciDetectorConstruction(), and ~ActarSimSciDetectorConstruction().

G4int ActarSimSciDetectorConstruction::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 ActarSimSciDetectorConstruction.hh.

Referenced by ConstructSci(), and GetSideCoverage().

G4double ActarSimSciDetectorConstruction::xBoxSciHalfLength
private

Scintillator box half length along X (X is horizontal)

Definition at line 39 of file ActarSimSciDetectorConstruction.hh.

Referenced by ConstructSci(), and GetXBoxSciHalfLength().

G4double ActarSimSciDetectorConstruction::yBoxSciHalfLength
private

Scintillator box half length along Y (Y is vertical)

Definition at line 40 of file ActarSimSciDetectorConstruction.hh.

Referenced by ConstructSci(), and GetYBoxSciHalfLength().

G4double ActarSimSciDetectorConstruction::zBoxSciHalfLength
private

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

Definition at line 41 of file ActarSimSciDetectorConstruction.hh.

Referenced by ConstructSci(), and GetZBoxSciHalfLength().


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