Changeset 9348 for trunk/MagicSoft/Mars/mcorsika
- Timestamp:
- 02/19/09 15:38:48 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mcorsika
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcorsika/MCorsikaRunHeader.cc
r9347 r9348 251 251 { 252 252 *fLog << all << endl; 253 *fLog << "Run Number: " << fRunNumber << " (" << fRunStart.GetStringFmt("%d.%m.%Y") << ", V" << fProgramVersion << ")" << endl;254 *fLog << "Particle ID: " << MMcEvt::GetParticleName(fParticleID) << endl;253 *fLog << "Run Number: " << fRunNumber << " (" << fRunStart.GetStringFmt("%d.%m.%Y") << ", V" << fProgramVersion << ")" << endl; 254 *fLog << "Particle ID: " << MMcEvt::GetParticleName(fParticleID) << endl; 255 255 if (fNumEvents>0) 256 *fLog << "Num Events: " << fNumEvents << endl;257 *fLog << "Obs Level: ";256 *fLog << "Num Events: " << fNumEvents << endl; 257 *fLog << "Obs Level: "; 258 258 for (Byte_t i=0; i<fNumObsLevel; i++) 259 259 *fLog << " " << fObsLevel[i]/100. << "m"; 260 260 *fLog << endl; 261 261 262 *fLog << "MagneticField: X/Z=(" << fMagneticFieldX << "/";262 *fLog << "MagneticField: X/Z=(" << fMagneticFieldX << "/"; 263 263 *fLog << fMagneticFieldZ << ") Az=" << fMagneticFieldAz*TMath::RadToDeg() << "deg" << endl; 264 264 265 *fLog << "Spectrum: Slope=" << fSlopeSpectrum << " (" << fEnergyMin << "GeV-" << fEnergyMax << "GeV)" << endl;266 *fLog << "Wavelength: " << fWavelengthMin << "nm - " << fWavelengthMax << "nm" << endl;265 *fLog << "Spectrum: Slope=" << fSlopeSpectrum << " (" << fEnergyMin << "GeV-" << fEnergyMax << "GeV)" << endl; 266 *fLog << "Wavelength: " << fWavelengthMin << "nm - " << fWavelengthMax << "nm" << endl; 267 267 268 268 if (fViewConeOuterAngle>0) 269 *fLog << "ViewCone: " << fViewConeInnerAngle << "deg-" << fViewConeOuterAngle << "deg" << endl;269 *fLog << "ViewCone: " << fViewConeInnerAngle << "deg-" << fViewConeOuterAngle << "deg" << endl; 270 270 271 271 if (fZdMax>=0) 272 272 { 273 *fLog << "Zd/Az: " << fZdMin << "deg";273 *fLog << "Zd/Az: " << fZdMin << "deg"; 274 274 if (fZdMin==fZdMax) 275 275 *fLog << " (fixed)"; … … 284 284 } 285 285 286 *fLog << "Atm.Coeff A: ";286 *fLog << "Atm.Coeff A: "; 287 287 for (int i=0; i<5; i++) 288 288 *fLog << " " << fAtmosphericCoeffA[i]; 289 289 *fLog << endl; 290 *fLog << "Atm.Coeff B: ";290 *fLog << "Atm.Coeff B: "; 291 291 for (int i=0; i<5; i++) 292 292 *fLog << " " << fAtmosphericCoeffB[i]; 293 293 *fLog << endl; 294 *fLog << "Atm.Coeff C: ";294 *fLog << "Atm.Coeff C: "; 295 295 for (int i=0; i<5; i++) 296 296 *fLog << " " << fAtmosphericCoeffC[i]; 297 297 *fLog << endl; 298 } 299 298 299 *fLog << "Options used: "; 300 if (Has(kCerenkov)) 301 *fLog << " CERENKOV"; 302 if (Has(kIact)) 303 *fLog << " IACT"; 304 if (Has(kCeffic)) 305 *fLog << " CEFFIC"; 306 if (Has(kAtmext)) 307 *fLog << " ATMEXT"; 308 if (Has(kRefraction)) 309 *fLog << " AtmRefraction"; 310 if (Has(kVolumedet)) 311 *fLog << " VOLUMEDET"; 312 if (Has(kCurved)) 313 *fLog << " CURVED"; 314 if (Has(kSlant)) 315 *fLog << " SLANT"; 316 *fLog << endl; 317 } 318 -
trunk/MagicSoft/Mars/mcorsika/MCorsikaRunHeader.h
r9347 r9348 102 102 Float_t GetObsLevel(UInt_t i=0) const { return i>9 ? -1 : fObsLevel[i]; } 103 103 104 Bool_t Has(CerenkovFlag_t opt) { return fCerenkovFlag&opt ? 1 : 0; }104 Bool_t Has(CerenkovFlag_t opt) const { return fCerenkovFlag&opt ? 1 : 0; } 105 105 106 106 static Double_t EarthRadius() { return fgEarthRadius; }
Note:
See TracChangeset
for help on using the changeset viewer.