source: trunk/examples/advanced/Rich/include/RichTbMaterial.hh @ 807

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

update

File size: 6.2 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// RichTbMaterial.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
33#ifndef RichTbMaterial_h
34#define RichTbMaterial_h 1
35#include "globals.hh"
36#include <vector>
37#include "G4Material.hh"
38#include "G4MaterialTable.hh"
39#include "G4Element.hh"
40#include "G4ElementTable.hh"
41#include "G4OpticalSurface.hh"
42#include "RichTbRunConfig.hh"
43#include "AerogelTypeSpec.hh"
44
45class RichTbMaterial {
46 
47public: 
48  RichTbMaterial();
49
50  RichTbMaterial(RichTbRunConfig*);
51  virtual ~RichTbMaterial();
52  G4double ConvertAgelRIndex(G4double,G4int);
53  G4Material* getAir() {return RichTbAmbientAir;}
54  G4Material* getTAir() {return RichTbTubeAir;}
55  G4Material* getNitrogenGas() {return RichTbNitrogenGas;}
56  G4Material* getH2O() {return RichTbH2O;}
57  G4Material* getMirrorQuartz() {return RichTbMirrorQuartz;}
58  G4Material* getQuartzWMaterial() {return  RichTbQuartzWindowMaterial;}
59  G4Material* getHpdQuartzWMaterial() {return  HpdQuartzWindowMaterial;}
60  G4Material* getPadHpdQuartzWMaterial() {return  PadHpdQuartzWindowMaterial;}
61  G4Material* getRichTbFilterMaterial(G4int FilterTNum )
62  {return RichTbFilterMaterial[FilterTNum] ; }
63  G4Material* getGlassD263FilterMaterial() {return  GlassD263FilterMaterial;}
64  G4Material* getAerogelMaterial(G4int AgelNum ) 
65  {return RichTbAerogelMaterial[AgelNum]; }
66  G4Material* getAerogelTypeA() {return RichTbAerogelTypeA; }
67  G4Material* getAerogelTypeB() {return RichTbAerogelTypeB; }
68  G4Material* getAerogelTypeC() {return RichTbAerogelTypeC; }
69  G4Material* getAerogelTypeD() {return RichTbAerogelTypeD; }
70  G4Material* getAerogelTypeE() {return RichTbAerogelTypeE; }
71  G4Material* getC4F10() {return RichTbC4F10; }
72  G4Material* getCF4() {return RichTbCF4; }
73  G4Material* getVacuum() {return RichTbVacuum;}
74  G4Material* getAluminium() {return RichTbAluminium; } 
75  G4Material* getHpdTubeMaterial() {return  HpdTubeMaterial; }
76  G4Material* getHpdSiDetMaterial() {return HpdSiDetMaterial;}
77  G4Material* getHpdSiCoatingMaterial() {return HpdSiCoatingMaterial;}
78  G4Material* getPadHpdPhCathodeMaterial() {return PadHpdPhCathodeMaterial;}
79
80  G4Material* getPlasticAg() {return RichTbPlasticAg;}
81  G4OpticalSurface* getOpticalMirrorSurface() 
82  {return RichTbOpticalMirrorSurface; } 
83  G4OpticalSurface* getOpticalEnclosureSurface() 
84  {return RichTbOpticalEnclosureSurface; } 
85  G4OpticalSurface* getOpticalGasQuartzWSurface() 
86  {return RichTbOpticalGasQuartzWSurface; } 
87  G4OpticalSurface* getOpticalHpdMetalSurface()
88  {return  RichTbOpticalHpdMetalSurface;}
89  G4OpticalSurface* getOpticalHpdTQuartzWSurface()
90  {return  HpdTQuartzWSurface; }
91  G4OpticalSurface* getOpticalHpdQuartzWPhCathodeSurface()
92  {return  HpdQuartzWPhCathodeSurface; }
93  G4OpticalSurface* getOpticalPhCathodeSkinSurface()
94  {return  PhCathodeSkinSurface; }
95  G4OpticalSurface* getOpticalPhCathodeBorderSurface()
96  {return  PhCathodeBorderSurface; }
97  G4OpticalSurface* getOpticalFilterSurface()
98  {return  RichTbOpticalFilterSurface; }
99  G4OpticalSurface* getHpdSiCoatSurface()
100  {return  HpdSiCoatSurface; }
101
102private:
103  G4Material* RichTbAmbientAir;
104  G4Material* RichTbTubeAir;
105  G4Material* RichTbNitrogenGas;
106  G4Material* RichTbH2O;
107  G4Material* RichTbMirrorQuartz;
108  G4Material* RichTbQuartzWindowMaterial;
109  std::vector<G4Material*> RichTbAerogelMaterial;
110
111  G4Material* RichTbAerogelTypeA;
112  G4Material* RichTbAerogelTypeB;
113  G4Material* RichTbAerogelTypeC;
114  G4Material* RichTbAerogelTypeD;
115  G4Material* RichTbAerogelTypeE;
116  G4Material* RichTbC4F10;
117  G4Material* RichTbCF4;
118  G4Material* RichTbVacuum;
119  G4Material* RichTbAluminium;
120  G4Material* HpdTubeMaterial;
121  G4Material* HpdSiDetMaterial;
122  G4Material* HpdSiCoatingMaterial;
123  G4Material* HpdQuartzWindowMaterial;
124  G4Material* PadHpdQuartzWindowMaterial;
125
126  std::vector<G4Material*> RichTbFilterMaterial;
127  G4Material* GlassD263FilterMaterial;
128  G4Material* PadHpdPhCathodeMaterial;
129  G4Material* RichTbPlasticAg;
130  G4OpticalSurface* RichTbOpticalMirrorSurface;
131  G4OpticalSurface* RichTbOpticalEnclosureSurface;
132  G4OpticalSurface*  RichTbOpticalGasQuartzWSurface;
133  G4OpticalSurface* HpdTQuartzWSurface;
134  G4OpticalSurface* HpdQuartzWPhCathodeSurface;
135  G4OpticalSurface* PhCathodeSkinSurface;
136  G4OpticalSurface* PhCathodeBorderSurface;
137  G4OpticalSurface* HpdSiCoatSurface;
138  //The following metal surface used although it would be redundant.
139  // The metal volume has no ref. index.
140  G4OpticalSurface* RichTbOpticalHpdMetalSurface;
141
142  G4OpticalSurface* RichTbOpticalFilterSurface;
143
144
145  RichTbRunConfig* rConfig;
146};
147
148
149
150#endif
151
Note: See TracBrowser for help on using the repository browser.