BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
ExtBesMdcConstruction Class Reference

#include <ExtBesMdcConstruction.h>

+ Inheritance diagram for ExtBesMdcConstruction:

Public Member Functions

 ExtBesMdcConstruction ()
 
 ~ExtBesMdcConstruction ()
 
void Construct (G4LogicalVolume *)
 
- 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 9 of file ExtBesMdcConstruction.h.

Constructor & Destructor Documentation

◆ ExtBesMdcConstruction()

ExtBesMdcConstruction::ExtBesMdcConstruction ( )

Definition at line 11 of file ExtBesMdcConstruction.cxx.

11{}

◆ ~ExtBesMdcConstruction()

ExtBesMdcConstruction::~ExtBesMdcConstruction ( )

Definition at line 13 of file ExtBesMdcConstruction.cxx.

13{}

Member Function Documentation

◆ Construct()

void ExtBesMdcConstruction::Construct ( G4LogicalVolume *  logicBes)
virtual

Implements ExtBesSubdetector.

Definition at line 15 of file ExtBesMdcConstruction.cxx.

16{
17 MdcG4Geo* aMdcG4Geo = new MdcG4Geo();
18 G4LogicalVolume* logicalMdc = aMdcG4Geo->GetTopVolume();
19 if(!logicalMdc){
20 G4cout<<"ExtBesMdcConstruction::Construct(), logicalMdc not found"<<G4endl;
21 }
22 else{//construct Mdc
23 physicalMdc = new G4PVPlacement(0,G4ThreeVector(0,0,0),logicalMdc, "physicalMdc",logicBes, false, 0);}
24}
G4LogicalVolume * GetTopVolume()
Get the top(world) volume;.

Referenced by ExtBesDetectorConstruction::Construct().


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