BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnTrigInfo.h
Go to the documentation of this file.
1/**
2 * Class BmnTrigInfo
3 * Trigger counters of the current spill
4 * from U40VE card
5 * \author Ilnur Gabdrakhmanov
6 */
7
8#ifndef TRIGINFO_H
9#define TRIGINFO_H
10
11#include "BmnEnums.h"
12#include "TNamed.h"
13
14class BmnTrigInfo : public TNamed
15{
16 public:
18 BmnTrigInfo(UInt_t cand, UInt_t acc, UInt_t befo, UInt_t afte, UInt_t rjct, UInt_t all, UInt_t avail);
20 virtual ~BmnTrigInfo();
21
22 void SetFrom(BmnTrigInfo& info);
23
24 void SetTrigCand(UInt_t _v) { fTrigCand = _v; }
25
27
28 void SetTrigAccepted(UInt_t _v) { fTrigAcce = _v; }
29
31
32 void SetTrigBefo(UInt_t _v) { fTrigBefo = _v; }
33
35
36 void SetTrigAfter(UInt_t _v) { fTrigAfte = _v; }
37
39
40 void SetTrigRjct(UInt_t _v) { fTrigRjct = _v; }
41
43
44 void SetTrigAll(UInt_t _v) { fTrigAll = _v; }
45
47
48 void SetTrigAvail(UInt_t _v) { fTrigAvail = _v; }
49
51
52 private:
53 UInt_t fTrigCand = 0;
54 UInt_t fTrigAcce = 0;
55 UInt_t fTrigBefo = 0;
56 UInt_t fTrigAfte = 0;
57 UInt_t fTrigRjct = 0;
58 UInt_t fTrigAll = 0;
60
62};
63
64#endif /* TRIGINFO_H */
unsigned int UInt_t
#define ClassDef(name, id)
Class BmnTrigInfo Trigger counters of the current spill from U40VE card.
Definition BmnTrigInfo.h:15
UInt_t GetTrigAvail()
Definition BmnTrigInfo.h:50
void SetTrigBefo(UInt_t _v)
Definition BmnTrigInfo.h:32
void SetTrigAccepted(UInt_t _v)
Definition BmnTrigInfo.h:28
void SetTrigAfter(UInt_t _v)
Definition BmnTrigInfo.h:36
UInt_t GetTrigAfter()
Definition BmnTrigInfo.h:38
void SetTrigAll(UInt_t _v)
Definition BmnTrigInfo.h:44
void SetTrigRjct(UInt_t _v)
Definition BmnTrigInfo.h:40
UInt_t GetTrigRjct()
Definition BmnTrigInfo.h:42
UInt_t fTrigAll
Definition BmnTrigInfo.h:58
BmnTrigInfo(BmnTrigInfo &orig)
UInt_t fTrigBefo
Definition BmnTrigInfo.h:55
UInt_t fTrigAfte
Definition BmnTrigInfo.h:56
UInt_t GetTrigAll()
Definition BmnTrigInfo.h:46
BmnTrigInfo(UInt_t cand, UInt_t acc, UInt_t befo, UInt_t afte, UInt_t rjct, UInt_t all, UInt_t avail)
UInt_t fTrigCand
Definition BmnTrigInfo.h:53
UInt_t GetTrigBefo()
Definition BmnTrigInfo.h:34
UInt_t GetTrigAccepted()
Definition BmnTrigInfo.h:30
void SetFrom(BmnTrigInfo &info)
UInt_t GetTrigCand()
Definition BmnTrigInfo.h:26
void SetTrigCand(UInt_t _v)
Definition BmnTrigInfo.h:24
virtual ~BmnTrigInfo()
UInt_t fTrigRjct
Definition BmnTrigInfo.h:57
void SetTrigAvail(UInt_t _v)
Definition BmnTrigInfo.h:48
UInt_t fTrigAcce
Definition BmnTrigInfo.h:54
UInt_t fTrigAvail
Definition BmnTrigInfo.h:59
Define enumerations used in tracking.