FairRoot/PandaRoot
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
softrig
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
20
class
PndOnlineFilterInfo
:
public
TObject
21
{
22
23
public
:
24
25
PndOnlineFilterInfo
();
26
~PndOnlineFilterInfo
();
27
28
// *** any tag?
29
bool
Tagged
()
const
{
return
fNTagTotal
>0;}
30
31
// *** total number of tags of all triggers
32
int
GetNTagTotal
()
const
{
return
fNTagTotal
; }
33
34
// *** accessor to number of tags for mode
35
int
GetNTag
(
int
mode
);
36
37
// *** modifier for number of tags for mode
38
void
SetNTag
(
int
mode
,
const
int
tag
);
39
40
void
Reset
();
41
void
Print
();
42
43
// custom streamer; needed to build map
44
//virtual void Streamer(TBuffer &R__b);
45
46
protected
:
47
48
bool
fTag
;
49
int
fNTagTotal
;
50
51
int
fNModes
;
52
int
fMode
[
OFIMAXMODES
];
53
int
fNTag
[
OFIMAXMODES
];
54
55
ClassDef
(
PndOnlineFilterInfo
,2);
56
57
};
58
59
60
#endif
61
62
OFIMAXMODES
#define OFIMAXMODES
Definition:
PndOnlineFilterInfo.h:17
PndOnlineFilterInfo::fMode
int fMode[OFIMAXMODES]
Definition:
PndOnlineFilterInfo.h:52
PndOnlineFilterInfo
Definition:
PndOnlineFilterInfo.h:20
tag
Int_t tag
Definition:
crosstag.C:23
mode
Int_t mode
Definition:
autocutx.C:47
PndOnlineFilterInfo::SetNTag
void SetNTag(int mode, const int tag)
Definition:
PndOnlineFilterInfo.cxx:36
PndOnlineFilterInfo::~PndOnlineFilterInfo
~PndOnlineFilterInfo()
Definition:
PndOnlineFilterInfo.cxx:30
PndOnlineFilterInfo::GetNTagTotal
int GetNTagTotal() const
Definition:
PndOnlineFilterInfo.h:32
PndOnlineFilterInfo::fNTag
int fNTag[OFIMAXMODES]
Definition:
PndOnlineFilterInfo.h:53
PndOnlineFilterInfo::GetNTag
int GetNTag(int mode)
Definition:
PndOnlineFilterInfo.cxx:63
PndOnlineFilterInfo::fTag
bool fTag
Definition:
PndOnlineFilterInfo.h:48
PndOnlineFilterInfo::Print
void Print()
Definition:
PndOnlineFilterInfo.cxx:87
PndOnlineFilterInfo::ClassDef
ClassDef(PndOnlineFilterInfo, 2)
PndOnlineFilterInfo::Tagged
bool Tagged() const
Definition:
PndOnlineFilterInfo.h:29
PndOnlineFilterInfo::PndOnlineFilterInfo
PndOnlineFilterInfo()
Definition:
PndOnlineFilterInfo.cxx:16
PndOnlineFilterInfo::Reset
void Reset()
Definition:
PndOnlineFilterInfo.cxx:72
PndOnlineFilterInfo::fNModes
int fNModes
Definition:
PndOnlineFilterInfo.h:51
PndOnlineFilterInfo::fNTagTotal
int fNTagTotal
Definition:
PndOnlineFilterInfo.h:49
Generated on Wed Apr 3 2019 10:02:55 for FairRoot/PandaRoot by
1.8.5