Changeset 3488
- Timestamp:
- 03/12/04 16:13:05 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3486 r3488 18 18 19 19 -*-*- 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 20 31 21 32 2004/03/12: Markus Gaug -
trunk/MagicSoft/Mars/manalysis/MSourcePosfromStarPos.cc
r3376 r3488 58 58 #include "MLog.h" 59 59 #include "MLogManip.h" 60 #include "MObservatory.h" 60 61 61 62 ClassImp(MSourcePosfromStarPos); … … 199 200 << fMm2Deg << ", " << fDistCameraReflector << endl; 200 201 202 fObservatory = (MObservatory*)pList->FindObject(AddSerialNumber("MObservatory")); 203 if (!fObservatory) 204 { 205 *fLog << err << "MObservatory not found... aborting" << endl; 206 return kFALSE; 207 } 201 208 202 209 fRun = (MRawRunHeader*)pList->FindObject("MRawRunHeader"); … … 337 344 Double_t cosal = - (a3 * sin(thetaTel) + a1 * cos(thetaTel) * cos(phiTel)) * denom; 338 345 Double_t sinal = a1 * sin(phiTel) * denom; 346 347 fObservatory->RotationAngle(thetaTel, phiTel, sinal, cosal); 339 348 340 349 //*fLog << "thetaTel, phiTel, cosal, sinal = " << thetaTel << ", " -
trunk/MagicSoft/Mars/manalysis/MSourcePosfromStarPos.h
r3274 r3488 32 32 class MGeomCam; 33 33 class MSrcPosCam; 34 class MObservatory; 34 35 35 36 … … 39 40 const MRawRunHeader *fRun; //! 40 41 const MGeomCam *fGeomCam; //! Camera Geometry used to calculate Hillas 41 MMcEvt *fMcEvt; 42 MSrcPosCam *fSrcPos; //! 42 MMcEvt *fMcEvt; //! 43 MSrcPosCam *fSrcPos; //! 44 MObservatory *fObservatory; //! 43 45 44 46 ifstream *fIn; // input file
Note:
See TracChangeset
for help on using the changeset viewer.