Changeset 9307 for trunk/MagicSoft
- Timestamp:
- 02/09/09 11:25:21 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/msimreflector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/msimreflector/MSimReflector.cc
r9285 r9307 27 27 // MSimReflector 28 28 // 29 // fDetectorMargin is a margin (in mm) which is given to the 30 // MGeomCam::HitDetector. It should define a margin around the area 31 // defined in HitDetector on the focal plane in which photons are kept. 32 // Usually this can be 0 because photons not hitting the detector are 33 // obsolete except they can later be "moved" inside the detector, e.g. 34 // if you use MSimPSF to emulate a PSF by moving photons randomly 35 // on the focal plane. 36 // 29 37 ////////////////////////////////////////////////////////////////////////////// 30 38 #include "MSimReflector.h" … … 554 562 } 555 563 564 // -------------------------------------------------------------------------- 565 // 566 // DetectorMargin: 0 567 // 568 Int_t MSimReflector::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 569 { 570 Bool_t rc = kFALSE; 571 if (IsEnvDefined(env, prefix, "DetectorMargin", print)) 572 { 573 rc = kTRUE; 574 fDetectorMargin = GetEnvValue(env, prefix, "DetectorMargin", 0); 575 } 576 577 return rc; 578 } -
trunk/MagicSoft/Mars/msimreflector/MSimReflector.h
r9260 r9307 34 34 Double_t fDetectorMargin; // A margin around the detector (MGeomCam::HitCamera) in which photons are also stored 35 35 36 // MParContainer 37 Int_t ReadEnv(const TEnv &env, TString prefix, Bool_t print); 38 36 39 // MTask 37 40 Int_t PreProcess(MParList *pList);
Note:
See TracChangeset
for help on using the changeset viewer.