source: branches/MarsISDCBranchBasedOn17887/msimcamera/MSimReadout.h@ 18459

Last change on this file since 18459 was 9318, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MARS_MSimReadout
2#define MARS_MSimReadout
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MParList;
9class MParameterD;
10class MRawEvtData;
11class MRawRunHeader;
12class MRawEvtHeader;
13class MAnalogChannels;
14
15class MSimReadout : public MTask
16{
17private:
18 MRawRunHeader *fRunHeader; //! Digitization window and frequency
19 MRawEvtHeader *fEvtHeader; //! Event header which is filled with the event number
20 MAnalogChannels *fCamera; //! Analog channes to be read out
21 MParameterD *fPulsePos; //! Intended pulse position
22 MParameterD *fTrigger; //! Position of trigger in the analog signal
23
24 MRawEvtData *fData; //! Digitized FADC signal
25
26 Double_t fConversionFactor; // Conversion factor (arbitrary) from analog signal to FADC counts
27
28 // MTask
29 Int_t PreProcess(MParList *pList);
30 Int_t Process();
31 Bool_t ReInit(MParList *pList);
32
33 // MParContainer
34 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print=kFALSE);
35
36public:
37 MSimReadout(const char *name=NULL, const char *title=NULL);
38
39 ClassDef(MSimReadout, 0) // Task to simulate the analog readout (FADCs)
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.