BOSS 7.1.2
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 9 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.

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

Referenced by ExtBesDetectorConstruction::Construct().


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