Changeset 9260
- Timestamp:
- 01/25/09 13:50:51 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/msimreflector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msimreflector/MSimReflector.cc
r9252 r9260 2 2 ! 3 3 ! * 4 ! * This file is part of MARS, the MAGICAnalysis and Reconstruction4 ! * This file is part of CheObs, the Modular Analysis and Reconstruction 5 5 ! * Software. It is distributed to you in the hope that it can be a useful 6 6 ! * and timesaving tool in analysing Data of imaging Cerenkov telescopes. … … 9 9 ! * Permission to use, copy, modify and distribute this software and its 10 10 ! * documentation for any purpose is hereby granted without fee, 11 ! * provided that the above copyright notice appear in all copies and11 ! * provided that the above copyright notice appears in all copies and 12 12 ! * that both that copyright notice and this permission notice appear 13 13 ! * in supporting documentation. It is provided "as is" without express … … 16 16 ! 17 17 ! 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> 19 19 ! 20 ! Copyright: Software Development, 2000-200820 ! Copyright: CheObs Software Development, 2000-2009 21 21 ! 22 22 ! … … 67 67 : fEvt(0), fMirror0(0), fMirror1(0), fMirror2(0), fMirror3(0), 68 68 fMirror4(0), /*fRunHeader(0),*/ fEvtHeader(0), fReflector(0), 69 fGeomCam(0), fPointing(0) 69 fGeomCam(0), fPointing(0), fDetectorMargin(0) 70 70 { 71 71 fName = name ? name : "MSimReflector"; … … 522 522 *static_cast<MPhotonData*>(cpy4.UncheckedAt(cnt[4]++)) = *dat; 523 523 524 // FIXME: It make make sense to move this out of this class 525 // It is detector specific not reflector specific 524 526 // Discard all photons which definitly can not hit the detector surface 525 if (!fGeomCam->HitDetector(p ))527 if (!fGeomCam->HitDetector(p, fDetectorMargin)) 526 528 continue; 527 529 -
trunk/MagicSoft/Mars/msimreflector/MSimReflector.h
r9236 r9260 32 32 TString fNameGeomCam; // Name of the geometry container storing the APD gemeotry 33 33 34 Double_t fDetectorMargin; // A margin around the detector (MGeomCam::HitCamera) in which photons are also stored 35 34 36 // MTask 35 37 Int_t PreProcess(MParList *pList);
Note:
See TracChangeset
for help on using the changeset viewer.