Line | |
---|
1 | #ifndef MARS_MMoviePrepare
|
---|
2 | #define MARS_MMoviePrepare
|
---|
3 |
|
---|
4 | #ifndef MARS_MTask
|
---|
5 | #include "MTask.h"
|
---|
6 | #endif
|
---|
7 |
|
---|
8 | class MGeomCam;
|
---|
9 | class MExtractor;
|
---|
10 | class MMovieData;
|
---|
11 | class MPedestalCam;
|
---|
12 | class MRawRunHeader;
|
---|
13 | class MCalibConstCam;
|
---|
14 | class MCalibrationRelTimeCam;
|
---|
15 | class MPedestalSubtractedEvt;
|
---|
16 |
|
---|
17 | class MMoviePrepare : public MTask
|
---|
18 | {
|
---|
19 | private:
|
---|
20 | MPedestalSubtractedEvt *fEvt; //! Slices with pedestal subtracted
|
---|
21 | MCalibConstCam *fCal; //! Calibration constants signal
|
---|
22 | MCalibrationRelTimeCam *fRel; //! Calibration constants time
|
---|
23 | MRawRunHeader *fRun; //! Run Header (sampling frequency)
|
---|
24 | MGeomCam *fCam; //! Pixel size
|
---|
25 | MPedestalCam *fPed; //! Fundamental pedestal (slice by slice)
|
---|
26 |
|
---|
27 | MMovieData *fOut; //! Prepared output container
|
---|
28 |
|
---|
29 | UInt_t fFirstSlice;
|
---|
30 | UInt_t fLastSlice;
|
---|
31 |
|
---|
32 | // MTask
|
---|
33 | Int_t PreProcess(MParList *plist);
|
---|
34 | Int_t Process();
|
---|
35 |
|
---|
36 | // MParContainer
|
---|
37 | Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
|
---|
38 |
|
---|
39 | // MMoviePrepare
|
---|
40 | Double_t GetMedianCalibConst() const;
|
---|
41 | Double_t GetMedianPedestalRms() const;
|
---|
42 |
|
---|
43 | public:
|
---|
44 | MMoviePrepare(const char *name=NULL, const char *title=NULL);
|
---|
45 |
|
---|
46 | void SetRangeFromExtractor(const MExtractor &ext);
|
---|
47 |
|
---|
48 | ClassDef(MMoviePrepare, 0) // Task to prepare a movie
|
---|
49 | };
|
---|
50 |
|
---|
51 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.