BOSS 7.0.9
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 ConstructETF (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 15 of file ExtBesTofConstruction.cxx.

17{
18}

◆ ~ExtBesTofConstruction()

ExtBesTofConstruction::~ExtBesTofConstruction ( )
virtual

Definition at line 20 of file ExtBesTofConstruction.cxx.

20{}

Member Function Documentation

◆ Construct()

void ExtBesTofConstruction::Construct ( G4LogicalVolume *  logicBes)
virtual

Implements ExtBesSubdetector.

Definition at line 22 of file ExtBesTofConstruction.cxx.

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

Referenced by ExtBesDetectorConstruction::Construct().

◆ ConstructETF()

void ExtBesTofConstruction::ConstructETF ( G4LogicalVolume *  logicBes)

Definition at line 32 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: