BOSS 6.6.4.p01
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)
 
- 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 14 of file ExtBesTofConstruction.cxx.

16{
17}

◆ ~ExtBesTofConstruction()

ExtBesTofConstruction::~ExtBesTofConstruction ( )
virtual

Definition at line 19 of file ExtBesTofConstruction.cxx.

19{}

Member Function Documentation

◆ Construct()

void ExtBesTofConstruction::Construct ( G4LogicalVolume *  logicBes)
virtual

Implements ExtBesSubdetector.

Definition at line 21 of file ExtBesTofConstruction.cxx.

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

Referenced by ExtBesDetectorConstruction::Construct().

◆ Construct_mrpc()

void ExtBesTofConstruction::Construct_mrpc ( G4LogicalVolume *  logicBes)

Definition at line 31 of file ExtBesTofConstruction.cxx.

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

Referenced by ExtBesDetectorConstruction::Construct().


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