QwGeant4
QweakSimUserTriggerScintillator_PMTEvent.hh
Go to the documentation of this file.
1 
2 //=============================================================================
3 //
4 // ---------------------------
5 // | Doxygen File Information |
6 // ---------------------------
7 /**
8 
9  \file QweakSimUserTriggerScintillator_PMTEvent.hh
10  $Revision: 1.2 $
11  $Date: 2005/12/27 19:31:07 $
12  \author Klaus Hans Grimm
13 
14 */
15 //=============================================================================
16 //
17 //=============================================================================
18 //
19 // ---------------------------
20 // | Doxygen Class Information |
21 // ---------------------------
22 /**
23  \class QweakSimUserTriggerScintillator_PMTEvent
24 
25  \ingroup root
26 
27  \brief ROOT Subtree structure for Trigger Scintillator PMTEvent
28 
29  */
30 //=============================================================================
31 //
32 //=============================================================================
33 // -----------------------
34 // | CVS File Information |
35 // -----------------------
36 //
37 // Last Update: $Author: grimm $
38 // Update Date: $Date: 2005/12/27 19:31:07 $
39 // CVS/RCS Revision: $Revision: 1.2 $
40 // Status: $State: Exp $
41 //
42 // ===================================
43 // CVS Revision Log at end of file !!
44 // ===================================
45 //
46 //=============================================================================
47 
48 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
49 #ifndef QweakSimUserTriggerScintillator_PMTEvent_h
50 #define QweakSimUserTriggerScintillator_PMTEvent_h
51 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
52 
53 // root includes
54 #include "TObject.h"
55 
56 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
58 {
59 
60 private:
61 
62  Int_t TrackID; ///< ID of the track from which this hit was generated
63 
64  Int_t PMTHasBeenHit; ///< Has this PMT been hit? 0 = no, 5 = yes
65 
66  Int_t PMTLeftNbOfHits; ///< Number of hits in the left PMT
67  Int_t PMTRightNbOfHits; ///< Number of hits in the right PMT
68  Int_t PMTTotalNbOfHits; ///< Number of hits in both PMTs
69 
70  Float_t PMTLeftNbOfPEs; ///< Number of photo-electrons in the left PMT
71  Float_t PMTRightNbOfPEs; ///< Number of photo-electrons in the right PMT
72  Float_t PMTTotalNbOfPEs; ///< Number of photo-electrons in both PMTs
73 
74 public:
75 
76  // Constructor
78  // Destructor
80 
81  void Initialize();
82 
83  //-----------------
84  void StoreTrackID(Int_t tid) { TrackID = tid; }
85  Int_t GetTrackID() const {return TrackID;}
86  //-----------------
87  void StorePMTHasBeenHit(Int_t np) { PMTHasBeenHit = np; }
88  Int_t GetPMTHasBeenHit() const {return PMTHasBeenHit;}
89  //-----------------
90  void StorePMTLeftNbOfHits(Int_t npl) { PMTLeftNbOfHits = npl; }
91  Int_t GetPMTLeftNbOfHits() const {return PMTLeftNbOfHits;}
92 
93  void StorePMTRightNbOfHits(Int_t npr) { PMTRightNbOfHits = npr; }
94  Int_t GetPMTRightNbOfHits() const {return PMTRightNbOfHits;}
95 
96  void StorePMTTotalNbOfHits(Int_t npt) { PMTTotalNbOfHits = npt; }
97  Int_t GetPMTTotalNbOfHits() const {return PMTTotalNbOfHits;}
98  //-----------------
99  void StorePMTLeftNbOfPEs(Float_t npl) { PMTLeftNbOfPEs = npl; }
100  Float_t GetPMTLeftNbOfPEs() const {return PMTLeftNbOfPEs;}
101 
102  void StorePMTRightNbOfPEs(Float_t npr) { PMTRightNbOfPEs = npr; }
103  Float_t GetPMTRightNbOfPEs() const {return PMTRightNbOfPEs;}
104 
105  void StorePMTTotalNbOfPEs(Float_t npt) { PMTTotalNbOfPEs = npt; }
106  Float_t GetPMTTotalNbOfPEs() const {return PMTTotalNbOfPEs;}
107 
108  // define a new Class known to ROOT
110 
111 }; // end class QweakSimUserTriggerScintillator_PMTEvent
112 
113 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
114 
115 #endif
116 
117 //=======================================================================================
118 // -----------------------
119 // | CVS File Information |
120 // -----------------------
121 //
122 // $Revisions$
123 // $Log: QweakSimUserTriggerScintillator_PMTEvent.hh,v $
124 // Revision 1.2 2005/12/27 19:31:07 grimm
125 // - Redesign of Doxygen header containing CVS info like revision and date
126 // - Added CVS revision log at the end of file
127 //
128 //
129 
Float_t PMTLeftNbOfPEs
Number of photo-electrons in the left PMT.
Float_t PMTRightNbOfPEs
Number of photo-electrons in the right PMT.
Float_t PMTTotalNbOfPEs
Number of photo-electrons in both PMTs.
ROOT Subtree structure for Trigger Scintillator PMTEvent.
Int_t TrackID
ID of the track from which this hit was generated.
Int_t PMTHasBeenHit
Has this PMT been hit? 0 = no, 5 = yes.