Changeset 2259 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
07/01/03 17:12:50 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r2258 r2259  
    11                                                 -*-*- END OF LINE -*-*-
     2
     3 2003/07/01: Thomas Bretz
     4
     5  * manalysis/MCerPhotAnal2.cc:
     6    - fixed some problems with the lo-gains
     7 
     8  * mraw/MRawEvtPixelIter.cc:
     9    - Determin the maximum sample of the lo gains from the end.
     10
     11
    212
    313 2003/07/01: Abelardo Moralejo
     
    1525       degrees.
    1626
     27
     28
    1729 2003/07/01: Wolfgang Wittek
    1830
    19    * mhist/MHSigmaTheta.cc
     31   * manalysis/MSigmabar.cc, manalysis/MCT1PadSchweizer.cc,
     32     manalysis/MCT1PadONOFF.cc, mhist/MHSigmaTheta.cc:
    2033     - change code because GetPixRatio returns area(pixel_zero)/area(pixel)
    2134                                       and not area(pixel)/area(pixel_zero)
    2235
    23    * manalysis/MSigmabar.cc
    24                MCT1PadSchweizer.cc
    25                MCT1PadONOFF.cc
    26      - change code because GetPixRatio returns area(pixel_zero)/area(pixel)
    27                                        and not area(pixel)/area(pixel_zero)
    28 
    29    * macros/CT1Analysis.C
    30             ONOFFCT1Analysis.C
     36   * macros/CT1Analysis.C, macros/ONOFFCT1Analysis.C
    3137     - current versions of CT1 macros
    3238
    33    * macros/unfold.C
    34             fluxunfold.C
     39   * macros/unfold.C, macros/fluxunfold.C
    3540     - macros for testing the unfolding within root
    3641
  • trunk/MagicSoft/Mars/manalysis/MCerPhotAnal2.cc

    r2249 r2259  
    147147        for (int i=0; i<num; i++)
    148148        {
    149             if (ptr[i]>250)
     149            if (ptr[i]==255)
    150150                sat++;
    151             if (sat>1)
    152                 continue;
     151            //if (sat>1)
     152            //    continue;
    153153
    154154            if (i<max-fBefore || i>max+fAfter)
     
    176176            sumsb = 0;   // sum signal+background
    177177            sqsb  = 0;   // sum sqares signal+background
    178             sumb  = 0;   // sum background
    179             sqb   = 0;   // sum sqares background
    180 
    181             nb = 0;
     178            //sumb  = 0;   // sum background
     179            //sqb   = 0;   // sum sqares background
     180
     181            //nb = 0;
    182182            nsb = 0;
    183183            for (int i=0; i<num; i++)
     
    187187                if (i<max-fBefore || i>max+fAfter)
    188188                {
     189                    /*
    189190                    sumb += ptr[i];
    190191                    sqb  += ptr[i]*ptr[i];
    191                     nb++;
     192                    nb++;*/
    192193                }
    193194                else
     
    216217
    217218        if (sat>1)
    218             s*=9;
     219            s*=10; // tgb has measured 9, but Florian said it's 10.
    219220
    220221        Int_t idx = pixel.GetPixelId();
  • trunk/MagicSoft/Mars/mraw/MRawEvtPixelIter.cc

    r2236 r2259  
    235235    Byte_t maxi = 0;
    236236
    237     for (int i=0; i<fNumLoGainSamples; i++)
     237    for (int i=fNumLoGainSamples-1; i>=0; i--)
    238238        if (fLoGainPos[i]>max)
    239239        {
Note: See TracChangeset for help on using the changeset viewer.