Ignore:
Timestamp:
02/19/09 15:38:48 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcorsika
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mcorsika/MCorsikaRunHeader.cc

    r9347 r9348  
    251251{
    252252    *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;
    255255    if (fNumEvents>0)
    256         *fLog << "Num Events:    " << fNumEvents << endl;
    257     *fLog << "Obs Level:    ";
     256        *fLog << "Num Events:     " << fNumEvents << endl;
     257    *fLog << "Obs Level:     ";
    258258    for (Byte_t i=0; i<fNumObsLevel; i++)
    259259        *fLog << " " << fObsLevel[i]/100. << "m";
    260260    *fLog << endl;
    261261
    262     *fLog << "MagneticField: X/Z=(" << fMagneticFieldX << "/";
     262    *fLog << "MagneticField:  X/Z=(" << fMagneticFieldX << "/";
    263263    *fLog << fMagneticFieldZ << ")  Az=" << fMagneticFieldAz*TMath::RadToDeg() << "deg" << endl;
    264264
    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;
    267267
    268268    if (fViewConeOuterAngle>0)
    269         *fLog << "ViewCone:      " << fViewConeInnerAngle << "deg-" << fViewConeOuterAngle << "deg" << endl;
     269        *fLog << "ViewCone:       " << fViewConeInnerAngle << "deg-" << fViewConeOuterAngle << "deg" << endl;
    270270
    271271    if (fZdMax>=0)
    272272    {
    273         *fLog << "Zd/Az:         " << fZdMin << "deg";
     273        *fLog << "Zd/Az:          " << fZdMin << "deg";
    274274        if (fZdMin==fZdMax)
    275275            *fLog << " (fixed)";
     
    284284    }
    285285
    286     *fLog << "Atm.Coeff A:  ";
     286    *fLog << "Atm.Coeff A:   ";
    287287    for (int i=0; i<5; i++)
    288288        *fLog << " " << fAtmosphericCoeffA[i];
    289289    *fLog << endl;
    290     *fLog << "Atm.Coeff B:  ";
     290    *fLog << "Atm.Coeff B:   ";
    291291    for (int i=0; i<5; i++)
    292292        *fLog << " " << fAtmosphericCoeffB[i];
    293293    *fLog << endl;
    294     *fLog << "Atm.Coeff C:  ";
     294    *fLog << "Atm.Coeff C:   ";
    295295    for (int i=0; i<5; i++)
    296296        *fLog << " " << fAtmosphericCoeffC[i];
    297297    *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  
    102102    Float_t GetObsLevel(UInt_t i=0) const { return i>9 ? -1 : fObsLevel[i]; }
    103103
    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; }
    105105
    106106    static Double_t EarthRadius() { return fgEarthRadius; }
Note: See TracChangeset for help on using the changeset viewer.