Line | |
---|
1 | #ifndef MARS_MSimReadout
|
---|
2 | #define MARS_MSimReadout
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MParList;
|
---|
9 | class MParameterD;
|
---|
10 | class MRawEvtData;
|
---|
11 | class MRawRunHeader;
|
---|
12 | class MRawEvtHeader;
|
---|
13 | class MAnalogChannels;
|
---|
14 |
|
---|
15 | class MSimReadout : public MTask
|
---|
16 | {
|
---|
17 | private:
|
---|
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 |
|
---|
36 | public:
|
---|
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.