#ifndef HMDCCONFIG_H
#define HMDCCONFIG_H

#include "TNamed.h"
/** Class to hold numbers for MDC Online Display.
 */
class HMdcConfig : public TNamed {
private:
    Int_t fEventNb;      ///< event number
    Int_t fEventSeqNb;   ///< seqence number
    Int_t calMult;       ///< size of HMdcCal1Cat
    Int_t rawMult;       ///< size of HMdcRawCat
    Int_t scale;         ///< scale factor (-> kEvents)
public:
    HMdcConfig(const Char_t*,const Char_t*);
    HMdcConfig();
    ~HMdcConfig();
    Float_t getEvtNb()    {return  fEventNb/(Float_t)scale;}
    Int_t   getEvtSeqNb() {return fEventSeqNb;}
    Int_t   getRawMult()  {return rawMult;}
    Int_t   getCalMult()  {return calMult;}
    Int_t   getScale()    {return scale;}

    void    setEvtSeqNb(Int_t i){fEventSeqNb=i;}
    void    setEvtNb   (Int_t j){fEventNb=j;}
    void    setRawMult (Int_t i){rawMult=i;}
    void    setCalMult (Int_t i){calMult=i;}
    void    setScale   (Int_t i){scale=i;}


    ClassDef(HMdcConfig,1)
};
#endif  /*!HMDCCONFIG_H*/

Last change: Sat May 22 13:01:13 2010
Last generated: 2010-05-22 13:01

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.