source: branches/MarsMoreSimulationTruth/mfilter/MFTriggerLvl2.h

Last change on this file was 14447, checked in by tbretz, 12 years ago
Added some missing std::
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(std::ostream &out) const;
39
40 Int_t PreProcess(MParList *pList);
41 Int_t Process();
42
43public:
44
45 MFTriggerLvl2(const char *cname="MMcTriggerLvl2", const char type='>', const Int_t val=0,
46 const char *name=NULL, const char *title=NULL);
47 MFTriggerLvl2(MMcTriggerLvl2 *triglvl2, const char type='>', const Int_t val=0,
48 const char *name=NULL, const char *title=NULL);
49
50 Bool_t IsExpressionTrue() const;
51
52 ClassDef(MFTriggerLvl2, 1) // A Filter for the Level 2 Trigger
53};
54
55#endif
Note: See TracBrowser for help on using the repository browser.