BmnRoot
26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Toggle main menu visibility
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
7
using namespace
std
;
8
9
class
BmnEventQuality
:
public
TNamed
10
{
11
public
:
12
BmnEventQuality
() {};
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
19
Bool_t
GetIsGoodEvent
() {
return
fIsGoodEvent
; }
20
21
private
:
22
Bool_t
fIsGoodEvent
;
23
24
ClassDef
(
BmnEventQuality
, 1);
25
};
26
27
#endif
Bool_t
bool Bool_t
kFALSE
constexpr Bool_t kFALSE
kTRUE
constexpr Bool_t kTRUE
ClassDef
#define ClassDef(name, id)
TNamed.h
BmnEventQuality
Definition
BmnEventQuality.h:10
BmnEventQuality::fIsGoodEvent
Bool_t fIsGoodEvent
Definition
BmnEventQuality.h:22
BmnEventQuality::BmnEventQuality
BmnEventQuality()
Definition
BmnEventQuality.h:12
BmnEventQuality::~BmnEventQuality
virtual ~BmnEventQuality()
Definition
BmnEventQuality.h:15
BmnEventQuality::SetIsGoodEvent
void SetIsGoodEvent(TString str)
Definition
BmnEventQuality.h:17
BmnEventQuality::BmnEventQuality
BmnEventQuality(TString str)
Definition
BmnEventQuality.h:13
BmnEventQuality::GetIsGoodEvent
Bool_t GetIsGoodEvent()
Definition
BmnEventQuality.h:19
TNamed
TString
std
Definition
json.hpp:4446
install
include
BmnEventQuality.h
Generated on
for BmnRoot by
1.17.0