Changeset 3094


Ignore:
Timestamp:
02/11/04 16:35:05 (21 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r3090 r3094  
    99       one FADC slice too little, thus the normalization w.r.t. pedestals
    1010       was wrong. Now corrected.
     11
     12   * manalysis/MExtractSignal.cc
     13   * manalysis/MExtractSignal2.cc
     14     - when "WARNING - Lo Gain saturated" occurs, display also the corr.
     15       pixel numbers.
    1116
    1217
  • trunk/MagicSoft/Mars/manalysis/MExtractSignal.cc

    r3032 r3094  
    6060//
    6161MExtractSignal::MExtractSignal(const char *name, const char *title)
    62   : fSaturationLimit(fgSaturationLimit)
     62    : fSaturationLimit(fgSaturationLimit)
    6363{
    6464
     
    151151    fSignals->Clear();
    152152
    153     UInt_t sat=0;
     153    UInt_t  sat=0;
     154    TString satpixels;
    154155
    155156    while (pixel.Next())
     
    162163
    163164        if (satlo)
     165          {
    164166            sat++;
     167            satpixels += Form("%d%s",pixel.GetPixelId()," ");
     168          }
     169       
    165170
    166171        const Int_t pixid = pixel.GetPixelId();
     
    181186
    182187    if (sat)
    183         *fLog << warn << "WARNING - Lo Gain saturated in " << sat << " pixels." << endl;
     188      *fLog << warn << "WARNING - Lo Gain saturated in " << sat << " pixels: " << satpixels << endl;
    184189
    185190    fSignals->SetReadyToSave();
  • trunk/MagicSoft/Mars/manalysis/MExtractSignal2.cc

    r3034 r3094  
    178178    fSignals->Clear();
    179179
     180    TString satpixels;
    180181    Int_t sat=0;
     182
    181183    while (pixel.Next())
    182184    {
     
    188190        FindSignal(pixel.GetLoGainSamples()+fLoGainFirst, fNumLoGainSamples, sumlo, satlo);
    189191        if (satlo)
     192          {
    190193            sat++;
    191 
     194            satpixels += Form("%d%s",pixel.GetPixelId()," ");
     195          }
     196       
    192197        //
    193198        // Take correspodning pedestal
     
    214219    //
    215220    if (sat)
    216         *fLog << warn << "WARNING - Lo Gain saturated in " << sat << " pixels." << endl;
     221      *fLog << warn << "WARNING - Lo Gain saturated in " << sat << " pixels: " << satpixels << endl;
    217222
    218223    fSignals->SetReadyToSave();
Note: See TracChangeset for help on using the changeset viewer.