BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
ExtBesMucConstruction Class Reference

#include <ExtBesMucConstruction.h>

Inheritance diagram for ExtBesMucConstruction:

Public Member Functions

 ExtBesMucConstruction ()
virtual ~ExtBesMucConstruction ()
void Construct (G4LogicalVolume *logicBes)
Public Member Functions inherited from ExtBesSubdetector
 ExtBesSubdetector ()
virtual ~ExtBesSubdetector ()
G4LogicalVolume * FindLogicalVolume (const G4String &vn)

Detailed Description

Definition at line 8 of file ExtBesMucConstruction.h.

Constructor & Destructor Documentation

◆ ExtBesMucConstruction()

ExtBesMucConstruction::ExtBesMucConstruction ( )

Definition at line 4 of file ExtBesMucConstruction.cxx.

4{}

◆ ~ExtBesMucConstruction()

ExtBesMucConstruction::~ExtBesMucConstruction ( )
virtual

Definition at line 6 of file ExtBesMucConstruction.cxx.

6{}

Member Function Documentation

◆ Construct()

void ExtBesMucConstruction::Construct ( G4LogicalVolume * logicBes)
virtual

Implements ExtBesSubdetector.

Definition at line 8 of file ExtBesMucConstruction.cxx.

8 {
9 MucG4Geo* aMucG4Geo = new MucG4Geo();
10 logicalMuc = aMucG4Geo->GetTopVolume();
11 logicalMuc = FindLogicalVolume( "logicalMuc" );
12 if ( logicalMuc )
13 physicalMuc = new G4PVPlacement( 0, G4ThreeVector( 0, 0, 0 ), logicalMuc, "PhysicalMuc",
14 logicBes, false, 0 );
15 else G4cout << "ExtBesMucConstruction::Construct() 1, logicalMuc not found!" << G4endl;
16}
G4LogicalVolume * FindLogicalVolume(const G4String &vn)
G4LogicalVolume * GetTopVolume()
Get the top(world) volume;.

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