1 | // |
---|
2 | // ******************************************************************** |
---|
3 | // * License and Disclaimer * |
---|
4 | // * * |
---|
5 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
6 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
7 | // * conditions of the Geant4 Software License, included in the file * |
---|
8 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
9 | // * include a list of copyright holders. * |
---|
10 | // * * |
---|
11 | // * Neither the authors of this software system, nor their employing * |
---|
12 | // * institutes,nor the agencies providing financial support for this * |
---|
13 | // * work make any representation or warranty, express or implied, * |
---|
14 | // * regarding this software system or assume any liability for its * |
---|
15 | // * use. Please see the license in the file LICENSE and URL above * |
---|
16 | // * for the full disclaimer and the limitation of liability. * |
---|
17 | // * * |
---|
18 | // * This code implementation is the result of the scientific and * |
---|
19 | // * technical work of the GEANT4 collaboration. * |
---|
20 | // * By using, copying, modifying or distributing the software (or * |
---|
21 | // * any work based on the software) you agree to acknowledge its * |
---|
22 | // * use in resulting scientific publications, and indicate your * |
---|
23 | // * acceptance of all terms of the Geant4 Software license. * |
---|
24 | // ******************************************************************** |
---|
25 | // |
---|
26 | // |
---|
27 | // $Id: MedLinacTargetAndFilterDecorator.hh,v 1.3 2006/06/29 16:04:07 gunter Exp $ |
---|
28 | // |
---|
29 | // Code developed by: M. Piergentili |
---|
30 | // |
---|
31 | // |
---|
32 | |
---|
33 | |
---|
34 | #ifndef MedLinacTargetAndFilterDecorator_h |
---|
35 | #define MedLinacTargetAndFilterDecorator_h 1 |
---|
36 | |
---|
37 | #include "MedLinacDecorator.hh" |
---|
38 | #include "MedLinacVGeometryComponent.hh" |
---|
39 | class G4VPhysicalVolume; |
---|
40 | class G4Box; |
---|
41 | class G4LogicalVolume; |
---|
42 | class G4Material; |
---|
43 | class G4VisAttributes; |
---|
44 | class MedLinacVGeometryComponent; |
---|
45 | class MedLinacDecorator; |
---|
46 | |
---|
47 | class MedLinacTargetAndFilterDecorator: public MedLinacDecorator |
---|
48 | { |
---|
49 | public: |
---|
50 | MedLinacTargetAndFilterDecorator(MedLinacVGeometryComponent*); |
---|
51 | ~MedLinacTargetAndFilterDecorator(); |
---|
52 | void ConstructComponent(G4VPhysicalVolume*,G4VPhysicalVolume*); |
---|
53 | void DestroyComponent(); |
---|
54 | |
---|
55 | private: |
---|
56 | void ConstructTargetAndFilter(G4VPhysicalVolume*,G4VPhysicalVolume*); |
---|
57 | G4LogicalVolume* targetA_log; |
---|
58 | G4LogicalVolume* targetB_log; |
---|
59 | G4LogicalVolume* layer1_log; |
---|
60 | G4LogicalVolume* layer2_log; |
---|
61 | G4LogicalVolume* layer3_log; |
---|
62 | G4LogicalVolume* layer4_log; |
---|
63 | G4LogicalVolume* layer5_log; |
---|
64 | G4LogicalVolume* layer6_log; |
---|
65 | G4LogicalVolume* layer7_log; |
---|
66 | G4LogicalVolume* layer8_log; |
---|
67 | G4LogicalVolume* layer9_log; |
---|
68 | G4LogicalVolume* layer10_log; |
---|
69 | G4LogicalVolume* layer11_log; |
---|
70 | G4LogicalVolume* layer12_log; |
---|
71 | G4LogicalVolume* layer13_log; |
---|
72 | G4LogicalVolume* layer14_log; |
---|
73 | G4LogicalVolume* layer15_log; |
---|
74 | G4LogicalVolume* layer16_log; |
---|
75 | G4LogicalVolume* layer17_log; |
---|
76 | G4LogicalVolume* layer18_log; |
---|
77 | G4LogicalVolume* layer19_log; |
---|
78 | G4LogicalVolume* layer20A_log; |
---|
79 | G4LogicalVolume* cone20_log; |
---|
80 | G4LogicalVolume* layer20_log; |
---|
81 | G4LogicalVolume* layer21_log; |
---|
82 | |
---|
83 | G4VPhysicalVolume* targetA_phys; |
---|
84 | G4VPhysicalVolume* targetB_phys; |
---|
85 | G4VPhysicalVolume* layer1_phys; |
---|
86 | G4VPhysicalVolume* layer2_phys; |
---|
87 | G4VPhysicalVolume* layer3_phys; |
---|
88 | G4VPhysicalVolume* layer4_phys; |
---|
89 | G4VPhysicalVolume* layer5_phys; |
---|
90 | G4VPhysicalVolume* layer6_phys; |
---|
91 | G4VPhysicalVolume* layer7_phys; |
---|
92 | G4VPhysicalVolume* layer8_phys; |
---|
93 | G4VPhysicalVolume* layer9_phys; |
---|
94 | G4VPhysicalVolume* layer10_phys; |
---|
95 | G4VPhysicalVolume* layer11_phys; |
---|
96 | G4VPhysicalVolume* layer12_phys; |
---|
97 | G4VPhysicalVolume* layer13_phys; |
---|
98 | G4VPhysicalVolume* layer14_phys; |
---|
99 | G4VPhysicalVolume* layer15_phys; |
---|
100 | G4VPhysicalVolume* layer16_phys; |
---|
101 | G4VPhysicalVolume* layer17_phys; |
---|
102 | G4VPhysicalVolume* layer18_phys; |
---|
103 | G4VPhysicalVolume* layer19_phys; |
---|
104 | G4VPhysicalVolume* layer20_phys; |
---|
105 | G4VPhysicalVolume* layer21_phys; |
---|
106 | |
---|
107 | |
---|
108 | G4VisAttributes* simpleTungstenSVisAtt; |
---|
109 | G4VisAttributes* simpleCopperSVisAtt; |
---|
110 | G4VisAttributes* simpleWorldVisAtt; |
---|
111 | //MedLinacVGeometryComponent* component; |
---|
112 | }; |
---|
113 | #endif |
---|