QwGeant4
QweakSimUserVDC_DriftCellEvent.hh
Go to the documentation of this file.
1 //=============================================================================
2 //
3 // ---------------------------
4 // | Doxygen File Information |
5 // ---------------------------
6 /**
7 
8  \file QweakSimUserVDC_DriftCellEvent.hh
9  $Revision: 1.2 $
10  $Date: 2005/12/27 19:31:22 $
11  \author Klaus Hans Grimm
12 
13 */
14 //=============================================================================
15 //
16 //=============================================================================
17 //
18 // ---------------------------
19 // | Doxygen Class Information |
20 // ---------------------------
21 /**
22  \class QweakSimUserVDC_DriftCellEvent
23 
24  \ingroup root
25 
26  \brief ROOT Subtree structure for VDC DriftCellEvent
27 
28  Stores the data structure related to a VDC DriftCell Hit into the ROOT file for each event
29 
30  */
31 //=============================================================================
32 //
33 //=============================================================================
34 // -----------------------
35 // | CVS File Information |
36 // -----------------------
37 //
38 // Last Update: $Author: grimm $
39 // Update Date: $Date: 2005/12/27 19:31:22 $
40 // CVS/RCS Revision: $Revision: 1.2 $
41 // Status: $State: Exp $
42 //
43 // ===================================
44 // CVS Revision Log at end of file !!
45 // ===================================
46 //
47 //=============================================================================
48 
49 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
50 #ifndef QweakSimUserVDC_DriftCellEvent_h
51 #define QweakSimUserVDC_DriftCellEvent_h
52 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
53 
54 // root includes
55 #include "TObject.h"
56 
57 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
58 class QweakSimUserVDC_DriftCellEvent : public TObject
59 {
60 
61 private:
62 
63  Int_t UDriftCellHasBeenHit; ///< Has a U drift cell been hit? 0 = no, 5 = yes
64  Int_t VDriftCellHasBeenHit; ///< Has a V drift cell been hit? 0 = no, 5 = yes
65 
66  Int_t UDriftCellNbOfHits; ///< Number of U drift cell hits in this event
67  Int_t VDriftCellNbOfHits; ///< Number of V drift cell hits in this event
68 
69 public:
70 
71  // Constructor
73  // Destructor
75 
76  void Initialize();
77 
78  void StoreUDriftCellHasBeenHit(Int_t nudc) { UDriftCellHasBeenHit = nudc; }
80 
81  void StoreVDriftCellHasBeenHit(Int_t nvdc) { VDriftCellHasBeenHit = nvdc; }
83 
84 
86  Int_t GetUDriftCellNbOfHits() const {return UDriftCellNbOfHits;}
87 
89  Int_t GetVDriftCellNbOfHits() const {return VDriftCellNbOfHits;}
90 
91  //-----------------
92 
93  // define a new Class known to ROOT
95 
96 }; // end class QweakSimUserVDC_DriftCellEvent
97 
98 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
99 
100 #endif
101 
102 //=======================================================================================
103 // -----------------------
104 // | CVS File Information |
105 // -----------------------
106 //
107 // $Revisions$
108 // $Log: QweakSimUserVDC_DriftCellEvent.hh,v $
109 // Revision 1.2 2005/12/27 19:31:22 grimm
110 // - Redesign of Doxygen header containing CVS info like revision and date
111 // - Added CVS revision log at the end of file
112 //
113 //
114 
Int_t UDriftCellHasBeenHit
Has a U drift cell been hit? 0 = no, 5 = yes.
ROOT Subtree structure for VDC DriftCellEvent.
Int_t VDriftCellNbOfHits
Number of V drift cell hits in this event.
Int_t VDriftCellHasBeenHit
Has a V drift cell been hit? 0 = no, 5 = yes.
Int_t UDriftCellNbOfHits
Number of U drift cell hits in this event.