| Line | |
|---|
| 1 | #ifndef MARS_MSimCalibrationSignal
|
|---|
| 2 | #define MARS_MSimCalibrationSignal
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MRead
|
|---|
| 5 | #include "MRead.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class MGeomCam;
|
|---|
| 9 | class MParList;
|
|---|
| 10 | class MPhotonEvent;
|
|---|
| 11 | class MPhotonStatistics;
|
|---|
| 12 | class MParameterD;
|
|---|
| 13 | class MRawRunHeader;
|
|---|
| 14 | class MRawEvtHeader;
|
|---|
| 15 |
|
|---|
| 16 | class MSimCalibrationSignal : public MRead
|
|---|
| 17 | {
|
|---|
| 18 | private:
|
|---|
| 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);
|
|---|
| 41 | public:
|
|---|
| 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.