BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
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([email protected])
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 "BesSubdetector.hh"
19#include "BesMdcGeoParameter.hh"
20#include "BesMdcSD.hh"
21#include "G4VisAttributes.hh"
22
24{
25public:
26
29
30 void Construct(G4LogicalVolume*);
31
32private:
33 void TubeConstruct(G4LogicalVolume*);
34 void StereoLayerConstruct(G4LogicalVolume*, G4int);
35 void AxialLayerConstruct(G4LogicalVolume*, G4int);
36 void AxialCellConstruct(G4LogicalVolume*, G4int, G4int);
37private:
38
39 // Logical volumes
40 G4LogicalVolume* mdc_log;
41
42 // Physical volumes
43 G4VPhysicalVolume* mdc_phys;
44
46 BesMdcSD* aTrackerSD;
47
48 G4double outR, innerR, length;
49 G4double startAngle, spanAngle;
50 G4double posX, posY, posZ;
51 G4double signalWireR,fieldWireR;
52
53 G4RotationMatrix* Rot;
54
55 G4VisAttributes* visAtt;
56};
57
58#endif
void Construct(G4LogicalVolume *)