Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ExTGRCDetectorBuilder Class Reference

#include <ExTGRCDetectorBuilder.hh>

Inheritance diagram for ExTGRCDetectorBuilder:
Collaboration diagram for ExTGRCDetectorBuilder:

Public Member Functions

 ExTGRCDetectorBuilder ()
 
 ~ExTGRCDetectorBuilder ()
 
const G4tgrVolumeReadDetector ()
 
virtual G4VPhysicalVolumeConstructDetector (const G4tgrVolume *tgrVoltop)
 
- Public Member Functions inherited from G4tgbDetectorBuilder
 G4tgbDetectorBuilder ()
 
virtual ~G4tgbDetectorBuilder ()
 

Detailed Description

Detector builder class implementing cuts per region

Changes: creation May 2007

Author
: P. Arce

Definition at line 46 of file ExTGRCDetectorBuilder.hh.

Constructor & Destructor Documentation

ExTGRCDetectorBuilder::ExTGRCDetectorBuilder ( )

Definition at line 39 of file ExTGRCDetectorBuilder.cc.

40  : G4tgbDetectorBuilder(), fTlproc(0)
41 {
42 }
ExTGRCDetectorBuilder::~ExTGRCDetectorBuilder ( )

Definition at line 45 of file ExTGRCDetectorBuilder.cc.

46 {
47  if (fTlproc) { delete fTlproc; }
48 }

Member Function Documentation

G4VPhysicalVolume * ExTGRCDetectorBuilder::ConstructDetector ( const G4tgrVolume tgrVoltop)
virtual

Reimplemented from G4tgbDetectorBuilder.

Definition at line 68 of file ExTGRCDetectorBuilder.cc.

69 {
70  G4VPhysicalVolume* topPV =
72 
73  //--- Create regions
75 
76  //--- Set cuts to regions
78 
79  return topPV;
80 }
virtual G4VPhysicalVolume * ConstructDetector(const G4tgrVolume *tgrVoltop)
static ExTGRCRegionCutsMgr * GetInstance()

Here is the call graph for this function:

Here is the caller graph for this function:

const G4tgrVolume * ExTGRCDetectorBuilder::ReadDetector ( )
virtual

Reimplemented from G4tgbDetectorBuilder.

Definition at line 51 of file ExTGRCDetectorBuilder.cc.

52 {
53  //------------------- construct geometry
54  fTlproc = new ExTGRCLineProcessor;
56  tfr->SetLineProcessor( fTlproc );
57  tfr->ReadFiles();
58 
59  //---------- find top G4tgrVolume
61  const G4tgrVolume* tgrVoltop = tgrVolmgr->GetTopVolume();
62 
63  return tgrVoltop;
64 }
void SetLineProcessor(G4tgrLineProcessor *lp)
static G4tgrFileReader * GetInstance()
static G4tgrVolumeMgr * GetInstance()
const G4tgrVolume * GetTopVolume()

Here is the call graph for this function:

Here is the caller graph for this function:


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