TkID
class description - source file - inheritance tree
public:
TkID TkID()
TkID TkID(UInt_t tag)
TkID TkID(TkID&)
virtual void ~TkID()
Int_t barrelEndcap()
TClass* Class()
virtual ULong_t Hash()
virtual TClass* IsA()
virtual Bool_t IsEqual(TObject* obj)
Int_t layer()
Int_t northSouth()
void setBarrelEndcap(Int_t barrelEndcapVal)
void setLayer(Int_t layerVal)
void setNorthSouth(Int_t northSouthVal)
void setSystem(Int_t sysVal)
void setTag(UInt_t tagVal)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
Int_t system()
UInt_t tag()
private:
UInt_t m_tag Binary tag for hit
public:
static const Int_t systemOn
static const Int_t systemOff
static const Int_t layerOn
static const Int_t layerOff
static const Int_t barrelEndcapOn
static const Int_t barrelEndcapOff
static const Int_t northSouthOn
static const Int_t northSouthOff
TkID
The TkID class contains a binary ID number and functions to obtain
the location of the hit in question. The TkID class is used in the
Tracker_Hit and VXD_Hit classes.
/_________________________________________________________________________
TkID()
Default constructor
TkID(UInt_t tag=0) : m_tag(tag)
The constructor which sets the tag value.
~TkID()
Destructor
UInt_t tag() const
Returns the tag value
void setTag(UInt_t tagVal)
Sets the tag value to tagVal
Int_t layer() const
This returns the layer number from the first 8 bits of m_tag
void setLayer(Int_t tag)
setLayer sets the first 8 bits of m_tag to the layer number
Int_t northSouth() const
north/south in bit 30. northSouth extracts that, returns
it shifted down to least-significant end.
void setNorthSouth(Int_t tag)
setNorthSouth sets tag N/S bit (bit 30) to requested value.
Int_t barrelEndcap() const
barrelEndcap in bit 31. BarrelEndcap extracts that bit
and shifts to least-significant end.
void setBarrelEndcap(Int_t tag)
setBarrelEndcap sets barrelEndcap bit (bit 31) to requested
value
Int_t system() const
System in bits 28-29. system extracts those bits and shifts
down to least-significant end
void setSystem(Int_t tag)
setSystem sets tag system bits in appropriate place (bits 28-29)
Inline Functions
ULong_t Hash()
Bool_t IsEqual(TObject* obj)
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
TkID TkID(TkID&)
ROOT page - Class index - Top of the page
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.