1 | #ifndef G4EusoGeometryShape_h |
---|
2 | #define G4EusoGeometryShape_h 1 |
---|
3 | |
---|
4 | #include <globals.hh> |
---|
5 | #include <G4VUserDetectorConstruction.hh> |
---|
6 | #include <G4ThreeVector.hh> |
---|
7 | #include <G4RotationMatrix.hh> |
---|
8 | |
---|
9 | #include "EsafMsgSource.hh" |
---|
10 | #include "EsafConfigurable.hh" |
---|
11 | #include "VirtualTelParm.hh" |
---|
12 | #include <stdlib.h> |
---|
13 | class MaterialParameters; |
---|
14 | class G4Material; |
---|
15 | class G4VSolid; |
---|
16 | class G4OpticalSurface; |
---|
17 | class G4EusoGeometryShape : public G4VUserDetectorConstruction, public VirtualTelParm, public EsafMsgSource, public EsafConfigurable |
---|
18 | { |
---|
19 | public: |
---|
20 | G4EusoGeometryShape(); |
---|
21 | ~G4EusoGeometryShape(); |
---|
22 | |
---|
23 | public: |
---|
24 | G4VPhysicalVolume* Construct(); |
---|
25 | int read_telparm(const char* , const char*); |
---|
26 | int lreadmat(); |
---|
27 | Int_t Lcsp_maketable(Double_t x[], Double_t y[], Double_t z[], size_t size); |
---|
28 | Double_t Lcspline(Double_t t, Double_t x[], Double_t y[], Double_t z[], size_t size); |
---|
29 | Double_t LGet_n_Acryl(Double_t); |
---|
30 | Double_t LGet_k_Acryl(Double_t); |
---|
31 | Double_t LGet_n_Cytop(Double_t); |
---|
32 | Double_t LGet_k_Cytop(Double_t); |
---|
33 | private: |
---|
34 | void SetMaterial(int i, MaterialParameters* mp,char* material); |
---|
35 | char* lens_dir; |
---|
36 | G4Material* CYTOP; |
---|
37 | G4Material* PMMA; |
---|
38 | G4OpticalSurface* fOpticalSurfaceC; |
---|
39 | G4OpticalSurface* fOpticalSurfaceP; |
---|
40 | G4double expHall_x; |
---|
41 | G4double expHall_y; |
---|
42 | G4double expHall_z; |
---|
43 | double fGeomTolerance; |
---|
44 | bool fit; |
---|
45 | |
---|
46 | EsafConfigClass(G4,G4EusoGeometryShape) |
---|
47 | }; |
---|
48 | |
---|
49 | #endif /*G4EusoGeometryShape_h*/ |
---|