HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
TpcSimGeometry.h
Go to the documentation of this file.
1 #ifndef TPCSIMGEOMETRY_H
2 #define TPCSIMGEOMETRY_H
3 
4 
6 //
7 // TpcSimGeometry
8 //
9 // Geometry of the simulated detector:
10 // A gas box centered in fX,fY,fZ+fSizeBoxZ/2 (volume 1)
11 // A solid box surrounding, of thickness fBoxThickness (volume 2)
12 // 6 scintillators around (volumes 3-8)
13 //
14 // ALL DIMENSIONS IN MM
15 //
17 
18 #include "TObject.h"
19 #include "TCanvas.h"
20 
21 
22 
23 class TpcSimGeometry : public TObject
24 {
25 
26  public:
28  virtual ~TpcSimGeometry() {}
29 
30  Int_t GetVolume(Double_t x, Double_t y, Double_t z);
31  Double_t GetGasSizeZ(){return fGasSizeZ;}
32 
33  TCanvas* DrawDetector();
34 
35  private:
36 
37  Double_t fX;
38  Double_t fY;
39  Double_t fZ;
40 
41  Double_t fGasSizeX;
42  Double_t fGasSizeY;
43  Double_t fGasSizeZ;
44 
45  Double_t fBoxThickness;
46 
47  static const Int_t fkNScinti = 6;
48 
49  Double_t* fScintiX[fkNScinti];
50  Double_t* fScintiY[fkNScinti];
51  Double_t* fScintiZ[fkNScinti];
52  Double_t* fScintiSizeX[fkNScinti];
53  Double_t* fScintiSizeY[fkNScinti];
54  Double_t* fScintiSizeZ[fkNScinti];
55 
57 };
58 
59 #endif
ClassDef(TpcSimGeometry, 1)
static const Int_t fkNScinti
Int_t GetVolume(Double_t x, Double_t y, Double_t z)
Double_t * fScintiY[fkNScinti]
Double_t * fScintiX[fkNScinti]
TCanvas * DrawDetector()
Double_t * fScintiSizeX[fkNScinti]
Double_t * fScintiSizeY[fkNScinti]
Double_t fGasSizeY
Double_t fBoxThickness
Double_t GetGasSizeZ()
Double_t fGasSizeX
Double_t fGasSizeZ
virtual ~TpcSimGeometry()
Double_t * fScintiZ[fkNScinti]
Double_t * fScintiSizeZ[fkNScinti]