Changeset 19590


Ignore:
Timestamp:
09/02/19 18:21:39 (5 years ago)
Author:
tbretz
Message:
Allow for generalized optics not only reflectors.
Location:
trunk/Mars/msimreflector
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/msimreflector/MSimRays.cc

    r14153 r19590  
    5757#include "MPhotonData.h"
    5858
    59 #include "MReflector.h"
     59#include "MOptics.h"
    6060#include "MPointingPos.h"
    6161
     
    9191        return kFALSE;
    9292
    93     fReflector = (MReflector*)pList->FindObject(fNameReflector, "MReflector");
     93    fReflector = (MOptics*)pList->FindObject(fNameReflector, "MOptics");
    9494    if (!fReflector)
    9595    {
    96         *fLog << inf << fNameReflector << " [MReflector] not found..." << endl;
     96        *fLog << inf << fNameReflector << " [MOptics] not found..." << endl;
    9797        return kFALSE;
    9898    }
  • trunk/Mars/msimreflector/MSimRays.h

    r9903 r19590  
    1212class MCorsikaEvtHeader;
    1313
    14 class MReflector;
     14class MOptics;
    1515
    1616class MSimRays : public MTask
     
    1818private:
    1919    MPhotonEvent  *fEvt;        //! Event storing the photons
    20     MReflector    *fReflector;  //! Geometry of the reflector
     20    MOptics       *fReflector;  //! Geometry of the reflector
    2121    MPointingPos  *fPointPos;   //! Direction the telescope is pointing to
    2222    MPointingPos  *fSource;     //! Direction the rays are coming from relative to the telescope
Note: See TracChangeset for help on using the changeset viewer.