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

Last change on this file since 9272 was 9272, 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
37 // MSimCalibrationSignal
38 Bool_t CallReInit();
39
40 //Int_t ReadRouting(const char *fname, TObjArray &arr);
41public:
42 MSimCalibrationSignal(const char *name=NULL, const char *title=NULL);
43
44 void SetNameGeomCam(const char *name="MGeomCam") { fNameGeomCam = name; }
45
46 UInt_t GetEntries() { return fNumEntries; }
47 TString GetFullFileName() const { return "cer000000"; }
48 //virtual Bool_t Rewind();
49
50 ClassDef(MSimCalibrationSignal, 0) // Task to create a fake signal (derives from MRead)
51};
52
53#endif
Note: See TracBrowser for help on using the repository browser.