Ignore:
Timestamp:
01/06/09 13:07:00 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mcorsika
Files:
4 edited

Legend:

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

    r9186 r9212  
    140140    fin.seekg(1088-273*4, ios::cur);
    141141
    142     // f[76] Cherenkov flag:
    143     //        bit(1) : CERENKOV option compiled in
    144     //        bit(2) : IACT option compiled in
    145     //        bit(3) : CEFFIC option compiled in
    146     //        bit(4) : ATMEXT option compiled in
    147     //        bit(5) : ATMEXT option used with refaction enabled
    148     //        bit(6) : VOLUMEDET option compiled in
    149     //        bit(7) : CURVED option compiled in
    150     //        bit(9) : SLATN option compiled in
    151     //        11-21  : table number for externam athmosphere (but<1024)
    152     // f[78] Curved athmosphere? (0=flat, 1=curved)
    153 
    154     // f[80] lower edge of theta in °
    155     // f[81] upper edge of theta in °
    156     // f[82] lower edge of phi   in °
    157     // f[83] upper edge of phi   in °
    158     // f[84] cherenkov bunch size
    159 
    160     // f[93] flag for additinal muon information of particle output file
    161 
    162     // f[95] Cherenkov bandwidth lower end in nm
    163     // f[96] Cherenkov bandwidth upper end in nm
    164 
    165     // f[97] Numbr i of uses of each cherenkov event
    166     // f[145] Muon multiple scattering flag
    167     // f[152] !! inner angle of view cone (°)
    168     // f[153] !! outer angle of view cone (°)
    169     // f[156] altitude of horizontal shower axis
    170 
    171142    return !fin.eof();
    172143}
  • trunk/MagicSoft/Mars/mcorsika/MCorsikaRead.cc

    r9186 r9212  
    452452            return rc;
    453453    }
    454     return kTRUE; 
     454    return kTRUE;
    455455}
    456456
  • trunk/MagicSoft/Mars/mcorsika/MCorsikaRunHeader.cc

    r9186 r9212  
    172172    // -------------------- Read first event header -------------------
    173173
     174    // f[76] Cherenkov flag:
     175    //        bit(1) : CERENKOV option compiled in
     176    //        bit(2) : IACT option compiled in
     177    //        bit(3) : CEFFIC option compiled in
     178    //        bit(4) : ATMEXT option compiled in
     179    //        bit(5) : ATMEXT option used with refaction enabled
     180    //        bit(6) : VOLUMEDET option compiled in
     181    //        bit(7) : CURVED option compiled in
     182    //        bit(9) : SLATN option compiled in
     183    //        11-21  : table number for externam athmosphere (but<1024)
     184    // f[78] Curved athmosphere? (0=flat, 1=curved)
     185
     186    // f[80] lower edge of theta in °
     187    // f[81] upper edge of theta in °
     188    // f[82] lower edge of phi   in °
     189    // f[83] upper edge of phi   in °
     190    // f[84] cherenkov bunch size
     191
     192    // f[93] flag for additinal muon information of particle output file
     193
     194    // f[95] Cherenkov bandwidth lower end in nm
     195    // f[96] Cherenkov bandwidth upper end in nm
     196
     197    // f[97] Numbr i of uses of each cherenkov event
     198    // f[145] Muon multiple scattering flag
     199    // f[152] !! inner angle of view cone (°)
     200    // f[153] !! outer angle of view cone (°)
     201    // f[156] altitude of horizontal shower axis
     202
    174203    char evth[4];
    175204    fin.read(evth, 4);
     
    200229    fAzMin = 180-g[81];
    201230    fAzMax = 180-g[82];
     231
     232    fWavelengthMin = g[95];
     233    fWavelengthMax = g[96];
    202234
    203235    fViewConeInnerAngle = g[151];
  • trunk/MagicSoft/Mars/mcorsika/MCorsikaRunHeader.h

    r9186 r9212  
    3333    Float_t  fAzMax;                     // [rad] Azimuth (north=0; west=90)
    3434
     35    Float_t fWavelengthMin;      // [nm] Wavelength bandwidth lo edge
     36    Float_t fWavelengthMax;      // [nm] Wavelength bandwidth up edge
     37
    3538    //Float_t  fImpactMax;              // [cm] Maximum simulated impact
    3639
     
    5053    Float_t GetAzMax() const { return fAzMax; }
    5154
     55    Float_t GetWavelengthMin() const { return fWavelengthMin; }
     56    Float_t GetWavelengthMax() const { return fWavelengthMax; }
     57
    5258    //Float_t GetImpactMax() const { return fImpactMax; }
    5359
Note: See TracChangeset for help on using the changeset viewer.