Ignore:
Timestamp:
08/02/08 15:49:41 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mpointing/MSrcPosCalc.h

    r8719 r9070  
    1818class MVector3;
    1919class MTaskList;
     20class MMcEvt;
     21class MMcRunHeader;
    2022
    2123class MSrcPosCalc : public MTask
     
    2527        kDefault = 0,   // Set source position to on-position
    2628        kOffData = 1,   // The source position is fixed to (0/0)
    27         kWobble  = 2    // The source position is set to the wobble aka. anti-source position depending on the cycle number
     29        kWobble  = 2,   // The source position is set to the wobble aka. anti-source position depending on the cycle number
     30        kFixed   = 3    // Set source position to predefined fFixedPos
    2831    };
    2932private:
     
    3235    };
    3336
    34     MObservatory *fObservatory;   //! Observatory location
    35     MPointingPos *fPointPos;      //! Present pointing position of the telescope in Zd/Az
     37    const MObservatory *fObservatory;   //! Observatory location
     38    const MPointingPos *fPointPos;      //! Present pointing position of the telescope in Zd/Az
     39    const MPointingDev *fDeviation;     //! Deviation calculated from starguider data
     40    const MMcEvt       *fMcEvt;         //! Possible input of shower position from MC
     41    const MMcRunHeader *fMcHeader;      //! Monte Carlo run header needed for correct wobble position
     42    const MGeomCam     *fGeom;          //! Camera geomety
     43    const MTime        *fTime;          //! Time of the current event
     44    const MTaskList    *fCallback;      //! Callback function to get the number of the cycle
    3645    MPointingPos *fSourcePos;     //! Source Postion in sky coordinates
    37     MPointingDev *fDeviation;     //! Deviation calculated from starguider data
    3846    MSrcPosCam   *fSrcPosCam;     //! Output: Source position in the camera
    3947    MSrcPosCam   *fSrcPosAnti;    //! Output: Anti Source position in the camera
    40     MGeomCam     *fGeom;          //! Camera geomety
    41     MTime        *fTime;          //! Time of the current event
    42     MTaskList    *fCallback;      //! Callback function to get the number of the cycle
    4348
    4449    UShort_t fRunType;            //! Run Type to decide where to get pointing position from
    4550
    46     TVector2 fFixedPos;           //! Fixed source position
     51    TVector2 fFixedPos;           //! [deg] Fixed source position
    4752
    4853    Int_t fMode;                  // Mode how the source position is calculated
     
    5661    Bool_t   GetCoordinate(TString str, Double_t &ret) const;
    5762    void     FreeSourcePos();
     63    void     CalcResult(const MVector3 &pos0, const MVector3 &pos);
     64    void     InitFixedPos() const;
    5865
    5966    // MParContainer
Note: See TracChangeset for help on using the changeset viewer.