source: trunk/MagicSoft/Mars/mfilter/MFTriggerLvl2.h@ 1885

Last change on this file since 1885 was 1777, checked in by stamerra, 22 years ago
*** empty log message ***
File size: 1.5 KB
Line 
1#ifndef MARS_MFTriggerLvl2
2#define MARS_MFTriggerLvl2
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MFTriggerLvl2
7//
8// auth. A.stamerra
9// created 30.01.03 //
10// //
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef MARS_MFilter
14#include "MFilter.h"
15#endif
16
17class MMcTrig;
18class MParList;
19class MMcTriggerLvl2;
20
21class MFTriggerLvl2 : public MFilter
22{
23private:
24
25 TString fContName;
26
27 MMcTriggerLvl2 *fcell;
28
29 typedef enum { kELowerThan, kEGreaterThan } FilterType_t;
30 FilterType_t fFilterType;
31
32 Bool_t fResult; //!
33 Int_t fValue;
34
35 void Init(const char type, const Int_t val,
36 const char *name, const char *title);
37
38 void StreamPrimitive(ofstream &out) const;
39
40public:
41
42 MFTriggerLvl2(const char *cname="MMcTriggerLvl2", const char type='>', const Int_t val=0,
43 const char *name=NULL, const char *title=NULL);
44 MFTriggerLvl2(MMcTriggerLvl2 *triglvl2, const char type='>', const Int_t val=0,
45 const char *name=NULL, const char *title=NULL);
46
47 Bool_t IsExpressionTrue() const;
48 Bool_t PreProcess(MParList *pList);
49 Bool_t Process();
50
51 ClassDef(MFTriggerLvl2, 1) // A Filter for the Level 2 Trigger
52};
53
54#endif
Note: See TracBrowser for help on using the repository browser.