BOSS 7.0.1
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)
 
 ExtBesMucConstruction ()
 
virtual ~ExtBesMucConstruction ()
 
void Construct (G4LogicalVolume *logicBes)
 
- 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

◆ ExtBesMucConstruction() [1/2]

ExtBesMucConstruction::ExtBesMucConstruction ( )

Definition at line 4 of file ExtBesMucConstruction.cxx.

4{}

◆ ~ExtBesMucConstruction() [1/2]

ExtBesMucConstruction::~ExtBesMucConstruction ( )
virtual

Definition at line 6 of file ExtBesMucConstruction.cxx.

6{}

◆ ExtBesMucConstruction() [2/2]

ExtBesMucConstruction::ExtBesMucConstruction ( )

◆ ~ExtBesMucConstruction() [2/2]

virtual ExtBesMucConstruction::~ExtBesMucConstruction ( )
virtual

Member Function Documentation

◆ Construct() [1/2]

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

◆ Construct() [2/2]

void ExtBesMucConstruction::Construct ( G4LogicalVolume *  logicBes)
virtual

Implements ExtBesSubdetector.


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