PandaRoot
PndOnlineFilterInfo.h
Go to the documentation of this file.
1
#ifndef PNDONLINEFILTERINFO_H
2
#define PNDONLINEFILTERINFO_H
3
// //
5
// PndOnlineFilterInfo //
6
// //
7
// Information Container for Online Filter Results //
8
// //
9
// Author: Klaus Goetzen, GSI, 2013 //
10
// //
12
13
#include <iostream>
14
#include "TObject.h"
15
#include "TBuffer.h"
16
17
#define OFIMAXMODES 65
18
19
class
PndOnlineFilterInfo
:
public
TObject {
20
21
public
:
22
PndOnlineFilterInfo
();
23
~PndOnlineFilterInfo
();
24
25
// *** any tag?
26
bool
Tagged
()
const
{
return
fNTagTotal
> 0; }
27
28
// *** total number of tags of all triggers
29
int
GetNTagTotal
()
const
{
return
fNTagTotal
; }
30
31
// *** accessor to number of tags for mode
32
int
GetNTag
(
int
mode);
33
34
// *** modifier for number of tags for mode
35
void
SetNTag
(
int
mode,
const
int
tag);
36
37
void
Reset
();
38
void
Print
();
39
40
// custom streamer; needed to build map
41
// virtual void Streamer(TBuffer &R__b);
42
43
protected
:
44
bool
fTag
;
45
int
fNTagTotal
;
46
47
int
fNModes
;
48
int
fMode
[
OFIMAXMODES
];
49
int
fNTag
[
OFIMAXMODES
];
50
51
ClassDef
(
PndOnlineFilterInfo
, 2);
52
};
53
54
#endif
OFIMAXMODES
#define OFIMAXMODES
Definition:
PndOnlineFilterInfo.h:17
PndOnlineFilterInfo::fMode
int fMode[OFIMAXMODES]
Definition:
PndOnlineFilterInfo.h:48
PndOnlineFilterInfo
Definition:
PndOnlineFilterInfo.h:19
PndOnlineFilterInfo::GetNTagTotal
int GetNTagTotal() const
Definition:
PndOnlineFilterInfo.h:29
PndOnlineFilterInfo::SetNTag
void SetNTag(int mode, const int tag)
PndOnlineFilterInfo::~PndOnlineFilterInfo
~PndOnlineFilterInfo()
PndOnlineFilterInfo::fNTag
int fNTag[OFIMAXMODES]
Definition:
PndOnlineFilterInfo.h:49
PndOnlineFilterInfo::GetNTag
int GetNTag(int mode)
PndOnlineFilterInfo::fTag
bool fTag
Definition:
PndOnlineFilterInfo.h:44
PndOnlineFilterInfo::Print
void Print()
PndOnlineFilterInfo::ClassDef
ClassDef(PndOnlineFilterInfo, 2)
PndOnlineFilterInfo::PndOnlineFilterInfo
PndOnlineFilterInfo()
PndOnlineFilterInfo::Reset
void Reset()
PndOnlineFilterInfo::fNModes
int fNModes
Definition:
PndOnlineFilterInfo.h:47
PndOnlineFilterInfo::Tagged
bool Tagged() const
Definition:
PndOnlineFilterInfo.h:26
PndOnlineFilterInfo::fNTagTotal
int fNTagTotal
Definition:
PndOnlineFilterInfo.h:45
home
gitlab-runner
builds
LYZoAKaU
0
PandaRootGroup
PandaRoot
softrig
PndOnlineFilterInfo.h
Generated on Fri Oct 21 2022 07:03:59 for PandaRoot by
1.8.13