source: tags/Mars-V0.9.2/mmontecarlo/MMcTimeGenerate.h

Last change on this file was 2207, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 551 bytes
Line 
1#ifndef MARS_MMcTimeGenerate
2#define MARS_MMcTimeGenerate
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7#ifndef ROOT_TF1
8#include "TF1.h"
9#endif
10
11class MParList;
12class MTime;
13
14class MMcTimeGenerate : public MTask
15{
16private:
17 MTime *fTime; //!
18 TF1 *fFunc; //!
19
20 Double_t fDeadTime;
21
22 Int_t PreProcess(MParList *pList);
23 Int_t Process();
24
25public:
26 MMcTimeGenerate(const char *name=NULL, const char *title=NULL);
27
28 ~MMcTimeGenerate();
29
30 ClassDef(MMcTimeGenerate, 0) // To generate a random time
31};
32
33#endif
Note: See TracBrowser for help on using the repository browser.