Changeset 9260 for trunk


Ignore:
Timestamp:
01/25/09 13:50:51 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/msimreflector
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msimreflector/MSimReflector.cc

    r9252 r9260  
    22!
    33! *
    4 ! * This file is part of MARS, the MAGIC Analysis and Reconstruction
     4! * This file is part of CheObs, the Modular Analysis and Reconstruction
    55! * Software. It is distributed to you in the hope that it can be a useful
    66! * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
     
    99! * Permission to use, copy, modify and distribute this software and its
    1010! * documentation for any purpose is hereby granted without fee,
    11 ! * provided that the above copyright notice appear in all copies and
     11! * provided that the above copyright notice appears in all copies and
    1212! * that both that copyright notice and this permission notice appear
    1313! * in supporting documentation. It is provided "as is" without express
     
    1616!
    1717!
    18 !   Author(s): Thomas Bretz  11/2008 <mailto:tbretz@astro.uni-wuerzburg.de>
     18!   Author(s): Thomas Bretz,  1/2009 <mailto:tbretz@astro.uni-wuerzburg.de>
    1919!
    20 !   Copyright: Software Development, 2000-2008
     20!   Copyright: CheObs Software Development, 2000-2009
    2121!
    2222!
     
    6767    : fEvt(0), fMirror0(0), fMirror1(0), fMirror2(0), fMirror3(0),
    6868    fMirror4(0), /*fRunHeader(0),*/ fEvtHeader(0), fReflector(0),
    69     fGeomCam(0), fPointing(0)
     69    fGeomCam(0), fPointing(0), fDetectorMargin(0)
    7070{
    7171    fName  = name  ? name  : "MSimReflector";
     
    522522        *static_cast<MPhotonData*>(cpy4.UncheckedAt(cnt[4]++)) = *dat;
    523523
     524        // FIXME: It make make sense to move this out of this class
     525        // It is detector specific not reflector specific
    524526        // Discard all photons which definitly can not hit the detector surface
    525         if (!fGeomCam->HitDetector(p))
     527        if (!fGeomCam->HitDetector(p, fDetectorMargin))
    526528            continue;
    527529
  • trunk/MagicSoft/Mars/msimreflector/MSimReflector.h

    r9236 r9260  
    3232    TString fNameGeomCam;        // Name of the geometry container storing the APD gemeotry
    3333
     34    Double_t fDetectorMargin;    // A margin around the detector (MGeomCam::HitCamera) in which photons are also stored
     35
    3436    // MTask
    3537    Int_t PreProcess(MParList *pList);
Note: See TracChangeset for help on using the changeset viewer.