Changeset 19853 for trunk/Mars
- Timestamp:
- 11/01/19 15:12:38 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/msimcamera/MSimRandomPhotons.cc
r19542 r19853 144 144 : fGeom(0), fEvt(0), fStat(0), /*fEvtHeader(0),*/ fRunHeader(0), 145 145 fRates(0), fSimulateWavelength(kFALSE), fNameGeomCam("MGeomCam"), 146 fFileNameNSB("resmc/night-sky-la-palma.txt"),fForce(kFALSE)146 /*fFileNameNSB("resmc/night-sky-la-palma.txt"),*/ fForce(kFALSE) 147 147 { 148 148 fName = name ? name : "MSimRandomPhotons"; … … 244 244 const Float_t wmin = fRunHeader && fRunHeader->GetWavelengthMin()>s1->GetXmin() ? fRunHeader->GetWavelengthMin() : s1->GetXmin(); 245 245 const Float_t wmax = fRunHeader && fRunHeader->GetWavelengthMax()<s1->GetXmax() ? fRunHeader->GetWavelengthMax() : s1->GetXmax(); 246 247 if (wmax-wmin<10 || wmax-wmin>=1000) 248 { 249 *fLog << err << "Wavelength range [" << wmin << ";" << wmax << "] out of range [10;1000)" << endl; 250 if (fRunHeader) 251 *fLog << " MCorsikaRunHeader: [" << fRunHeader->GetWavelengthMin() << ";" << fRunHeader->GetWavelengthMax() << "]" << endl; 252 if (fRunHeader) 253 *fLog << " PhotonDetectionEfficiency: [" << s1->GetXmin() << ";" << s1->GetXmax() << "]" << endl; 254 return kFALSE; 255 } 246 256 247 257 const Int_t min = TMath::FloorNint(wmin);
Note:
See TracChangeset
for help on using the changeset viewer.