source: trunk/MagicSoft/Mars/mfilter/MFTriggerLvl1.h@ 937

Last change on this file since 937 was 937, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MFTRIGGERLVL1_H
2#define MFTRIGGERLVL1_H
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MFTriggerLvl1 //
7// //
8/////////////////////////////////////////////////////////////////////////////
9
10#ifndef MFILTER_H
11#include "MFilter.h"
12#endif
13
14class MMcTrig;
15class MParList;
16
17class MFTriggerLvl1 : public MFilter
18{
19private:
20 const MMcTrig *fMcTrig;
21 TString fContName;
22
23 typedef enum { kELowerThan, kEGreaterThan } FilterType_t;
24 FilterType_t fFilterType;
25
26 Bool_t fResult;
27 Int_t fValue;
28
29 void Init(const char type, const Int_t val);
30
31public:
32 MFTriggerLvl1(const char *cname="MMcTrig", const char type='>', const Int_t val=0);
33 MFTriggerLvl1(const MMcTrig *mctrig, const char type='>', const Int_t val=0);
34
35 Bool_t IsExpressionTrue() const;
36 Bool_t PreProcess(MParList *pList);
37 Bool_t Process();
38
39 ClassDef(MFTriggerLvl1, 0) // A Filter for the Level 1 Trigger
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.