Ignore:
Timestamp:
03/03/05 12:47:58 (20 years ago)
Author:
domingo
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mtemp/mifae/library
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MDispCalc.cc

    r5963 r6717  
    300300    //      + (p[2] + p[3]*(logsize-fLogSize0))*width/length;
    301301
    302     /*
    303     Double_t disp = p[0] + p[1]*(logsize-fLogSize0) + p[4]*(length-fLength0)
    304       + (p[2] + p[3]*(logsize-fLogSize0))*width/length;
    305     */
     302//    Double_t disp = p[0] + p[1]*(logsize-fLogSize0) + p[4]*(length-fLength0)
     303//      + (p[2] + p[3]*(logsize-fLogSize0))*width/length;
    306304
    307305    //    Double_t disp = p[0] + p[1]*(logsize-fLogSize0) + p[4]*(length-fLength0)
     
    323321    //                    *(1-width/length);
    324322
     323   
    325324    Double_t disp = ( p[0] + p[1]*(logsize-fLogSize0)
    326325                    + p[2]*pow(logsize-fLogSize0,2)
    327326                    + p[3]*pow(logsize-fLogSize0,3)
    328327                    + p[4]*pow(logsize-fLogSize0,4) )
    329                         *( 1/(1+width/length) );
     328                        *( 1./(1.+width/length) );
    330329
    331330    /*
     
    334333                    + p[3]*pow(logsize,3)
    335334                    + p[4]*pow(logsize,4) )
    336                         *( 1/(1+width/length) );
     335                        *( 1./(1.+width/length) );
    337336    */
    338337
  • trunk/MagicSoft/Mars/mtemp/mifae/library/MDispParameters.cc

    r5922 r6717  
    7070    //  these are the default values
    7171
    72     fParameters[0] =  1.0;
    73     fParameters[1] =  0.6;
    74     fParameters[2] = -0.8;
    75     fParameters[3] = -0.8;
    76     fParameters[4] = -1.2;
     72    fParameters[0] =  0.93227;
     73    fParameters[1] =  0.187132;
     74    fParameters[2] = -0.192808;
     75    fParameters[3] =  0.0350143;
     76    fParameters[4] = -0.0110078;
    7777
    7878
     
    8383
    8484    fStepsizes[0] = 0.010;
    85     fStepsizes[1] = 0.006;
    86     fStepsizes[2] = 0.008;
    87     fStepsizes[3] = 0.008;
    88     fStepsizes[4] = 0.012;
     85    fStepsizes[1] = 0.002;
     86    fStepsizes[2] = 0.002;
     87    fStepsizes[3] = 0.0004;
     88    fStepsizes[4] = 0.0001;
    8989}
    9090
Note: See TracChangeset for help on using the changeset viewer.