LCDstripID


class description - source file - inheritance tree

class LCDstripID : public TObject

    private:
public:
LCDstripID LCDstripID() LCDstripID LCDstripID(UInt_t tag) LCDstripID LCDstripID(LCDstripID&) virtual void ~LCDstripID() Int_t barrelEndcap() const Int_t c1() const Int_t c2() const static TClass* Class() virtual ULong_t Hash() const virtual TClass* IsA() const virtual Bool_t IsEqual(const TObject* obj) const Int_t layer() const Int_t northSouth() const 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) void StreamerNVirtual(TBuffer& b) UInt_t tag() const

Data Members

private:
UInt_t m_tag Muon strip binary ID protected:
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

 LCDstripID

 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



LCDstripID()
 Default constructor

LCDstripID(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() 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)
         LCDstripID LCDstripID(LCDstripID&)
               void ~LCDstripID()


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.