BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
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 <TNamed.h>
5#include <iostream>
6
7using namespace std;
8
9class BmnEventQuality : public TNamed
10{
11 public:
13 BmnEventQuality(TString str) { fIsGoodEvent = (str == "GOOD") ? kTRUE : (str == "BAD") ? kFALSE : throw; }
14
15 virtual ~BmnEventQuality() {};
16
17 void SetIsGoodEvent(TString str) { fIsGoodEvent = (str == "GOOD") ? kTRUE : (str == "BAD") ? kFALSE : throw; }
18
20
21 private:
23
25};
26
27#endif
bool Bool_t
constexpr Bool_t kFALSE
constexpr Bool_t kTRUE
#define ClassDef(name, id)
virtual ~BmnEventQuality()
void SetIsGoodEvent(TString str)
BmnEventQuality(TString str)
Bool_t GetIsGoodEvent()
Definition json.hpp:4446