QwGeant4
QweakSimUserVDC_Config.hh
Go to the documentation of this file.
1 //=============================================================================
2 //
3 // ---------------------------
4 // | Doxygen File Information |
5 // ---------------------------
6 /**
7 
8  \file QweakSimUserVDC_Config.hh
9  $Revision: 1.2 $
10  $Date: 2005/12/27 19:31:14 $
11  \author Klaus Hans Grimm
12 
13 */
14 //=============================================================================
15 //
16 //=============================================================================
17 //
18 // ---------------------------
19 // | Doxygen Class Information |
20 // ---------------------------
21 /**
22  \class QweakSimUserVDC_Config
23 
24  \ingroup root
25 
26  \brief ROOT Subtree structure for HDC geometry
27 
28  Stores the geometry information of a VDC DriftCell into the ROOT file for each event.
29  This allows to simulate different DriftCell designs (like different wire spacing, wire stringing angle,
30  drift cell height, VDC tilting angle) within one ROOT file and distinguish between them.
31 
32  */
33 //=============================================================================
34 //
35 //=============================================================================
36 // -----------------------
37 // | CVS File Information |
38 // -----------------------
39 //
40 // Last Update: $Author: grimm $
41 // Update Date: $Date: 2005/12/27 19:31:14 $
42 // CVS/RCS Revision: $Revision: 1.2 $
43 // Status: $State: Exp $
44 //
45 // ===================================
46 // CVS Revision Log at end of file !!
47 // ===================================
48 //
49 //=============================================================================
50 
51 
52 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
53 #ifndef QweakSimUserVDC_Config_h
54 #define QweakSimUserVDC_Config_h
55 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
56 
57 // root includes
58 #include "TObject.h"
59 
60 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
61 class QweakSimUserVDC_Config : public TObject
62 {
63 
64 private:
65 
66  Float_t CellWidthOnFrame; ///< Width of drift cell on frame (mm)
67  Float_t CellFullThickness; ///< Thickness of drift cell (mm)
68  Float_t CellUPlaneWireAngle; ///< U plane wire angle (degrees)
69  Float_t CellVPlaneWireAngle; ///< V plane wire angle (degrees)
70 
71 public:
72 
73  // Constructor
75  // Destructor
76  virtual ~QweakSimUserVDC_Config();
77 
78  void Initialize();
79 
80  void StoreDCWidthOnFrame(Float_t dcw) { CellWidthOnFrame = dcw; }
81  Float_t GetDCWidthOnFrame() const {return CellWidthOnFrame;}
82 
83  void StoreDCFullThickness(Float_t dct) { CellFullThickness = dct; }
84  Float_t GetDCFullThickness() const {return CellFullThickness;}
85 
86  void StoreDCUPlaneWireAngle(Float_t dc_ua) { CellUPlaneWireAngle = dc_ua; }
87  Float_t GetDCUPlaneWireAngle() const {return CellUPlaneWireAngle;}
88 
89  void StoreDCVPlaneWireAngle(Float_t dc_va) { CellVPlaneWireAngle = dc_va; }
90  Float_t GetDCVPlaneWireAngle() const {return CellVPlaneWireAngle;}
91 
92  //-----------------
93 
94  // define a new Class known to ROOT
95  ClassDef(QweakSimUserVDC_Config,1)
96 
97 }; // end class QweakSimUserVDC_Config
98 
99 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
100 
101 #endif
102 
103 //=======================================================================================
104 // -----------------------
105 // | CVS File Information |
106 // -----------------------
107 //
108 // $Revisions$
109 // $Log: QweakSimUserVDC_Config.hh,v $
110 // Revision 1.2 2005/12/27 19:31:14 grimm
111 // - Redesign of Doxygen header containing CVS info like revision and date
112 // - Added CVS revision log at the end of file
113 //
114 //
Float_t GetDCFullThickness() const
Float_t CellVPlaneWireAngle
V plane wire angle (degrees)
ROOT Subtree structure for HDC geometry.
Float_t CellFullThickness
Thickness of drift cell (mm)
Float_t GetDCVPlaneWireAngle() const
void StoreDCVPlaneWireAngle(Float_t dc_va)
Float_t GetDCWidthOnFrame() const
Float_t GetDCUPlaneWireAngle() const
void StoreDCUPlaneWireAngle(Float_t dc_ua)
Float_t CellWidthOnFrame
Width of drift cell on frame (mm)
void StoreDCWidthOnFrame(Float_t dcw)
void StoreDCFullThickness(Float_t dct)
Float_t CellUPlaneWireAngle
U plane wire angle (degrees)