Changeset 19343 for trunk/Mars
- Timestamp:
- 10/30/18 22:12:37 (6 years ago)
- Location:
- trunk/Mars/mcorsika
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mcorsika/MCorsikaRunHeader.cc
r19341 r19343 50 50 // ---------------- 51 51 // + UInt_t fCerenkovFileOption 52 // + UInt_t fHadronModelLowEnergy 53 // + UInt_t fHadronModelHighEnergy 54 // + Float_t fTransitionEnergy 55 // + Bool_t fCurvedAtmosphere 52 56 // + Float_t fEnergyCutoffHadrons 53 57 // + Float_t fEnergyCutoffMuons … … 194 198 fMagneticFieldAz = g[91]; // Azimuth angle of magnetic north expressed in telescope coordinates 195 199 200 fHadronModelLowEnergy = TMath::Nint(g[73]); 201 fHadronModelHighEnergy = TMath::Nint(g[74]); 202 196 203 // WITH rounding: unbelievable! 197 204 fCerenkovFlag = TMath::Nint(g[75]); 198 205 fCerenkovFileOption = TMath::Nint(g[90]); 206 207 fCurvedAtmosphere = TMath::Nint(g[77])==2; 199 208 200 209 fZdMin = g[79]; // lower edge of theta in ° … … 235 244 fViewConeOuterAngle = g[152]; // outer angle of view cone (°) 236 245 246 fTransitionEnergy = g[153]; 247 237 248 return kTRUE; 238 249 } … … 328 339 else 329 340 *fLog << "<off>" << endl; 341 342 *fLog << "Interact.model: "; 343 switch (fHadronModelLowEnergy) 344 { 345 case 1: *fLog << "GEISHA"; break; 346 case 2: *fLog << "UrQMD"; break; 347 case 3: *fLog << "FLUKA"; break; 348 default: *fLog << "<n/a>"; break; 349 } 350 *fLog << " / "; 351 switch (fHadronModelHighEnergy) 352 { 353 case 0: *fLog << "HDPM"; break; 354 case 1: *fLog << "VENUS"; break; 355 case 2: *fLog << "SIBYLL"; break; 356 case 3: *fLog << "QGSJET"; break; 357 case 4: *fLog << "DPMJET"; break; 358 case 5: *fLog << "neXus"; break; 359 case 6: *fLog << "EPOS"; break; 360 default: *fLog << "<n/a>"; break; 361 } 362 *fLog << " [lo/hi], Transition at " << fTransitionEnergy << " GeV" << endl; 330 363 331 364 *fLog << "Options used: "; … … 343 376 *fLog << " VOLUMEDET"; 344 377 if (Has(kCurved)) 345 *fLog << " CURVED" ;378 *fLog << " CURVED" << (fCurvedAtmosphere?"<on>":"<off>"); 346 379 if (Has(kSlant)) 347 380 *fLog << " SLANT"; -
trunk/Mars/mcorsika/MCorsikaRunHeader.h
r19332 r19343 71 71 UInt_t fCerenkovFileOption; // MCERFI 72 72 73 UInt_t fHadronModelLowEnergy; 74 UInt_t fHadronModelHighEnergy; 75 76 Float_t fTransitionEnergy; // [GeV] 77 78 Bool_t fCurvedAtmosphere; 79 73 80 Float_t fEnergyCutoffHadrons; // [GeV] 74 81 Float_t fEnergyCutoffMuons; // [GeV] … … 81 88 Float_t fThinningWeightLimitEM; // EM weight limit: WMAX*WEITRAT 82 89 Float_t fThinningMaxRadius; // [cm] Max radial raius for thinning 90 83 91 84 92 public:
Note:
See TracChangeset
for help on using the changeset viewer.