stripID


class description - source file - inheritance tree

class stripID : public TObject


    public:
stripID stripID() stripID stripID(UInt_t tag) stripID stripID(stripID&) virtual void ~stripID() Int_t barrelEndcap() Int_t c1() Int_t c2() 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 setC1(Int_t phiVal) void setC2(Int_t thetaVal) void setLayer(Int_t layerVal) void setNorthSouth(Int_t northSouthVal) void setTag(UInt_t tagVal) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) UInt_t tag()

Data Members

private:
UInt_t m_tag Muon strip binary ID public:
static const Int_t c1On static const Int_t c1Off static const Int_t c2On static const Int_t c2Off 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

 stripID

 The stripID class contains a strip ID number and functions to
 obtain the location of the strip in question. StripID is used in the
 class StripHit


/________________________________________________________________________

stripID()
 Default constructor

stripID(UInt_t tag=0) : m_tag(tag)
 Create a stripID object with number tag

UInt_t tag() const
 Returns the tower number

void setTag(UInt_t tagVal)
 Sets the m_tag to tagVal

Int_t c1() const
 theta bin in bits 0-11. c1 extracts those bits.

void setC1(Int_t tag)
 setC1 sets tag theta bits in appropriate place (bits 0-11)

Int_t c2() const
 phi bin in bits 12-23. c2 extracts those bits, shifts to "bottom"
 and returns them.

void setC2(Int_t tag)
 setC2 sets tag phi bits in appropriate place (bits 12-23)

Int_t layer() const
 layer bin in bits 24-28. Extracts those bits, shift down to lsb, return.

void setLayer(Int_t tag)
 setLayer sets tag layer into appropriate bits (24-28)

Int_t barrelEndcap() const
 barrelEndcap in bit 31. Extract, shift down to lsb, and return it.

void setBarrelEndcap(Int_t tag)
 Sets tag barrelEndcap bit in proper place (bit 31)

Int_t northSouth() const
 north/south in bit 30. Extract it and return (shifted down to lsb)

void setNorthSouth(Int_t tag)
 setNorthSouth sets tag N/S bit in proper place (bit 30)



Inline Functions


            ULong_t Hash()
             Bool_t IsEqual(TObject* obj)
            TClass* Class()
            TClass* IsA()
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
            stripID stripID(stripID&)
               void ~stripID()


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.