BOSS
7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
ExtBesMucConstruction.cxx
Go to the documentation of this file.
1
#include "TrkExtAlg/ExtBesMucConstruction.h"
2
#include "G4Geo/MucG4Geo.h"
3
4
ExtBesMucConstruction::ExtBesMucConstruction
() {}
5
6
ExtBesMucConstruction::~ExtBesMucConstruction
() {}
7
8
void
ExtBesMucConstruction::Construct
(G4LogicalVolume* logicBes)
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
}
17
ExtBesMucConstruction::Construct
void Construct(G4LogicalVolume *logicBes)
Definition:
ExtBesMucConstruction.cxx:8
ExtBesMucConstruction::~ExtBesMucConstruction
virtual ~ExtBesMucConstruction()
Definition:
ExtBesMucConstruction.cxx:6
ExtBesMucConstruction::ExtBesMucConstruction
ExtBesMucConstruction()
Definition:
ExtBesMucConstruction.cxx:4
ExtBesSubdetector::FindLogicalVolume
G4LogicalVolume * FindLogicalVolume(const G4String &vn)
Definition:
InstallArea/include/TrkExtAlg/TrkExtAlg/ExtBesSubdetector.h:21
MucG4Geo
Definition:
DetectorDescription/G4Geo/G4Geo-00-00-13/G4Geo/MucG4Geo.h:22
SubDetectorG4Geo::GetTopVolume
G4LogicalVolume * GetTopVolume()
Get the top(world) volume;.
Definition:
DetectorDescription/G4Geo/G4Geo-00-00-13/G4Geo/SubDetectorG4Geo.h:50
source
Reconstruction
TrkExtAlg
TrkExtAlg-00-00-64
src
ExtBesMucConstruction.cxx
Generated by
1.9.6