| Line | |
|---|
| 1 | #ifndef MARS_MDispCalc
|
|---|
| 2 | #define MARS_MDispCalc
|
|---|
| 3 |
|
|---|
| 4 | #ifndef MARS_MTask
|
|---|
| 5 | #include "MTask.h"
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | #ifndef MARS_MSrcPosCam
|
|---|
| 9 | #include "MSrcPosCam.h"
|
|---|
| 10 | #endif
|
|---|
| 11 |
|
|---|
| 12 | class MHillas;
|
|---|
| 13 | class MHillasSrc;
|
|---|
| 14 | class MDisp;
|
|---|
| 15 | class MSrcPosCam;
|
|---|
| 16 |
|
|---|
| 17 | class MDispCalc : public MTask
|
|---|
| 18 | {
|
|---|
| 19 | private:
|
|---|
| 20 |
|
|---|
| 21 | MHillas *fHillas; //! Pointer to the source independent hillas parameters
|
|---|
| 22 | MHillasSrc *fHillasSrc; //! Pointer to the source dependent hillas parameters
|
|---|
| 23 | MSrcPosCam *fSrcPos; //! Pointer to the source position
|
|---|
| 24 | MDisp *fDisp;
|
|---|
| 25 |
|
|---|
| 26 | Float_t fPsi; // [mm] Psi Disp parameter (has to fixed before Disp calculations,
|
|---|
| 27 | // used for fPosDisp1, fPosDisp2, fDisp determination)
|
|---|
| 28 |
|
|---|
| 29 | Int_t fErrors;
|
|---|
| 30 |
|
|---|
| 31 | Int_t PreProcess(MParList *plist);
|
|---|
| 32 | Int_t Process();
|
|---|
| 33 | Int_t PostProcess();
|
|---|
| 34 |
|
|---|
| 35 | public:
|
|---|
| 36 |
|
|---|
| 37 | MDispCalc(const char *name=NULL, const char *title=NULL);
|
|---|
| 38 |
|
|---|
| 39 | void SetSrcPos(Float_t xpos, Float_t ypos) {fSrcPos->SetXY(xpos,ypos);}
|
|---|
| 40 | void SetPsi(Float_t psi) {fPsi = psi;}
|
|---|
| 41 |
|
|---|
| 42 | ClassDef(MDispCalc, 0) // task to calculate the Disp parameter and related positions
|
|---|
| 43 | };
|
|---|
| 44 |
|
|---|
| 45 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.