source: trunk/examples/advanced/Rich/include/RichTbComponent.hh@ 1257

Last change on this file since 1257 was 807, checked in by garnier, 17 years ago

update

File size: 5.1 KB
Line 
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// Rich advanced example for Geant4
27// RichTbComponent.hh for Rich of LHCb
28// History:
29// Created: Sajan Easo (Sajan.Easo@cern.ch)
30// Revision and changes: Patricia Mendez (Patricia.Mendez@cern.ch)
31/////////////////////////////////////////////////////////////////////////////
32#ifndef RichTbComponent_h
33#define RichTbComponent_h 1
34
35#include "globals.hh"
36#include <vector>
37#include "RichTbMaterial.hh"
38#include "RichTbHall.hh"
39#include "RichTbRunConfig.hh"
40#include "G4LogicalVolume.hh"
41#include "G4VPhysicalVolume.hh"
42#include "AerogelTypeSpec.hh"
43#include "G4LogicalBorderSurface.hh"
44class RichTbComponent {
45
46public:
47
48 RichTbComponent();
49 RichTbComponent(RichTbMaterial*,RichTbHall*, RichTbRunConfig*,G4bool);
50 virtual ~RichTbComponent();
51
52 G4LogicalVolume* getEnclosureLogicalVolume()
53 {return RichTbEnclosureLVol;}
54
55 G4VPhysicalVolume* getEnclosurePhysicalVolume()
56 {return RichTbEnclosurePVol;}
57
58 G4LogicalVolume* getMirrorLogicalVolume()
59 {return RichTbMirrorLVol;}
60
61 G4VPhysicalVolume* getMirrorPhysicalVolume()
62 {return RichTbMirrorPVol;}
63
64 G4LogicalBorderSurface* getMirrorSurface()
65 {return RichTbMirrorBSurf; }
66
67 G4LogicalVolume* getRadFrameLogicalVolume()
68 {return RichTbRadFrameLVol;}
69
70 G4VPhysicalVolume* getRadFramePhysicalVolume()
71 {return RichTbRadFramePVol;}
72
73 G4LogicalVolume* getRadUpWLogicalVolume()
74 {return RichTbRadUpWLVol;}
75
76 G4VPhysicalVolume* getRadUpWPhysicalVolume()
77 {return RichTbRadUpWPVol;}
78
79 G4LogicalVolume* getRadDnWLogicalVolume()
80 {return RichTbRadDnWLVol;}
81
82 G4VPhysicalVolume* getRadDnWPhysicalVolume()
83 {return RichTbRadDnWPVol;}
84
85
86 G4int getNumAerogelTiles() {return NumAerogelTiles; }
87
88 G4LogicalVolume* getAgelLogicalVolume(G4int Agelnum)
89 {return RichTbAgelLVol[Agelnum];}
90
91 G4VPhysicalVolume* getAgelPhysicalVolume(G4int Agelnumber)
92 {return RichTbAgelPVol[Agelnumber];}
93
94 G4LogicalVolume* getAgelWrapTopLogicalVolume(G4int Agelnum)
95 {return RichTbAgelWrapTopLVol[Agelnum];}
96
97 G4VPhysicalVolume* getAgelWrapTopPhysicalVolume(G4int Agelnumber)
98 {return RichTbAgelWrapTopPVol[Agelnumber];}
99
100 G4LogicalVolume* getAgelWrapBotLogicalVolume(G4int Agelnum)
101 {return RichTbAgelWrapBotLVol[Agelnum];}
102
103 G4VPhysicalVolume* getAgelWrapBotPhysicalVolume(G4int Agelnumber)
104 {return RichTbAgelWrapBotPVol[Agelnumber];}
105
106 G4LogicalVolume* getFilterLogicalVolume()
107 {return RichTbFilterLVol;}
108
109 G4VPhysicalVolume* getFilterPhysicalVolume()
110 {return RichTbFilterPVol;}
111
112
113private:
114
115 G4LogicalVolume* RichTbEnclosureLVol;
116 G4VPhysicalVolume* RichTbEnclosurePVol;
117 G4LogicalBorderSurface* RichTbEnclosureOuterBSurf;
118 G4LogicalBorderSurface* RichTbEnclosureInnerBSurf;
119 G4LogicalVolume* RichTbMirrorLVol;
120 G4VPhysicalVolume* RichTbMirrorPVol;
121 G4LogicalBorderSurface* RichTbMirrorBSurf;
122 G4LogicalVolume* RichTbRadFrameLVol;
123 G4VPhysicalVolume* RichTbRadFramePVol;
124 G4LogicalVolume* RichTbRadUpWLVol;
125 G4VPhysicalVolume* RichTbRadUpWPVol;
126 G4LogicalVolume* RichTbRadDnWLVol;
127 G4VPhysicalVolume* RichTbRadDnWPVol;
128 G4int NumAerogelTiles;
129 std::vector<G4LogicalVolume*> RichTbAgelLVol;
130 std::vector<G4VPhysicalVolume*> RichTbAgelPVol;
131 std::vector<G4LogicalVolume*> RichTbAgelWrapTopLVol;
132 std::vector<G4VPhysicalVolume*> RichTbAgelWrapTopPVol;
133 std::vector<G4LogicalVolume*> RichTbAgelWrapBotLVol;
134 std::vector<G4VPhysicalVolume*> RichTbAgelWrapBotPVol;
135 G4LogicalVolume* RichTbFilterLVol;
136 G4VPhysicalVolume* RichTbFilterPVol;
137 G4bool ConstructTrackingGeometrySwitch;
138
139};
140
141#endif
Note: See TracBrowser for help on using the repository browser.