source: trunk/MagicSoft/Mars/msimcamera/MSimCalibrationSignal.h@ 9256

Last change on this file since 9256 was 9256, checked in by tbretz, 16 years ago
*** empty log message ***
File size: 1.7 KB
Line 
1#ifndef MARS_MSimCalibrationSignal
2#define MARS_MSimCalibrationSignal
3
4#ifndef MARS_MRead
5#include "MRead.h"
6#endif
7
8class MGeomCam;
9class MParList;
10class MPhotonEvent;
11class MPhotonStatistics;
12class MParameterD;
13class MRawRunHeader;
14class MRawEvtHeader;
15
16class MSimCalibrationSignal : public MRead
17{
18private:
19 MParList *fParList; //! Store pointer to MParList for initializing ReInit
20 MGeomCam *fGeom; //! Camera geometry to know the number of expected pixels
21 MParameterD *fPulsePos; //! Expected position at which the pulse should be
22 MParameterD *fTrigger; //! Position in analog channels at which the triggersignal is raised
23 MRawRunHeader *fRunHeader; //! Digitization window and frequency
24
25 MRawEvtHeader *fEvtHeader; //! Event header which is filled
26 MPhotonEvent *fEvt; //! Photon event into which the new photons are stored
27 MPhotonStatistics *fStat; //! Photon statistic which is filled
28
29 TString fNameGeomCam; // Name of the camera geometry
30
31 UInt_t fNumEntries; // Number of events to produce
32
33 // MTask
34 Int_t PreProcess(MParList *pList);
35 Int_t Process();
36 Bool_t ReInit(MParList *plist=0);
37
38 //Int_t ReadRouting(const char *fname, TObjArray &arr);
39public:
40 MSimCalibrationSignal(const char *name=NULL, const char *title=NULL);
41
42 void SetNameGeomCam(const char *name="MGeomCam") { fNameGeomCam = name; }
43
44 UInt_t GetEntries() { return fNumEntries; }
45 TString GetFullFileName() const { return "cer000000"; }
46 //virtual Bool_t Rewind();
47
48 ClassDef(MSimCalibrationSignal, 0) // Task to create a fake signal (derives from MRead)
49};
50
51#endif
Note: See TracBrowser for help on using the repository browser.