#ifndef HTOFCALSIM_H
#define HTOFCALSIM_H

#include "htofcal.h"

class HTofCalSim : public HTofCal {
protected:
  Int_t nTrack1;   // number of Track for first hit
  Int_t nTrack2;   // number of Track for second hit

public:
  HTofCalSim(void) : nTrack1(0), nTrack2(0) {}
  ~HTofCalSim(void) {}
  void clear(void);
  inline void setNTrack1(const Int_t n) {nTrack1=n;} //set trk nb of hit 1
  inline void setNTrack2(const Int_t n) {nTrack2=n;} //set trk nb of hit 2
  inline Int_t getNTrack1(void) const {return nTrack1;} //get trk nb of hit 1
  inline Int_t getNTrack2(void) const {return nTrack2;} //get trk nb of hit 2 
  inline void setLeftNTrack(const Int_t n) {nTrack1=n;} //set trk nb of hit 1
  inline void setRightNTrack(const Int_t n) {nTrack2=n;} //set trk nb of hit 2
  inline Int_t getLeftNTrack(void) const {return nTrack1;} //get trk nb of hit 1
  inline Int_t getRightNTrack(void) const {return nTrack2;} //get trk nb of hit 2
  ClassDef(HTofCalSim,1) // simulated cal data level of TOF
};

#endif  /* HTOFCALSIM_H */

Last change: Sat May 22 13:15:49 2010
Last generated: 2010-05-22 13:15

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.