Ignore:
Timestamp:
11/18/02 10:46:48 (22 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/include-Classes/MMcFormat/MMcCorsikaRunHeader.cc

    r1628 r1629  
    4747    fTitle = title ? title : "Translation of the CORSIKA header";
    4848
    49     fRunNumber = 0.0;
    50     fDate = 0.0;
    51     fCorsika_version = 0.0;
    52     fNumObsLev = 0.0;
    53     for(int i=0;i<10;i++)
    54         fHeightLev[i]=0.0;
    55     fSlopeSpec = 0.0;
    56     fELowLim = 0.0;
    57     fEUppLim = 0.0;
    58     fEGS4_flag = 0.0;
    59     fNKG_flag = 0.0;
    60     fEcutoffh = 0.0;
    61     fEcutoffm = 0.0;
    62     fEcutoffe = 0.0;
    63     fEcutoffg = 0.0;
     49    fRunNumber = 0;
     50    fDate = 0;
     51    fCorsikaVersion = 0;
     52    fNumObsLev = 0;
    6453
    65     for(int i=0;i<50;i++)  fC[i] = 0.0;
    66     for(int i=0;i<40;i++)  fCKA[i] = 0.0;
    67     for(int i=0;i<5 ;i++)  fCETA[i] = 0.0;
    68     for(int i=0;i<11;i++)  fCSTRBA[i] = 0.0;
    69     for(int i=0;i<5;i++){
    70         fAATM[i] = 0.0;
    71         fBATM[i] = 0.0;
    72         fCATM[i] = 0.0;
     54    for (int i=0; i<10; i++)
     55        fHeightLev[i]=0;
     56
     57    fSlopeSpec = 0;
     58    fELowLim = 0;
     59    fEUppLim = 0;
     60    fEGS4flag = 0;
     61    fNKGflag = 0;
     62    fEcutoffh = 0;
     63    fEcutoffm = 0;
     64    fEcutoffe = 0;
     65    fEcutoffg = 0;
     66
     67    for(int i=0; i<50; i++)  fC[i] = 0;
     68    for(int i=0; i<40; i++)  fCKA[i] = 0;
     69    for(int i=0; i<5; i++)  fCETA[i] = 0;
     70    for(int i=0; i<11; i++)  fCSTRBA[i] = 0;
     71    for(int i=0; i<5; i++)
     72    {
     73        fAATM[i] = 0;
     74        fBATM[i] = 0;
     75        fCATM[i] = 0;
    7376    }
    74     for(int i=0;i<4;i++)  fNFL[i] = 0.0;
     77    for (int i=0;i<4; i++)  fNFL[i] = 0;
    7578
    7679}
     
    105108    fRunNumber = runnumber;
    106109    fDate = date;
    107     fCorsika_version = vers;
     110    fCorsikaVersion = vers;
    108111    fNumObsLev = numobslev;
    109     for(int i=0;i<10;i++)
     112
     113    for (int i=0; i<10; i++)
    110114        fHeightLev[i]=height[i];
     115
    111116    fSlopeSpec = slope;
    112117    fELowLim = elow;
    113118    fEUppLim = eupp;
    114     fEGS4_flag = egs4;
    115     fNKG_flag = nkg;
     119    fEGS4flag = egs4;
     120    fNKGflag = nkg;
    116121    fEcutoffh = eh;
    117122    fEcutoffm = em;
     
    119124    fEcutoffg = eg;
    120125
    121     for(int i=0;i<50;i++)  fC[i] = c[i];
    122     for(int i=0;i<40;i++)  fCKA[i] = cka[i];
    123     for(int i=0;i<5 ;i++)  fCETA[i] = ceta[i];
    124     for(int i=0;i<11;i++)  fCSTRBA[i] = cstrba[i];
    125     for(int i=0;i<5;i++){
     126    for (int i=0; i<50; i++)  fC[i] = c[i];
     127    for (int i=0; i<40; i++)  fCKA[i] = cka[i];
     128    for (int i=0; i<5 ; i++)  fCETA[i] = ceta[i];
     129    for (int i=0; i<11; i++)  fCSTRBA[i] = cstrba[i];
     130    for (int i=0; i<5; i++)
     131    {
    126132        fAATM[i] = aatm[i];
    127133        fBATM[i] = batm[i];
    128134        fCATM[i] = catm[i];
    129        }
    130     for(int i=0;i<4;i++)  fNFL[i] = nfl[i];
     135    }
     136    for (int i=0; i<4; i++)  fNFL[i] = nfl[i];
    131137}
    132138
Note: See TracChangeset for help on using the changeset viewer.