source: trunk/MagicSoft/Mars/msimcamera/MSimCamera.h@ 9485

Last change on this file since 9485 was 9425, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MSimCamera
2#define MARS_MSimCamera
3
4#ifndef MARS_MTask
5#include "MTask.h"
6#endif
7
8class MMcEvt;
9class MParList;
10class MPhotonEvent;
11class MPhotonStatistics;
12class MRawRunHeader;
13class MAnalogChannels;
14class MPedestalCam;
15
16class MSpline3;
17
18class MSimCamera : public MTask
19{
20private:
21 MPhotonEvent *fEvt; //! Event stroing the photons
22 MPhotonStatistics *fStat; //! Valid time range of the phootn event
23 MRawRunHeader *fRunHeader; //! Sampling frequency
24 MPedestalCam *fElectronicNoise; //! Electronic noise (baseline and rms)
25 MPedestalCam *fGain; //! Electronic noise (baseline and rms)
26
27 MAnalogChannels *fCamera; //! Output of the analog signals
28 MMcEvt *fMcEvt; //! For information stored in MMcEvt
29
30 const MSpline3 *fSpline; // Pusle Shape
31
32 Bool_t fBaselineGain; // Should the gain be applied to baseline and electronic noise?
33
34 // MParContainer
35 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print);
36
37 // MTask
38 Int_t PreProcess(MParList *pList);
39 Bool_t ReInit(MParList *pList);
40 Int_t Process();
41
42public:
43 MSimCamera(const char *name=NULL, const char *title=NULL);
44
45 ClassDef(MSimCamera, 0) // Task to simulate the electronic noise and to convert photons into pulses
46};
47
48#endif
Note: See TracBrowser for help on using the repository browser.