ROOT logo
AliRoot » MUON » MAPPING » AliMpPad

class AliMpPad: public TObject

 Class AliMpPad

 Class which encapsuate all informations about a pad
 Included in AliRoot: 2003/05/02
 Authors: David Guez, Ivana Hrivnacova; IPN Orsay
 root [0] .x testSectorAreaIterator.C
 Real time 0:00:56, CP time 36.270

Function Members (Methods)

public:
AliMpPad()
AliMpPad(const AliMpPad& src)
AliMpPad(Int_t manuId, Int_t channel, MpPair_t indices, Double_t positionX, Double_t positionY, Double_t dx, Double_t dy, Bool_t validity = true)
AliMpPad(Int_t manuId, Int_t channel, Int_t ix, Int_t iy, Double_t x, Double_t y, Double_t dx, Double_t dy, Bool_t validity = true)
virtual~AliMpPad()
voidTObject::AbstractMethod(const char* method) const
Bool_tAddLocation(Int_t localBoardId, Int_t localBoardChannel, Bool_t warn = true)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
Double_tGetDimensionX() const
Double_tGetDimensionY() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
MpPair_tGetIndices() const
Int_tGetIx() const
Int_tGetIy() const
Int_tGetLocalBoardChannel(Int_t i) const
Int_tGetLocalBoardId(Int_t i) const
MpPair_tGetLocation() const
MpPair_tGetLocation(Int_t i) const
Int_tGetManuChannel() const
Int_tGetManuId() const
virtual const char*TObject::GetName() const
Int_tGetNofLocations() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Double_tGetPositionX() const
Double_tGetPositionY() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
Bool_tHasLocation(Int_t localBoardId, Int_t localBoardChannel) const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() constMENU
static AliMpPadInvalid()
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tIsValid() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
Bool_toperator!=(const AliMpPad& pos2) const
AliMpPad&operator=(const AliMpPad& src)
Bool_toperator==(const AliMpPad& pos2) const
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(const char* = "") const
voidPrintOn(ostream& out) const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

private:
Double_tfDimensionX/< the pad x dimension - half length (in cm)
Double_tfDimensionY/< the pad y dimension - half length(in cm)
MpPair_tfLIndices/< pad indices as encoded pair (ix, iy)
MpPair_tfLLocation/< pad location as encoded pair (manuId, manuChannel)
MpPair_t*fLLocations[fNofLocations]
UInt_tfNofLocations/< number of locations in fLocations
Double_tfPositionX/< the pad x position (in cm)
Double_tfPositionY/< the pad y position (in cm)
Bool_tfValidity/< validity
static const Int_tfgkMaxNofLocations/< \brief maximum number of pad locations

Class Charts

Inheritance Chart:
TObject
AliMpPad

Function documentation

AliMpPad(Int_t manuId, Int_t channel, Int_t ix, Int_t iy, Double_t x, Double_t y, Double_t dx, Double_t dy, Bool_t validity = true)
 Standard constructor                                                   \n
 Be carefull : this constructor doesn't check the validity of
 the correspondance between location and indices.
 By default, validity is set true.
 It is aimed to be used by MSegmentation methods, and never from outside....
AliMpPad(Int_t manuId, Int_t channel, MpPair_t indices, Double_t positionX, Double_t positionY, Double_t dx, Double_t dy, Bool_t validity = true)
 Standard constructor                                                   \n
 Be carefull : this constructor doesn't check the validity of
 the correspondance between location and indices.
 By default, validity is set true.
 It is aimed to be used by MSegmentation methods, and never from outside....
AliMpPad()
 Default constructor - creates pad in invalid state
AliMpPad(const AliMpPad& src)
 Copy constructor
~AliMpPad()
 Destructor
Bool_t AddLocation(Int_t localBoardId, Int_t localBoardChannel, Bool_t warn = true)
 Add location to the collection if not yet present and
 if collection is not yet full                                           \n
 Return false and optionally give a warning if location is not
 added.
Int_t GetManuId() const
 Return pad manu Id
Int_t GetManuChannel() const
 Return pad manu channel
Int_t GetIx() const
 Return pad index ix
Int_t GetIy() const
 Return pad index iy
void PrintOn(ostream& out) const
 Prints all pad data.
void Print(const char* = "") const
 Prints all pad data.
Int_t GetNofLocations() const
 Return number of other locations associated with this pad
MpPair_t GetLocation(Int_t i) const
 Return i-th other location associated with this pad
Int_t GetLocalBoardId(Int_t i) const
 Return i-th other local board Id associated with this pad
Int_t GetLocalBoardChannel(Int_t i) const
 Return i-th other local board channel associated with this pad
Bool_t HasLocation(Int_t localBoardId, Int_t localBoardChannel) const
 Return true if given location is present either as fLLocation
 or in the collectio
AliMpPad Invalid()
 static get methods

 Return invalid pad
{return AliMpPad();}
MpPair_t GetLocation() const
 get methods

 Return pad location as encoded pair (manuId, manuChannel)
{ return fLLocation; }
MpPair_t GetIndices() const
 Return pad indices as encoded pair (ix, iy)
{ return fLIndices; }
Double_t GetPositionX() const
 Return the pad x position (in cm)
{ return fPositionX; }
Double_t GetPositionY() const
 Return the pad x position (in cm)
{ return fPositionY; }
Double_t GetDimensionX() const
 Return the x pad dimension - half length (in cm)
{return fDimensionX;}
Double_t GetDimensionY() const
 Return the y pad dimension - half length (in cm)
{return fDimensionY;}
Bool_t IsValid() const
 Return validity
{return fValidity ;}