Ignore:
Timestamp:
01/09/08 11:45:59 (17 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mpointing
Files:
3 edited

Legend:

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

    r8657 r8802  
    3333    TVector2 GetXY() const;
    3434
     35    void Paint(Option_t *opt);
    3536    void Print(Option_t *opt=NULL) const;
    3637
  • trunk/MagicSoft/Mars/mpointing/MSrcPosRndm.cc

    r7690 r8802  
    6868        return kFALSE;
    6969
     70    fSrcPosAnti = (MSrcPosCam*)plist->FindCreateObj("MSrcPosCam", "MSrcPosAnti");
     71    if (!fSrcPosAnti)
     72        return kFALSE;
     73
    7074    if (fDistOfSource<0)
    7175    {
     
    104108
    105109    fSrcPos->SetXY(x/fConvMm2Deg, y/fConvMm2Deg);
     110    if (fDistOfSource>=0)
     111        fSrcPosAnti->SetXY(-x/fConvMm2Deg, -y/fConvMm2Deg);
    106112    return kTRUE;
    107113}
  • trunk/MagicSoft/Mars/mpointing/MSrcPosRndm.h

    r7690 r8802  
    1212{
    1313private:
    14     MSrcPosCam   *fSrcPos; //!
    15     MHSrcPosCam  *fHist;   //!
     14    MSrcPosCam   *fSrcPos;     //!
     15    MSrcPosCam   *fSrcPosAnti; //!
     16    MHSrcPosCam  *fHist;       //!
    1617
    1718    Double_t fConvMm2Deg;
Note: See TracChangeset for help on using the changeset viewer.