source: branches/MarsISDCBranchBasedOn17887/mmovie/MMoviePrepare.h@ 18332

Last change on this file since 18332 was 8411, checked in by tbretz, 18 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MMoviePrepare
2#define MARS_MMoviePrepare
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MGeomCam;
9class MExtractor;
10class MMovieData;
11class MPedestalCam;
12class MRawRunHeader;
13class MCalibConstCam;
14class MCalibrationRelTimeCam;
15class MPedestalSubtractedEvt;
16
17class MMoviePrepare : public MTask
18{
19private:
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
43public:
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.