Changeset 3488 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 03/12/04 16:13:05 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.