#ifndef HMDCRAW_H
#define HMDCRAW_H
using namespace std;
#include "TObject.h"
#include <cstdlib>
#include <iostream>
class HMdcRaw : public TObject {
protected:
    Int_t nHits;  
    Int_t time1;  
    Int_t time2;  
    Int_t time3;  
    Int_t time4;  
    Int_t time5;  
    Int_t time6;  
    Int_t sector; 
    Int_t module; 
    Int_t mbo;    
    Int_t tdc;    
    Int_t nTrialsToFillHits; 
public:
    HMdcRaw(void) { clear(); }
    ~HMdcRaw(void){;}
    
    static const Int_t kDefaultValueTime   ; 
    static const Int_t kDefaultValueSector ; 
    static const Int_t kDefaultValueModule ; 
    static const Int_t kDefaultValueMbo    ; 
    static const Int_t kDefaultValueTdc    ; 
    void clear(void)
      {
	
	nHits=0;
	sector=kDefaultValueSector;
	module=kDefaultValueModule;
	mbo   =kDefaultValueMbo;
	tdc   =kDefaultValueTdc;
	time1=time2=time3=time4=time5=time6=kDefaultValueTime;
        nTrialsToFillHits=0;
      }
    void setSector(const Int_t n) { sector=n; }
    void setModule(const Int_t n) { module=n; }
    void setMbo(const Int_t n)    { mbo=n; }
    void setTdc(const Int_t n)    { tdc=n; }
    void setAddress(const Int_t s,const Int_t m,const Int_t mb,const Int_t t)
      {
	sector=s;
	module=m;
	mbo=mb;
	tdc=t;
      }
    Bool_t setTime(const Int_t,const Int_t mode=0, const Bool_t noComment = kFALSE);
    Bool_t setTimeNew(const Int_t time, const Int_t nrtime);
    Int_t getSector(void) const { return sector; }
    Int_t getModule(void) const { return module; }
    Int_t getMbo(void) const    { return mbo; }
    Int_t getTdc(void) const    { return tdc; }
    void getAddress(Int_t& s,Int_t& m,Int_t& mb,Int_t& t)
      {
	s=sector;
	m=module;
	mb=mbo;
	t=tdc;
      }
    Int_t getNHits(void) const  { return nHits; }
    Int_t getNTrialsToFillHits(void) const { return nTrialsToFillHits; }
    Int_t getTime(const Int_t n) const;
    ClassDef(HMdcRaw,2) 
};
#endif /* !HMDCRAW_H */
Last change: Sat May 22 13:03:13 2010
Last generated: 2010-05-22 13:03
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.