BmnRoot
Loading...
Searching...
No Matches
BmnEventQuality.h
Go to the documentation of this file.
1#ifndef BMNEVENTQUALITY_H
2#define BMNEVENTQUALITY_H 1
3
4#include <iostream>
5#include <TNamed.h>
6
7using namespace std;
8
9class BmnEventQuality : public TNamed {
10public:
11
13 BmnEventQuality(TString str) {
14 fIsGoodEvent = (str == "GOOD") ? kTRUE : (str == "BAD") ? kFALSE : throw;
15 }
16
17 virtual ~BmnEventQuality() {
18 };
19
20 void SetIsGoodEvent(TString str) {
21 fIsGoodEvent = (str == "GOOD") ? kTRUE : (str == "BAD") ? kFALSE : throw;
22 }
23
24 Bool_t GetIsGoodEvent() {
25 return fIsGoodEvent;
26 }
27
28private:
29 Bool_t fIsGoodEvent;
30
31 ClassDef(BmnEventQuality, 1);
32};
33
34#endif
virtual ~BmnEventQuality()
void SetIsGoodEvent(TString str)
BmnEventQuality(TString str)
Bool_t GetIsGoodEvent()
STL namespace.