PandaRoot
PndOnlineFilterInfo.h
Go to the documentation of this file.
1
//****************************************************************************
2
//* This file is part of PandaRoot. *
3
//* *
4
//* PandaRoot is distributed under the terms of the *
5
//* GNU General Public License (GPL) version 3, *
6
//* copied verbatim in the file "LICENSE". *
7
//* *
8
//* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9
//* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10
//* The authors are listed in the file "AUTHORS". *
11
//****************************************************************************
12
13
#ifndef PNDONLINEFILTERINFO_H
14
#define PNDONLINEFILTERINFO_H
15
// //
17
// PndOnlineFilterInfo //
18
// //
19
// Information Container for Online Filter Results //
20
// //
21
// Author: Klaus Goetzen, GSI, 2013 //
22
// //
24
25
#include <iostream>
26
#include "TObject.h"
27
#include "TBuffer.h"
28
29
#define OFIMAXMODES 65
30
31
class
PndOnlineFilterInfo
:
public
TObject {
32
33
public
:
34
PndOnlineFilterInfo
();
35
~PndOnlineFilterInfo
();
36
37
// *** any tag?
38
bool
Tagged
()
const
{
return
fNTagTotal
> 0; }
39
40
// *** total number of tags of all triggers
41
int
GetNTagTotal
()
const
{
return
fNTagTotal
; }
42
43
// *** accessor to number of tags for mode
44
int
GetNTag
(
int
mode);
45
46
// *** modifier for number of tags for mode
47
void
SetNTag
(
int
mode,
const
int
tag);
48
49
void
Reset
();
50
void
Print
();
51
52
// custom streamer; needed to build map
53
// virtual void Streamer(TBuffer &R__b);
54
55
protected
:
56
bool
fTag
;
57
int
fNTagTotal
;
58
59
int
fNModes
;
60
int
fMode
[
OFIMAXMODES
];
61
int
fNTag
[
OFIMAXMODES
];
62
63
ClassDef
(
PndOnlineFilterInfo
, 2);
64
};
65
66
#endif
OFIMAXMODES
#define OFIMAXMODES
Definition:
PndOnlineFilterInfo.h:29
PndOnlineFilterInfo::fMode
int fMode[OFIMAXMODES]
Definition:
PndOnlineFilterInfo.h:60
PndOnlineFilterInfo
Definition:
PndOnlineFilterInfo.h:31
PndOnlineFilterInfo::GetNTagTotal
int GetNTagTotal() const
Definition:
PndOnlineFilterInfo.h:41
PndOnlineFilterInfo::SetNTag
void SetNTag(int mode, const int tag)
PndOnlineFilterInfo::~PndOnlineFilterInfo
~PndOnlineFilterInfo()
PndOnlineFilterInfo::fNTag
int fNTag[OFIMAXMODES]
Definition:
PndOnlineFilterInfo.h:61
PndOnlineFilterInfo::GetNTag
int GetNTag(int mode)
PndOnlineFilterInfo::fTag
bool fTag
Definition:
PndOnlineFilterInfo.h:56
PndOnlineFilterInfo::Print
void Print()
PndOnlineFilterInfo::ClassDef
ClassDef(PndOnlineFilterInfo, 2)
PndOnlineFilterInfo::PndOnlineFilterInfo
PndOnlineFilterInfo()
PndOnlineFilterInfo::Reset
void Reset()
PndOnlineFilterInfo::fNModes
int fNModes
Definition:
PndOnlineFilterInfo.h:59
PndOnlineFilterInfo::Tagged
bool Tagged() const
Definition:
PndOnlineFilterInfo.h:38
PndOnlineFilterInfo::fNTagTotal
int fNTagTotal
Definition:
PndOnlineFilterInfo.h:57
home
gitlab-runner
builds
Vxspf1vo
0
PandaRootGroup
PandaRoot
softrig
PndOnlineFilterInfo.h
Generated on Fri Nov 29 2024 06:04:43 for PandaRoot by
1.8.13