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

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

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