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

Detailed Description

Constructor & Destructor Documentation

◆ ExtBesMdcConstruction() [1/2]

ExtBesMdcConstruction::ExtBesMdcConstruction ( )

Definition at line 11 of file ExtBesMdcConstruction.cxx.

11{}

◆ ~ExtBesMdcConstruction() [1/2]

ExtBesMdcConstruction::~ExtBesMdcConstruction ( )

Definition at line 13 of file ExtBesMdcConstruction.cxx.

13{}

◆ ExtBesMdcConstruction() [2/2]

ExtBesMdcConstruction::ExtBesMdcConstruction ( )

◆ ~ExtBesMdcConstruction() [2/2]

ExtBesMdcConstruction::~ExtBesMdcConstruction ( )

Member Function Documentation

◆ Construct() [1/2]

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

◆ Construct() [2/2]

void ExtBesMdcConstruction::Construct ( G4LogicalVolume *  )
virtual

Implements ExtBesSubdetector.


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