ROOT logo
#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 */
 htofcalsim.h:1
 htofcalsim.h:2
 htofcalsim.h:3
 htofcalsim.h:4
 htofcalsim.h:5
 htofcalsim.h:6
 htofcalsim.h:7
 htofcalsim.h:8
 htofcalsim.h:9
 htofcalsim.h:10
 htofcalsim.h:11
 htofcalsim.h:12
 htofcalsim.h:13
 htofcalsim.h:14
 htofcalsim.h:15
 htofcalsim.h:16
 htofcalsim.h:17
 htofcalsim.h:18
 htofcalsim.h:19
 htofcalsim.h:20
 htofcalsim.h:21
 htofcalsim.h:22
 htofcalsim.h:23
 htofcalsim.h:24
 htofcalsim.h:25
 htofcalsim.h:26