Changeset 19599 for trunk/Mars/msimreflector
- Timestamp:
- 09/02/19 20:24:03 (5 years ago)
- Location:
- trunk/Mars/msimreflector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/msimreflector/MSimRays.cc
r19590 r19599 70 70 MSimRays::MSimRays(const char* name, const char *title) 71 71 : fEvt(0), fReflector(0), fPointPos(0), fSource(0), 72 fNumPhotons(1000), fHeight(-1), 72 fNumPhotons(1000), fHeight(-1), fWavelengthMin(-1), fWavelengthMax(-1), 73 73 fNameReflector("MReflector"), fNamePointPos("MPointingPos"), 74 74 fNameSource("Source") … … 209 209 dat.SetDirection(w); 210 210 211 if (fWavelengthMin>0 && fWavelengthMax>0) 212 dat.SimWavelength(fWavelengthMin, fWavelengthMax); 213 211 214 idx++; 212 215 } -
trunk/Mars/msimreflector/MSimRays.h
r19590 r19599 25 25 Double_t fHeight; //[km] Height of point source (<=0 means infinity) 26 26 27 Double_t fWavelengthMin; 28 Double_t fWavelengthMax; 29 27 30 TString fNameReflector; 28 31 TString fNamePointPos; … … 46 49 void SetNumPhotons(UInt_t n) { fNumPhotons=n; } 47 50 51 void SetWavelengthRange(Double_t min, Double_t max) { fWavelengthMin = min; fWavelengthMax = max; } 52 48 53 // MSimRays 49 54 ClassDef(MSimRays, 0) // Task to simulate a source for rays
Note:
See TracChangeset
for help on using the changeset viewer.