ROOT logo
#ifndef HShowerCalParCell_H
#define HShowerCalParCell_H
#pragma interface

#include "TObject.h"

class HShowerCalParCell : public TObject
{
public:
    HShowerCalParCell();
    HShowerCalParCell(Float_t fSlope, Float_t fOffset);
    HShowerCalParCell(Float_t fSlope, Float_t fOffset,
                                        Float_t fThreshold, Float_t fGain);
   ~HShowerCalParCell() {}

    Int_t   reset();

    void    setOffset(Float_t fOffset)      { m_fOffset = fOffset;  }
    Float_t getOffset()                     { return m_fOffset;     }

    void    setSlope(Float_t fSlope)        { m_fSlope = fSlope;    }
    Float_t getSlope()                      { return m_fSlope;      }

    void    setThreshold(Float_t fThreshold){ m_fThreshold  = fThreshold;}
    Float_t getThreshold()                  { return m_fThreshold;  }

    void    setGain(Float_t fGain)          { m_fGain = fGain;      }
    Float_t getGain()                       { return m_fGain;       }

    void    setParams(Float_t fSlope, Float_t fOffset);
    void    setParams(Float_t fSlope, Float_t fOffset,
                        Float_t fThreshold, Float_t fGain);

    void    print(void);

    // -------------------------------------------------------------------------

private:
    Float_t m_fOffset;      // offset parameter for calibration of the pad
    Float_t m_fSlope;       // slope parameter for  calibration of the pad
    Float_t m_fThreshold;   // threshold for the electronics
    Float_t m_fGain;

    // -------------------------------------------------------------------------

    ClassDef(HShowerCalParCell, 3) //ROOT extension
};

#endif
 hshowercalparcell.h:1
 hshowercalparcell.h:2
 hshowercalparcell.h:3
 hshowercalparcell.h:4
 hshowercalparcell.h:5
 hshowercalparcell.h:6
 hshowercalparcell.h:7
 hshowercalparcell.h:8
 hshowercalparcell.h:9
 hshowercalparcell.h:10
 hshowercalparcell.h:11
 hshowercalparcell.h:12
 hshowercalparcell.h:13
 hshowercalparcell.h:14
 hshowercalparcell.h:15
 hshowercalparcell.h:16
 hshowercalparcell.h:17
 hshowercalparcell.h:18
 hshowercalparcell.h:19
 hshowercalparcell.h:20
 hshowercalparcell.h:21
 hshowercalparcell.h:22
 hshowercalparcell.h:23
 hshowercalparcell.h:24
 hshowercalparcell.h:25
 hshowercalparcell.h:26
 hshowercalparcell.h:27
 hshowercalparcell.h:28
 hshowercalparcell.h:29
 hshowercalparcell.h:30
 hshowercalparcell.h:31
 hshowercalparcell.h:32
 hshowercalparcell.h:33
 hshowercalparcell.h:34
 hshowercalparcell.h:35
 hshowercalparcell.h:36
 hshowercalparcell.h:37
 hshowercalparcell.h:38
 hshowercalparcell.h:39
 hshowercalparcell.h:40
 hshowercalparcell.h:41
 hshowercalparcell.h:42
 hshowercalparcell.h:43
 hshowercalparcell.h:44
 hshowercalparcell.h:45
 hshowercalparcell.h:46
 hshowercalparcell.h:47
 hshowercalparcell.h:48
 hshowercalparcell.h:49