CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
ExtBesTofConstruction.cxx
Go to the documentation of this file.
1
#include "
TrkExtAlg/ExtBesTofConstruction.h
"
2
#include "G4LogicalVolume.hh"
3
#include "G4UnitsTable.hh"
4
#include "G4ios.hh"
5
#include "
G4Geo/TofG4Geo.h
"
6
#include "
G4Geo/MRPCG4Geo.h
"
7
#include "
G4Geo/MRPCG4Geo_dbs.h
"
8
9
#include "GaudiKernel/MsgStream.h"
10
#include "GaudiKernel/AlgFactory.h"
11
#include "GaudiKernel/SmartIF.h"
12
#include "GaudiKernel/Property.h"
13
#include "GaudiKernel/ISvcLocator.h"
14
15
16
ExtBesTofConstruction::ExtBesTofConstruction
()
17
18
{
19
}
20
21
ExtBesTofConstruction::~ExtBesTofConstruction
() {}
22
23
void
ExtBesTofConstruction::Construct
(G4LogicalVolume* logicBes)
24
{
25
26
TofG4Geo
* aTofG4Geo =
new
TofG4Geo
();
27
logicalTof = aTofG4Geo->
GetTopVolume
();
28
if
(!logicalTof) G4cout<<
"ExtBesTofConstruction::Construct(), logicalTof not found"
<<G4endl;
29
physicalTof =
new
G4PVPlacement(0,G4ThreeVector(0,0,0),logicalTof,
"physicalTof"
,logicBes,
false
,0);
30
}
31
32
33
void
ExtBesTofConstruction::Construct_mrpc
(G4LogicalVolume* logicBes)
34
{
35
36
MRPCG4Geo
* aTofG4Geo =
new
MRPCG4Geo
();
37
logicalTof = aTofG4Geo->
GetTopVolume
();
38
if
(!logicalTof) G4cout<<
"ExtBesTofConstruction::Construct(), logicalTof not found"
<<G4endl;
39
physicalTof =
new
G4PVPlacement(0,G4ThreeVector(0,0,0),logicalTof,
"physicalTof"
,logicBes,
false
,0);
40
}
41
42
43
void
ExtBesTofConstruction::Construct_mrpc_dbs
(G4LogicalVolume* logicBes)
44
{
45
46
MRPCG4Geo_dbs
* aTofG4Geo =
new
MRPCG4Geo_dbs
();
47
logicalTof = aTofG4Geo->
GetTopVolume
();
48
if
(!logicalTof) G4cout<<
"ExtBesTofConstruction::Construct(), logicalTof not found"
<<G4endl;
49
physicalTof =
new
G4PVPlacement(0,G4ThreeVector(0,0,0),logicalTof,
"physicalTof"
,logicBes,
false
,0);
50
}
ExtBesTofConstruction.h
MRPCG4Geo.h
MRPCG4Geo_dbs.h
TofG4Geo.h
ExtBesTofConstruction::~ExtBesTofConstruction
virtual ~ExtBesTofConstruction()
Definition
ExtBesTofConstruction.cxx:21
ExtBesTofConstruction::Construct_mrpc
void Construct_mrpc(G4LogicalVolume *logicBes)
Definition
ExtBesTofConstruction.cxx:33
ExtBesTofConstruction::Construct
void Construct(G4LogicalVolume *logicBes)
Definition
ExtBesTofConstruction.cxx:23
ExtBesTofConstruction::Construct_mrpc_dbs
void Construct_mrpc_dbs(G4LogicalVolume *logicBes)
Definition
ExtBesTofConstruction.cxx:43
ExtBesTofConstruction::ExtBesTofConstruction
ExtBesTofConstruction()
Definition
ExtBesTofConstruction.cxx:16
MRPCG4Geo_dbs
Definition
MRPCG4Geo_dbs.h:22
MRPCG4Geo
Definition
MRPCG4Geo.h:22
SubDetectorG4Geo::GetTopVolume
G4LogicalVolume * GetTopVolume()
Get the top(world) volume;.
Definition
SubDetectorG4Geo.h:50
TofG4Geo
Definition
TofG4Geo.h:22
6.6.5.i
Reconstruction
TrkExtAlg
TrkExtAlg-00-00-60-p01
src
ExtBesTofConstruction.cxx
Generated by
1.12.0