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:
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;
46 
47  int fNModes;
50 
52 };
53 
54 #endif
#define OFIMAXMODES
int fMode[OFIMAXMODES]
void SetNTag(int mode, const int tag)
int fNTag[OFIMAXMODES]
int GetNTag(int mode)
ClassDef(PndOnlineFilterInfo, 2)