Changeset 9354 for trunk/MagicSoft


Ignore:
Timestamp:
02/19/09 20:40:54 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r9353 r9354  
    8989     - Use MPointingPos instead of PointingCorsika, ARRANG already
    9090       rotates all vectors accrodingly
     91
     92   * msim/MSimPointingPos.cc:
     93     - don't write PoinitingCorsika anymore. ARRANg already includes
     94       the rotation
    9195
    9296
  • trunk/MagicSoft/Mars/msim/MSimPointingPos.cc

    r9336 r9354  
    8383Int_t MSimPointingPos::PreProcess(MParList *pList)
    8484{
    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;
    8888
    8989    fPointingLocal = (MPointingPos*)pList->FindCreateObj("MPointingPos");
     
    165165
    166166    // 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());
    169169
    170170    // Calculate incident angle between magnetic field direction
  • trunk/MagicSoft/Mars/msimreflector/MSimReflector.cc

    r9349 r9354  
    147147    }
    148148
    149     fPointing = (MPointingPos*)pList->FindObject("PointingCorsika", "MPointingPos");
     149    fPointing = (MPointingPos*)pList->FindObject(/*"PointingCorsika",*/ "MPointingPos");
    150150    if (!fPointing)
    151151    {
     
    297297
    298298    if (fSigmaPSF>0)
    299         n += SimPSF(n, fFocalLength, fSigmaPSF);
     299        n += SimPSF(n, fFocalLength, fSigmaPSF/10); // Convert from mm to cm
    300300
    301301    // Changes also the sign of the z-direction of flight
Note: See TracChangeset for help on using the changeset viewer.