LCDTkID


class description - source file - inheritance tree

class LCDTkID : public TObject

    private:
protected:
public:
LCDTkID LCDTkID() LCDTkID LCDTkID(UInt_t tag) LCDTkID LCDTkID(LCDTkID&) virtual void ~LCDTkID() static TClass* Class() UInt_t GetBarrelEndcap() const UInt_t GetLayer() const UInt_t GetNorthSouth() const UInt_t GetSystem() const UInt_t GetTag() const virtual ULong_t Hash() const virtual TClass* IsA() const virtual Bool_t IsEqual(const TObject* obj) const void SetBarrelEndcap(UInt_t barrelEndcapVal) void SetLayer(UInt_t layerVal) void SetNorthSouth(UInt_t northSouthVal) void SetSystem(UInt_t sysVal) void SetTag(UInt_t tagVal) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

private:
UInt_t m_tag Binary tag for hit protected:
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

Class Description

 LCDTkID

 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.



void SetLayer(UInt_t tag)
 SetLayer sets the first 8 bits of m_tag to the layer number
Int_t layerShift = tag & LCDTkID::layerOn;

UInt_t GetNorthSouth() const
 north/south in bit 30. northSouth extracts that, returns
 it shifted down to least-significant end.

void SetNorthSouth(UInt_t tag)
 SetNorthSouth sets tag N/S bit (bit 30) to requested value.

UInt_t GetBarrelEndcap() const
 barrelEndcap in bit 31. BarrelEndcap extracts that bit
 and shifts to least-significant end.

void SetBarrelEndcap(UInt_t tag)
 SetBarrelEndcap sets  barrelEndcap bit (bit 31) to requested
 value

void SetSystem(UInt_t tag)
 SetSystem sets tag system bits in appropriate place (bits 28-29)



Inline Functions


            LCDTkID LCDTkID()
            LCDTkID LCDTkID(UInt_t tag)
             UInt_t GetLayer() const
             UInt_t GetSystem() const
             UInt_t GetTag() const
               void SetTag(UInt_t tagVal)
            ULong_t Hash() const
             Bool_t IsEqual(const TObject* obj) const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
            LCDTkID LCDTkID(LCDTkID&)
               void ~LCDTkID()


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.