BOSS 7.0.5
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)
 
 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)
 
 ExtBesSubdetector ()
 
virtual ~ExtBesSubdetector ()
 
virtual void Construct (G4LogicalVolume *bes)=0
 
G4LogicalVolume * FindLogicalVolume (const G4String &vn)
 

Detailed Description

Constructor & Destructor Documentation

◆ ExtBesTofConstruction() [1/2]

ExtBesTofConstruction::ExtBesTofConstruction ( )

Definition at line 15 of file ExtBesTofConstruction.cxx.

17{
18}

◆ ~ExtBesTofConstruction() [1/2]

ExtBesTofConstruction::~ExtBesTofConstruction ( )
virtual

Definition at line 20 of file ExtBesTofConstruction.cxx.

20{}

◆ ExtBesTofConstruction() [2/2]

ExtBesTofConstruction::ExtBesTofConstruction ( )

◆ ~ExtBesTofConstruction() [2/2]

virtual ExtBesTofConstruction::~ExtBesTofConstruction ( )
virtual

Member Function Documentation

◆ Construct() [1/2]

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().

◆ Construct() [2/2]

void ExtBesTofConstruction::Construct ( G4LogicalVolume *  logicBes)
virtual

Implements ExtBesSubdetector.

◆ ConstructETF() [1/2]

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().

◆ ConstructETF() [2/2]

void ExtBesTofConstruction::ConstructETF ( G4LogicalVolume *  logicBes)

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