source: trunk/Mars/manalysis/MSoftwareTriggerCalc.h@ 18679

Last change on this file since 18679 was 18482, checked in by tbretz, 9 years ago
Added a container class for the software trigger
File size: 733 bytes
Line 
1#ifndef MARS_MSoftwareTriggerCalc
2#define MARS_MSoftwareTriggerCalc
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MRawEvtData;
9class MSoftwareTrigger;
10class MPedestalSubtractedEvt;
11
12class MSoftwareTriggerCalc : public MTask
13{
14private:
15 MRawEvtData *fRawEvt;
16 MPedestalSubtractedEvt *fSignal;
17 MSoftwareTrigger *fTrigger;
18
19 Int_t PreProcess(MParList *pList);
20 Bool_t ReInit(MParList *pList);
21 Int_t Process();
22 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
23
24public:
25 MSoftwareTriggerCalc(const char *name=NULL, const char *title=NULL);
26
27 virtual Bool_t InitArrays(Int_t) { return kTRUE; }
28
29 ClassDef(MSoftwareTriggerCalc, 0) // Time And Charge Extractor Base Class
30};
31
32#endif
Note: See TracBrowser for help on using the repository browser.