FairRoot/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 
20 class PndOnlineFilterInfo : public TObject
21 {
22 
23  public:
24 
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;
50 
51  int fNModes;
54 
56 
57 };
58 
59 
60 #endif
61 
62 
#define OFIMAXMODES
int fMode[OFIMAXMODES]
Int_t tag
Definition: crosstag.C:23
Int_t mode
Definition: autocutx.C:47
void SetNTag(int mode, const int tag)
int fNTag[OFIMAXMODES]
ClassDef(PndOnlineFilterInfo, 2)