#ifndef HRICHCALSIM_H
#define HRICHCALSIM_H
#include "hrichcal.h"
class HRichCalSim : public HRichCal {
protected:
Int_t nTrack1;
Int_t nTrack2;
Float_t fEnergy;
public:
HRichCalSim(void) : nTrack1(0), nTrack2(0) , fEnergy(0) {}
~HRichCalSim(void) {}
void clear();
inline void setNTrack1(const Int_t n) {nTrack1=n;}
inline void setNTrack2(const Int_t n) {nTrack2=n;}
inline void setEnergy(Float_t ene) {fEnergy = ene;}
inline Int_t getNTrack1(void) const {return nTrack1;}
inline Int_t getNTrack2(void) const {return nTrack2;}
inline Float_t getEnergy() const {return fEnergy;}
void addEnergy(Float_t ene) {fEnergy+= ene; }
void addHit() {nTrack1++;}
ClassDef(HRichCalSim,1)
};
#endif /* !HRICHCALSIM_H */
Last change: Sat May 22 13:08:15 2010
Last generated: 2010-05-22 13:08
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.