ROOT logo
AliRoot » MUON » MAPPING » AliMpRowSegment

class AliMpRowSegment: public AliMpVRowSegment

 Class AliMpRowSegment

 Class describing a row segment composed of the
 the identic motifs.
 Included in AliRoot: 2003/05/02
 Authors: David Guez, Ivana Hrivnacova; IPN Orsay

Function Members (Methods)

public:
AliMpRowSegment()
AliMpRowSegment(AliMpRow* row, AliMpVMotif* motif, Int_t padOffsetX, Int_t padOffsetY, Int_t nofMotifs, Int_t motifPositionId, Int_t motifPositionDId)
virtual~AliMpRowSegment()
voidTObject::AbstractMethod(const char* method) const
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 AliMpVPadIterator*AliMpVRowSegment::CreateIterator() 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 AliMpVMotif*FindMotif(Double_t x, Double_t y) const
virtual Int_tFindMotifPositionId(Double_t x, Double_t y) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Double_tGetDimensionX() const
virtual Double_tGetDimensionY() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
MpPair_tAliMpVIndexed::GetHighIndicesLimit() const
Int_tAliMpVIndexed::GetHighLimitIx() const
Int_tAliMpVIndexed::GetHighLimitIy() const
virtual const char*TObject::GetIconName() const
MpPair_tAliMpVIndexed::GetLowIndicesLimit() const
Int_tAliMpVIndexed::GetLowLimitIx() const
Int_tAliMpVIndexed::GetLowLimitIy() const
virtual AliMpVMotif*GetMotif(Int_t) const
virtual Int_tGetMotifPositionId(Int_t i) const
virtual const char*TObject::GetName() const
virtual Int_tGetNofMotifs() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual Double_tGetPositionX() const
virtual Double_tGetPositionY() const
virtual AliMpRow*GetRow() const
virtual const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual MpPair_tAliMpVIndexed::GlobalIndices(MpPair_t localIndices) const
virtual Int_tAliMpVIndexed::GlobalIx(Int_t localIx) const
virtual Int_tAliMpVIndexed::GlobalIy(Int_t localIy) const
virtual Double_tHalfSizeY() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
Bool_tAliMpVIndexed::HasIndices(MpPair_t indices) const
Bool_tAliMpVIndexed::HasIndices(Int_t ix, Int_t iy) const
virtual Bool_tHasMotifPosition(Int_t motifPositionId) const
Bool_tAliMpVIndexed::HasValidIndices() 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
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tAliMpVIndexed::IsHighLimitValid() const
Bool_tAliMpVIndexed::IsLowLimitValid() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual Double_tLeftBorderX() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual voidMotifCenter(Int_t motifPositionId, Double_t& x, Double_t& y) 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)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual Double_tRightBorderX() const
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)
virtual voidSetGlobalIndices(AliMpRow* rowBefore)
voidAliMpVIndexed::SetHighIndicesLimit(MpPair_t limit, Bool_t valid = true)
voidAliMpVIndexed::SetHighIndicesLimit(Int_t ix, Int_t iy, Bool_t valid = true)
virtual Int_tSetIndicesToMotifPosition(Int_t i, MpPair_t indices)
voidAliMpVIndexed::SetLowIndicesLimit(MpPair_t limit, Bool_t valid = true)
voidAliMpVIndexed::SetLowIndicesLimit(Int_t ix, Int_t iy, Bool_t valid = true)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidSetOffset(Double_t x, Double_t y)
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()
private:
AliMpRowSegment(const AliMpRowSegment& right)
Double_tFirstMotifCenterX() const
Bool_tIsInside(Double_t x, Double_t y, Bool_t warn = true) const
Double_tLastMotifCenterX() const
Double_tMotifCenterX(Int_t motifPositionId) const
Double_tMotifCenterY(Int_t motifPositionId) const
AliMpRowSegment&operator=(const AliMpRowSegment& right)

Data Members

private:
MpPair_tfLPadOffset/< the offset in nof pads
AliMpVMotif*fMotif/< the motif
Int_tfMotifPositionDId/< +1 if ids are increasing, -1 if decreasing
Int_tfMotifPositionId/< the first motif position id
Int_tfNofMotifs/< number of motifs
Double_tfOffsetX/< \brief the x position of the centre of the first motif
Double_tfOffsetY/< \brief the y position of the centre of the first motif
AliMpRow*fRow/< the row containing this segment

Class Charts

Inheritance Chart:
TObject
AliMpVIndexed
AliMpVRowSegment
AliMpRowSegment

Function documentation

AliMpRowSegment(AliMpRow* row, AliMpVMotif* motif, Int_t padOffsetX, Int_t padOffsetY, Int_t nofMotifs, Int_t motifPositionId, Int_t motifPositionDId)
 Standard constructor
AliMpRowSegment()
 Default constructor
~AliMpRowSegment()
 Destructor
Double_t FirstMotifCenterX() const
 Return the x coordinate of the first motif center
 in the global coordinate system.
Double_t LastMotifCenterX() const
 Return the x coordinate of the last motif center
 in the global coordinate system.
Double_t MotifCenterX(Int_t motifPositionId) const
 Return the x coordinate of the motif specified with
 the given position identifier.
Double_t MotifCenterY(Int_t motifPositionId) const
 Return the y coordinate of the motif specified with
 the given position identifier.
Bool_t IsInside(Double_t x, Double_t y, Bool_t warn = true) const
 Check if the position is inside some motif of this row segment.
Double_t LeftBorderX() const
 Return the x coordinate of the left row segment border
 in the global coordinate system.
Double_t RightBorderX() const
 Return the x coordinate of the right row segment border
 in the global coordinate system.
Double_t HalfSizeY() const
 Return the size in y of this row segment.
AliMpVMotif* FindMotif(Double_t x, Double_t y) const
 Return the motif of this row;
Int_t FindMotifPositionId(Double_t x, Double_t y) const
 Return the motif position identified for the given
 geometric position.
Bool_t HasMotifPosition(Int_t motifPositionId) const
 Return true if the motif specified with the given position identifier
 is in this segment.
void MotifCenter(Int_t motifPositionId, Double_t& x, Double_t& y) const
 Return the coordinates of the motif specified with
 the given position identifier.
Double_t GetPositionX() const
 Return the x position of the row segment centre.
Double_t GetPositionY() const
 Return the y position of the row segment centre.
Double_t GetDimensionX() const
 Return the halflengths of the row segment in x, y.

Double_t GetDimensionY() const
 Return the halflengths of the row segment in x, y.

void SetOffset(Double_t x, Double_t y)
 Calculate offset from given offset and
 stored offset in pads.
void SetGlobalIndices(AliMpRow* rowBefore)
 Set global indices limits.
Int_t SetIndicesToMotifPosition(Int_t i, MpPair_t indices)
 Set global indices to i-th motif position and returns next index
 in x.
AliMpRow* GetRow() const
 Return the row.which this row segment belongs to.
Int_t GetNofMotifs() const
 Return number of motifs in this this row segment.
Int_t GetMotifPositionId(Int_t i) const
 Return number of motifs in this this row segment.
AliMpVMotif* GetMotif(Int_t ) const
 Return the motif of this row segment.
AliMpRowSegment(AliMpRow* row, AliMpVMotif* motif, Int_t padOffsetX, Int_t padOffsetY, Int_t nofMotifs, Int_t motifPositionId, Int_t motifPositionDId)