CGEM BOSS 6.6.5.g
BESIII Offline Software System
Loading...
Searching...
No Matches
ExtBesTofConstruction Class Reference

#include <ExtBesTofConstruction.h>

+ Inheritance diagram for ExtBesTofConstruction:

Public Member Functions

 ExtBesTofConstruction ()
 
virtual ~ExtBesTofConstruction ()
 
void Construct (G4LogicalVolume *logicBes)
 
void Construct_mrpc (G4LogicalVolume *logicBes)
 
void Construct_mrpc_dbs (G4LogicalVolume *logicBes)
 
- Public Member Functions inherited from ExtBesSubdetector
 ExtBesSubdetector ()
 
virtual ~ExtBesSubdetector ()
 
virtual void Construct (G4LogicalVolume *bes)=0
 
G4LogicalVolume * FindLogicalVolume (const G4String &vn)
 

Detailed Description

Definition at line 11 of file ExtBesTofConstruction.h.

Constructor & Destructor Documentation

◆ ExtBesTofConstruction()

ExtBesTofConstruction::ExtBesTofConstruction ( )

Definition at line 16 of file ExtBesTofConstruction.cxx.

18{
19}

◆ ~ExtBesTofConstruction()

ExtBesTofConstruction::~ExtBesTofConstruction ( )
virtual

Definition at line 21 of file ExtBesTofConstruction.cxx.

21{}

Member Function Documentation

◆ Construct()

void ExtBesTofConstruction::Construct ( G4LogicalVolume *  logicBes)
virtual

Implements ExtBesSubdetector.

Definition at line 23 of file ExtBesTofConstruction.cxx.

24{
25
26 TofG4Geo* aTofG4Geo = new TofG4Geo();
27 logicalTof = aTofG4Geo->GetTopVolume();
28 if(!logicalTof) G4cout<<"ExtBesTofConstruction::Construct(), logicalTof not found"<<G4endl;
29 physicalTof = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalTof,"physicalTof",logicBes,false,0);
30}
G4LogicalVolume * GetTopVolume()
Get the top(world) volume;.

Referenced by ExtBesDetectorConstruction::Construct().

◆ Construct_mrpc()

void ExtBesTofConstruction::Construct_mrpc ( G4LogicalVolume *  logicBes)

Definition at line 33 of file ExtBesTofConstruction.cxx.

34{
35
36 MRPCG4Geo* aTofG4Geo = new MRPCG4Geo();
37 logicalTof = aTofG4Geo->GetTopVolume();
38 if(!logicalTof) G4cout<<"ExtBesTofConstruction::Construct(), logicalTof not found"<<G4endl;
39 physicalTof = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalTof,"physicalTof",logicBes,false,0);
40}

Referenced by ExtBesDetectorConstruction::Construct().

◆ Construct_mrpc_dbs()

void ExtBesTofConstruction::Construct_mrpc_dbs ( G4LogicalVolume *  logicBes)

Definition at line 43 of file ExtBesTofConstruction.cxx.

44{
45
46 MRPCG4Geo_dbs* aTofG4Geo = new MRPCG4Geo_dbs();
47 logicalTof = aTofG4Geo->GetTopVolume();
48 if(!logicalTof) G4cout<<"ExtBesTofConstruction::Construct(), logicalTof not found"<<G4endl;
49 physicalTof = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalTof,"physicalTof",logicBes,false,0);
50}

Referenced by ExtBesDetectorConstruction::Construct().


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