// File: hrichpadsignal.h
// ****************************************************************************
//
// HRichPadSignal
//
// Author: Witold Przygoda (przygoda@psja1.if.uj.edu.pl)
// Modified: 1999/12/04 by Witold Przygoda (przygoda@psja1.if.uj.edu.pl)
// ----------------------------------------------------------------------------
// Modified Oct. 2000 by W.Koenig (w.koenig@gsi.de)
//
// ****************************************************************************


#ifndef HRICHPADSIGNAL_H
#define HRICHPADSIGNAL_H

using namespace std;

#include "TObject.h"

#include <iostream> 
#include <iomanip>

// ****************************************************************************

class HRichPadSignal : public TObject{

// ****************************************************************************

public:

  HRichPadSignal() : fAmplitude(0),fLabel(0),fLock(0),isCleanedSingle(0),isCleanedHigh(0) {}
    HRichPadSignal(const Int_t q) : fAmplitude(q),fLabel(0),fLock(0),isCleanedSingle(0),isCleanedHigh(0) {}
      virtual ~HRichPadSignal() {}

      void clear()
      {
	fAmplitude       = 0;
	fLabel           = 0;
	fLock            = 0;
	isCleanedSingle  = 0;
	isCleanedHigh    = 0;
      }

      Int_t getAmplitude() { return fAmplitude; }
      Int_t addAmplitude(Int_t ampl) { return (fAmplitude += ampl); };
      Int_t getLabel() { return fLabel; }
      Int_t getLock() { return fLock; }
      Bool_t getIsCleanedSingle(void) const { return isCleanedSingle; }
      Bool_t getIsCleanedHigh(void)   const { return isCleanedHigh; }


      void setAmplitude(Int_t ampl) { fAmplitude = (Short_t)ampl; }
      void setLabel(Int_t label) { fLabel = (char)label; }
      void setLock(Int_t lock) { fLock = (char)lock; }
      void setIsCleanedSingle(Bool_t a) {isCleanedSingle = a; }
      void setIsCleanedHigh(Bool_t b)   {isCleanedHigh   = b; }

      friend ostream& operator<< (ostream& output, HRichPadSignal& element);

private:

      Short_t fAmplitude;
      Char_t fLabel;
      Char_t fLock;
      Bool_t isCleanedSingle;
      Bool_t isCleanedHigh;

      ClassDef(HRichPadSignal,3) // Rich auxiliary class
};

//============================================================================


#endif // HRICHPADSIGNAL_H


Last change: Sat May 22 13:09:35 2010
Last generated: 2010-05-22 13:09

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.