#ifndef HGEANTWALL_H
#define HGEANTWALL_H
#include "hlinkeddataobject.h"
class HGeantWall : public HLinkedDataObject
{
private:
Int_t trackNumber;
Float_t trackLength;
Float_t eHit;
Float_t xHit;
Float_t yHit;
Float_t tofHit;
Float_t momHit;
Char_t module;
Int_t cell;
public:
HGeantWall(void);
HGeantWall(HGeantWall &aWall);
~HGeantWall(void);
inline void setTrack(Int_t aTrack) {trackNumber = aTrack;}
void setHit(Float_t ae, Float_t ax, Float_t ay, Float_t atof,
Float_t amom, Float_t alen);
inline void setAddress (Char_t m, Int_t c);
virtual Int_t getTrack(void) {return trackNumber;}
void getHit(Float_t& ae, Float_t& ax, Float_t& ay, Float_t& atof,
Float_t& amom, Float_t& alen);
inline Char_t getModule(void) {return module;}
inline Int_t getCell(void) {return cell;}
inline Int_t getNLocationIndex(void) {return 3;}
inline Int_t getLocationIndex(Int_t i);
ClassDef(HGeantWall,1)
};
inline void HGeantWall::setAddress(Char_t m, Int_t c) {
module = m;
cell = c;
}
inline Int_t HGeantWall::getLocationIndex(Int_t i) {
switch (i) {
case 0 : return module;
case 1 : return cell;
}
return -1;
}
#endif /*! HGEANTWALL_H */
Last change: Sat May 22 12:56:08 2010
Last generated: 2010-05-22 12:56
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.