Changeset 9354
- Timestamp:
- 02/19/09 20:40:54 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r9353 r9354 89 89 - Use MPointingPos instead of PointingCorsika, ARRANG already 90 90 rotates all vectors accrodingly 91 92 * msim/MSimPointingPos.cc: 93 - don't write PoinitingCorsika anymore. ARRANg already includes 94 the rotation 91 95 92 96 -
trunk/MagicSoft/Mars/msim/MSimPointingPos.cc
r9336 r9354 83 83 Int_t MSimPointingPos::PreProcess(MParList *pList) 84 84 { 85 fPointingCorsika = (MPointingPos*)pList->FindCreateObj("MPointingPos", "PointingCorsika");86 if (!fPointingCorsika)87 return kFALSE;85 // fPointingCorsika = (MPointingPos*)pList->FindCreateObj("MPointingPos", "PointingCorsika"); 86 // if (!fPointingCorsika) 87 // return kFALSE; 88 88 89 89 fPointingLocal = (MPointingPos*)pList->FindCreateObj("MPointingPos"); … … 165 165 166 166 // Setup the pointing position 167 fPointingCorsika->SetLocalPosition(zd, az);168 fPointingLocal->SetLocalPosition(zd, az+fRunHeader->GetMagneticFieldAz() );167 // fPointingCorsika->SetLocalPosition(zd, az/*+fRunHeader->GetMagneticFieldAz()*TMath::RadToDeg()*/); 168 fPointingLocal->SetLocalPosition(zd, az+fRunHeader->GetMagneticFieldAz()*TMath::RadToDeg()); 169 169 170 170 // Calculate incident angle between magnetic field direction -
trunk/MagicSoft/Mars/msimreflector/MSimReflector.cc
r9349 r9354 147 147 } 148 148 149 fPointing = (MPointingPos*)pList->FindObject( "PointingCorsika","MPointingPos");149 fPointing = (MPointingPos*)pList->FindObject(/*"PointingCorsika",*/ "MPointingPos"); 150 150 if (!fPointing) 151 151 { … … 297 297 298 298 if (fSigmaPSF>0) 299 n += SimPSF(n, fFocalLength, fSigmaPSF );299 n += SimPSF(n, fFocalLength, fSigmaPSF/10); // Convert from mm to cm 300 300 301 301 // Changes also the sign of the z-direction of flight
Note:
See TracChangeset
for help on using the changeset viewer.