ROOT logo
AliRoot » MUON » MAPPING » AliMpVSegmentation

class AliMpVSegmentation: public TObject

 Class AliMpVSegmentation

 The abstract base class for the segmentation.
 Provides methods related to pads:
 conversion between pad indices, pad location, pad position;
 finding pad neighbour.

 Included in AliRoot: 2003/05/02
 Authors: David Guez, Ivana Hrivnacova; IPN Orsay
         Laurent Aphecetche, SUBATECH

Function Members (Methods)

 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.

public:
virtual~AliMpVSegmentation()
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*CreateIterator() const
virtual AliMpVPadIterator*CreateIterator(const AliMpArea& area) 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
virtual voidGetAllElectronicCardIDs(TArrayI& ecn) const
virtual Double_tGetDimensionX() const
virtual Double_tGetDimensionY() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
virtual const char*TObject::GetName() const
virtual Int_tGetNeighbours(const AliMpPad& pad, TObjArray& neighbours, Bool_t includeSelf = kFALSE, Bool_t includeVoid = kFALSE) const
virtual Int_tGetNofElectronicCards() 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 const char*TObject::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual Bool_tHasMotifPosition(Int_t manuId) const
virtual Bool_tHasPadByIndices(Int_t ix, Int_t iy) const
virtual Bool_tHasPadByLocation(Int_t manuId, Int_t manuChannel) 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_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
virtual Int_tMaxPadIndexX() const
virtual Int_tMaxPadIndexY() const
voidTObject::MayNotUse(const char* method) const
virtual AliMpMotifPosition*MotifPosition(Int_t manuId) const
virtual Int_tNofPads() 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)
AliMpVSegmentation&operator=(const AliMpVSegmentation&)
virtual AliMpPadPadByIndices(Int_t ix, Int_t iy, Bool_t warning = true) const
virtual AliMpPadPadByLocation(Int_t manuId, Int_t manuChannel, Bool_t warning = true) const
virtual AliMpPadPadByPosition(Double_t x, Double_t y, Bool_t warning = true) const
virtual voidTObject::Paint(Option_t* option = "")
virtual AliMp::PlaneTypePlaneType() const
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 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 AliMp::StationTypeStationType() const
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

Class Charts

Inheritance Chart:
TObject
AliMpVSegmentation
AliMpFastSegmentation
AliMpSectorSegmentation
AliMpSlatSegmentation
AliMpTriggerSegmentation

Function documentation

~AliMpVSegmentation()
 Destructor
GetNeighbours(const AliMpPad& pad, TObjArray& neighbours, Bool_t includeSelf = kFALSE, Bool_t includeVoid = kFALSE) const
 Returns the list of neighbours of pad
 testPositions are the positions (L,T,R,B) relative to pad's center (O)
 were we'll try to get a neighbouring pad, by getting a little
 bit outside the pad itself.
 The pad density can only decrease when going from left to right except
 for round slates where it is the opposite.
 The pad density can only decrease when going from bottom to top but
 to be symmetric we also consider the opposite.
 The order in which we actually test the positions has some importance,
 i.e. when using this information to compute status map later on. Here's
 the sequence :
 <pre>
 4- 5- 6-7
 |       |
 3       8
 |   0   |
 2       9
 |       |
 1-12-11-10
 </pre>
HasPadByIndices(Int_t ix, Int_t iy) const
 Default implementation. Must be overwritten if can be made more
 efficient in the child class
HasPadByLocation(Int_t manuId, Int_t manuChannel) const
 Default implementation. Must be overwritten if can be made more
 efficient in the child class
HasMotifPosition(Int_t manuId) const
 Default implementation to know if we hold a given manu
AliMpVPadIterator* CreateIterator(const AliMpArea& area) const
 methods

 factory methods
 Create iterator over pads in the given area
AliMpVPadIterator* CreateIterator() const
 Create a pad iterator over the whole area
AliMpPad PadByLocation(Int_t manuId, Int_t manuChannel, Bool_t warning = true) const
 Find pad by location
AliMpPad PadByPosition(Double_t x, Double_t y, Bool_t warning = true) const
 Find pad by indices
 Find pad by position
Int_t MaxPadIndexX() const
 Return maximum pad index in X direction
Int_t MaxPadIndexY() const
 Return maximum pad index in Y direction
Int_t NofPads() const
 Return the number of pads in the detection element
void GetAllElectronicCardIDs(TArrayI& ecn) const
 Fill the given array with the electronic card IDs
Int_t GetNofElectronicCards() const
 Get the number of electronic card IDs
Double_t GetDimensionX() const
 Return the x half-sizes of the detection element
Double_t GetDimensionY() const
 Return the y half-sizes of the detection element
Double_t GetPositionX() const
 Return the x position of the origin of the detection element
Double_t GetPositionY() const
 Return the y position of the origin of the detection element