#ifndef HShowerTofPIDTrack_H
#define HShowerTofPIDTrack_H
#pragma interface
#include "hshowertofpid.h"
class HShowerTofPIDTrack : public HShowerTofPID{
protected:
Int_t nTrack;
public:
HShowerTofPIDTrack(void) : nTrack(0){}
~HShowerTofPIDTrack(void) {}
void clear(void);
inline void setTrack(const Int_t track) {nTrack=track;}
inline Int_t getTrack(void) const {return nTrack;}
Bool_t IsSortable() const { return kTRUE; }
inline Int_t Compare(TObject *obj);
HShowerTofPIDTrack& operator=(HShowerTofPIDTrack& ht);
HShowerTofPIDTrack& operator=(HShowerTofPID& ht);
ClassDef(HShowerTofPIDTrack,1)
};
inline Int_t HShowerTofPIDTrack::Compare(TObject *obj) {
if (nTrack==((HShowerTofPIDTrack*)obj)->getTrack()) return 0;
return (nTrack > ((HShowerTofPIDTrack*)obj)->getTrack()) ? 1 : -1;
}
#endif /* !HShowerTofPIDTrack_H */
Last change: Sat May 22 13:14:12 2010
Last generated: 2010-05-22 13:14
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.