Ignore:
Timestamp:
01/08/05 11:33:28 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/msignal/MExtractedSignalCam.h

    r5601 r5739  
    1616{
    1717private:
    18     TClonesArray *fArray; //-> FIXME: Change TClonesArray away from a pointer?
    1918
    20     Byte_t fFirstUsedSliceHiGain;
    21     Byte_t fFirstUsedSliceLoGain;
     19  TClonesArray *fArray;                //-> FIXME: Change TClonesArray away from a pointer?
    2220
    23     Byte_t fLastUsedSliceHiGain;
    24     Byte_t fLastUsedSliceLoGain;
     21  Byte_t fFirstUsedSliceHiGain;        // First High Gain FADC used for extraction (incl.)
     22  Byte_t fFirstUsedSliceLoGain;        // First Low Gain FADC used for extraction (incl.)
     23 
     24  Byte_t fLastUsedSliceHiGain;         // Last High Gain FADC used for extraction (incl.)
     25  Byte_t fLastUsedSliceLoGain;         // Last Low Gain FADC used for extraction (incl.)
     26 
     27  Float_t fUsedWindowHiGain;           // High Gain FADC extraction window
     28  Float_t fUsedWindowLoGain;           // Low Gain FADC extraction window
    2529
    26     Float_t fUsedWindowHiGain;
    27     Float_t fUsedWindowLoGain;
    28    
     30  Int_t   fNdf;                        // Number of degrees of freedom for a possible fit
     31 
    2932public:
    3033
     
    3235    ~MExtractedSignalCam();
    3336
    34     void Print(Option_t *o="") const;
    35     void Clear(Option_t *o="");
    36     void SetLogStream(MLog *lg);
    37     void Reset() { Clear(); }
     37    void    Print(Option_t *o="") const;
     38    void    Clear(Option_t *o="");
     39    void    Reset() { Clear(); }
    3840
    39     void InitSize(const UInt_t i);
    40     Int_t GetSize() const;
     41    void    InitSize(const UInt_t i);
     42    Int_t   GetSize () const;
    4143
    42     Float_t GetNumUsedHiGainFADCSlices() const { return fUsedWindowHiGain; }
    43     Float_t GetNumUsedLoGainFADCSlices() const { return fUsedWindowLoGain; }
     44    Byte_t  GetFirstUsedSliceHiGain()    const { return fFirstUsedSliceHiGain; }
     45    Byte_t  GetFirstUsedSliceLoGain()    const { return fFirstUsedSliceLoGain; }
    4446
    45     Byte_t GetFirstUsedSliceHiGain() const    { return fFirstUsedSliceHiGain; }
    46     Byte_t GetFirstUsedSliceLoGain() const    { return fFirstUsedSliceLoGain; }
     47    Byte_t  GetLastUsedSliceHiGain()     const { return fLastUsedSliceHiGain; }
     48    Byte_t  GetLastUsedSliceLoGain()     const { return fLastUsedSliceLoGain; }
    4749
    48     Byte_t GetLastUsedSliceHiGain()  const    { return fLastUsedSliceHiGain; }
    49     Byte_t GetLastUsedSliceLoGain()  const    { return fLastUsedSliceLoGain; }
     50    Float_t GetNumUsedHiGainFADCSlices() const { return fUsedWindowHiGain;    }
     51    Float_t GetNumUsedLoGainFADCSlices() const { return fUsedWindowLoGain;    }
    5052
    51     void   SetUsedFADCSlices(Byte_t firsth, Byte_t lasth, Float_t winh,
    52                              Byte_t firstl, Byte_t lastl, Float_t winl)
     53    Float_t GetNdf()                     const { return fNdf;                  }
     54    Float_t GetProb( const Int_t pixidx) const;
     55
     56    void    SetLogStream     ( MLog *lg  );
     57    void    SetNdf           ( Int_t ndf ) { fNdf = ndf;  }
     58    void    SetUsedFADCSlices(Byte_t firsth, Byte_t lasth, Float_t winh,
     59                              Byte_t firstl, Byte_t lastl, Float_t winl)
    5360    {
    5461      fFirstUsedSliceHiGain    = firsth;
     
    6673    void DrawPixelContent(Int_t num) const;
    6774
    68     ClassDef(MExtractedSignalCam, 1)    // Storage Container for extracted signals in the camera
     75    ClassDef(MExtractedSignalCam, 2)    // Storage Container for extracted signals in the camera
    6976};
    7077
Note: See TracChangeset for help on using the changeset viewer.