BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/MdcSim/include/MdcSim/BesMdcConstruction.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2// BOOST --- BESIII Object_Oriented Simulation Tool //
3//---------------------------------------------------------------------------//
4// Description: Main part for construct MDC geometry
5// Author: Yuan Ye(yuany@mail.ihep.ac.cn)
6// Created: 4 Dec, 2003
7// Modified:
8// Comment: Used in "BesDetectorConstruction"
9//---------------------------------------------------------------------------/
10
11#ifndef BesMdcConstruction_H
12#define BesMdcConstruction_H 1
13
14class G4LogicalVolume;
15class G4VPhysicalVolume;
16
17// #include "G4VUserDetectorConstruction.hh"
18#include "BesMdcGeoParameter.hh"
19#include "BesMdcSD.hh"
20#include "G4VisAttributes.hh"
21#include "SimUtil/BesSubdetector.hh"
22
24public:
27
28 void Construct( G4LogicalVolume* );
29
30private:
31 void TubeConstruct( G4LogicalVolume* );
32 void StereoLayerConstruct( G4LogicalVolume*, G4int );
33 void AxialLayerConstruct( G4LogicalVolume*, G4int );
34 void AxialCellConstruct( G4LogicalVolume*, G4int, G4int );
35
36private:
37 // Logical volumes
38 G4LogicalVolume* mdc_log;
39
40 // Physical volumes
41 G4VPhysicalVolume* mdc_phys;
42
44 BesMdcSD* aTrackerSD;
45
46 G4double outR, innerR, length;
47 G4double startAngle, spanAngle;
48 G4double posX, posY, posZ;
49 G4double signalWireR, fieldWireR;
50
51 G4RotationMatrix* Rot;
52
53 G4VisAttributes* visAtt;
54};
55
56#endif
void Construct(G4LogicalVolume *)