Changeset 3488


Ignore:
Timestamp:
03/12/04 16:13:05 (21 years ago)
Author:
wittek
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3486 r3488  
    1818
    1919                                                 -*-*- END OF LINE -*-*-
     20
     21
     22 2004/03/12: Wolfgang Wittek
     23
     24   * manalysis/Makefile
     25     - include 'mastro'
     26
     27   * manalysis/MSourcePosfromStarPos.[h,cc]
     28     - include MObservatory.h
     29     - call member function Rotationangle() of MObservatory
     30
    2031
    2132 2004/03/12: Markus Gaug
  • trunk/MagicSoft/Mars/manalysis/MSourcePosfromStarPos.cc

    r3376 r3488  
    5858#include "MLog.h"
    5959#include "MLogManip.h"
     60#include "MObservatory.h"
    6061
    6162ClassImp(MSourcePosfromStarPos);
     
    199200              << fMm2Deg << ",  " << fDistCameraReflector << endl;
    200201
     202    fObservatory = (MObservatory*)pList->FindObject(AddSerialNumber("MObservatory"));
     203    if (!fObservatory)
     204    {
     205        *fLog << err << "MObservatory not found...  aborting" << endl;
     206        return kFALSE;
     207    }
    201208
    202209    fRun = (MRawRunHeader*)pList->FindObject("MRawRunHeader");
     
    337344  Double_t cosal = - (a3 * sin(thetaTel) + a1 * cos(thetaTel) * cos(phiTel)) * denom;
    338345  Double_t sinal =    a1 * sin(phiTel) * denom;
     346
     347  fObservatory->RotationAngle(thetaTel, phiTel, sinal, cosal);
    339348
    340349  //*fLog << "thetaTel, phiTel, cosal, sinal = " << thetaTel << ",  "
  • trunk/MagicSoft/Mars/manalysis/MSourcePosfromStarPos.h

    r3274 r3488  
    3232class MGeomCam;
    3333class MSrcPosCam;
     34class MObservatory;
    3435
    3536
     
    3940    const MRawRunHeader *fRun;      //!
    4041    const MGeomCam      *fGeomCam;  //! Camera Geometry used to calculate Hillas
    41     MMcEvt              *fMcEvt;
    42     MSrcPosCam    *fSrcPos;   //!
     42    MMcEvt              *fMcEvt;    //!
     43    MSrcPosCam          *fSrcPos;         //!
     44    MObservatory        *fObservatory;    //!
    4345
    4446    ifstream    *fIn;             // input file
Note: See TracChangeset for help on using the changeset viewer.