Changeset 8258 for trunk/MagicSoft/Mars


Ignore:
Timestamp:
01/16/07 14:12:57 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8257 r8258  
    3737     - removed code from Process function
    3838     - increased version number to 7
     39
     40   * msignal/MExtractedSignalPix.h:
     41     - some simple reordering in the class header
    3942
    4043
  • trunk/MagicSoft/Mars/msignal/MExtractedSignalPix.h

    r8154 r8258  
    1818  Byte_t fNumLoGainSaturated;          // Number of how many lo-gain slices saturated
    1919
    20   Byte_t GetNumHiGainSaturated() const { return fNumHiGainSaturated; }
    21   Byte_t GetNumLoGainSaturated() const { return fNumLoGainSaturated; }
    22 
    2320public:
    2421  MExtractedSignalPix(const char* name=NULL, const char* title=NULL);
     
    3936  Float_t GetExtractedSignalLoGainError() const { return fExtractedSignalLoGainError;  }
    4037
     38  Byte_t GetNumHiGainSaturated()          const { return fNumHiGainSaturated; }
     39  Byte_t GetNumLoGainSaturated()          const { return fNumLoGainSaturated; }
     40
    4141  Bool_t IsHiGainSaturated()              const { return fNumHiGainSaturated>0;        }
    4242  Bool_t IsLoGainSaturated()              const { return fNumLoGainSaturated>0;        }
  • trunk/MagicSoft/Mars/msignal/MExtractor.cc

    r8154 r8258  
    6464//End_Html
    6565//
     66//
    6667// Class Version 6:
    67 //  +Float_t fResolutionPerPheHiGain; // Extractor-dependent charge resolution per phe for high-gain (see TDAS-0502).
    68 //  +Float_t fResolutionPerPheLoGain; // Extractor-dependent charge resolution per phe for low-gain  (see TDAS-0502).
     68// ----------------
     69//  + Float_t fResolutionPerPheHiGain; // Extractor-dependent charge resolution per phe for high-gain (see TDAS-0502).
     70//  + Float_t fResolutionPerPheLoGain; // Extractor-dependent charge resolution per phe for low-gain  (see TDAS-0502).
     71//
     72// Class Version 7:
     73// ----------------
     74//  - Byte_t fHiLoLast;                // Number of slices in fLoGainSamples counted for the High-Gain signal
    6975//
    7076//
     
    119125// - fNoiseCalculation to kFALSE
    120126//
    121 // Call:
    122 // -  AddToBranchList("MRawEvtData.*")
    123 //
    124127MExtractor::MExtractor(const char *name, const char *title)
    125128    : fResolutionPerPheHiGain(0), fResolutionPerPheLoGain(0),
     
    131134    fTitle = title ? title : "Base class for signal extractors";
    132135
    133     AddToBranchList("MRawEvtData.*");
    134 
    135136    SetNamePedestalCam();
    136137    SetNameSignalCam();
     
    142143void MExtractor::SetRange(Byte_t hifirst, Byte_t hilast, Byte_t lofirst, Byte_t lolast)
    143144{
    144  
    145   Clear();
    146 
    147   fHiGainFirst = hifirst;
    148   fHiGainLast  = hilast;
    149  
    150   fLoGainFirst = lofirst;
    151   fLoGainLast  = lolast;
     145    fHiGainFirst = hifirst;
     146    fHiGainLast  = hilast;
     147
     148    fLoGainFirst = lofirst;
     149    fLoGainLast  = lolast;
    152150}
    153151
     
    324322Int_t MExtractor::Process()
    325323{
    326 
     324    return kERROR;
     325/*
    327326  MRawEvtPixelIter pixel(fRawEvt);
    328327
     
    353352      pix.SetGainSaturation(sathi, satlo);
    354353     
    355     } /* while (pixel.Next()) */
     354    }
    356355
    357356    fSignals->SetReadyToSave();
    358357
    359358    return kTRUE;
     359    */
    360360}
    361361
  • trunk/MagicSoft/Mars/msignal/MExtractor.h

    r8154 r8258  
    121121  void Print(Option_t *o="") const; //*MENU*
    122122
    123   ClassDef(MExtractor, 6) // Signal Extractor Base Class
     123  ClassDef(MExtractor, 7) // Signal Extractor Base Class
    124124};
    125125
Note: See TracChangeset for help on using the changeset viewer.