QwAnalysis
QwWord.h
Go to the documentation of this file.
1 /*
2  * QwWord.h
3  *
4  * Created on: Dec 14, 2010
5  * Author: wdconinc
6  */
7 
8 #ifndef QWWORD_H_
9 #define QWWORD_H_
10 
11 // ROOT headers
12 #include "Rtypes.h"
13 
14 // Qweak headers
15 #include "QwLog.h"
16 
17 ///
18 /// \ingroup QwAnalysis
19 class QwWord
20 {
21  public:
24  fWordName(""),fWordType(""),fValue(-1){};
25 
26  Int_t fSubbankIndex;
28  TString fModuleType;
29  TString fWordName;
30  TString fWordType;
31  Int_t fValue;
32 
33  void PrintID() const {
34  QwOut << fWordName << " :: " << fSubbankIndex << " ; "
35  << fModuleType << " ; " << fWordType << QwLog::endl;
36  }
37 
38  void Print() const {
39  QwOut << fWordName<<" :: " << fValue << QwLog::endl;
40  }
41 
42  void ClearEventData() {
43  fValue = -1;
44  }
45 };
46 
47 #endif /* QWWORD_H_ */
#define QwOut
Predefined log drain for explicit output.
Definition: QwLog.h:35
TString fWordType
Definition: QwWord.h:30
Definition: QwWord.h:19
Int_t fWordInSubbank
Definition: QwWord.h:27
void PrintID() const
Definition: QwWord.h:33
void Print() const
Definition: QwWord.h:38
void ClearEventData()
Definition: QwWord.h:42
A logfile class, based on an identical class in the Hermes analyzer.
Int_t fSubbankIndex
Definition: QwWord.h:24
QwWord()
Definition: QwWord.h:22
Int_t fValue
Definition: QwWord.h:31
TString fModuleType
Definition: QwWord.h:28
TString fWordName
Definition: QwWord.h:29
static std::ostream & endl(std::ostream &)
End of the line.
Definition: QwLog.cc:299