ROOT logo
AliRoot » MUON » MAPPING » AliMpSector

class AliMpSector: public TNamed

 Class AliMpSector

 Class describing the sector of the MUON chamber of station 1.
 Included in AliRoot: 2003/05/02
 Authors: David Guez, Ivana Hrivnacova; IPN Orsay

Function Members (Methods)

public:
AliMpSector()
AliMpSector(const TString& id, Int_t nofZones, Int_t nofRows, AliMp::Direction direction, Double_t offsetx, Double_t offsety)
virtual~AliMpSector()
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 voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual AliMpVPadIterator*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 voidTNamed::FillBuffer(char*& buffer)
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
AliMpRow*FindRow(Int_t motifPositionId) const
AliMpVRowSegment*FindRowSegment(Int_t motifPositionId) const
voidGetAllMotifPositionsIDs(TArrayI& ecn) const
Double_tGetDimensionX() const
Double_tGetDimensionY() const
AliMp::DirectionGetDirection() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual const char*TObject::GetIconName() const
Double_tGetMaxPadDimensionX() const
Double_tGetMaxPadDimensionY() const
MpPair_tGetMaxPadIndices() const
Double_tGetMinPadDimensionX() const
Double_tGetMinPadDimensionY() const
AliMpMotifMap*GetMotifMap() const
virtual const char*TNamed::GetName() const
Int_tGetNofMotifPositions() const
Int_tGetNofPads() const
Int_tGetNofRows() const
Int_tGetNofZones() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
AliMp::PlaneTypeGetPlaneType() const
Double_tGetPositionX() const
Double_tGetPositionY() const
AliMpRow*GetRow(Int_t i) const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
AliMpZone*GetZone(Int_t i) const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() 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
voidInitialize()
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_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::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)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* opt = "") const
voidPrintGeometry() 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)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetRowSegmentOffsets()
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() 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

protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
Double_tfDimensionX/< sector x dimension
Double_tfDimensionY/< sector y dimension
AliMp::DirectionfDirection/< the direction of constant pad size
TStringfID/< sector ID
MpPair_tfLMaxPadIndices/< maximum pad indices
Double_tfMaxPadDimensionX/< miximum pad x dimensions
Double_tfMaxPadDimensionY/< miximum pad y dimensions
Double_tfMinPadDimensionX/< minimum pad x dimensions
Double_tfMinPadDimensionY/< minimum pad y dimensions
AliMpMotifMap*fMotifMap/< motif map
Int_tfNofPads/< total number of pads
Double_tfOffsetX/< sector x position
Double_tfOffsetY/< sector y position
TObjArrayfRows/< rows
TObjArrayfZones/< zones

Class Charts

Inheritance Chart:
TNamed
AliMpSector

Function documentation

AliMpSector(const TString& id, Int_t nofZones, Int_t nofRows, AliMp::Direction direction, Double_t offsetx, Double_t offsety)
 Standard constructor
AliMpSector()
 Default constructor
~AliMpSector()
 Destructor
AliMpRow* FindRow(Double_t y) const
 Find the row for the specified y position.                              \n
 If y is on border the lowest row is returned.
Int_t FindMotifPositionId(Double_t x, Double_t y) const
 Find the motif position ID in the specified position.                   \n
 Return 0 if no motif is found.
AliMpVRowSegment* FindRowSegment(Double_t x, Double_t y) const
 Find the row segment in the specified position.                         \n
 Return if no motif is found.
void SetRowOffsets()
 For each row check consitency of the row segments
 and calculate the row offset.
void SetMotifPositions()
 Create motif positions objects and fills them in the motif map.
void SetGlobalIndices()
 Set the indices limits to all indexed elements
 (row, row segment, motif positions).
void SetMinMaxPadDimensions()
 Set the minimal pad dimensions.
void SetMaxPadIndices()
 Set maximum pad indices in x, y
void SetNofPads()
 Set the total number of pads
void SetDimensions()
 Set the maximum halflengths in x, y.
AliMpVPadIterator* CreateIterator() const
 Create sector pad iterator
void SetRowSegmentOffsets()
 For all rows set the offset to all row segments.
void Initialize()
 Make needed settings after sector is read from
 data files.
void PrintGeometry() const
 Print the positions of rows, rows segments
AliMpRow* FindRow(Int_t motifPositionId) const
 Find the row with the the specified motif position.                     \n
 Return 0 if no row is found.
AliMpVRowSegment* FindRowSegment(Int_t motifPositionId) const
 Find the row segment with the the specified motif position.            \n
 Return 0 if no row segment is found.
Double_t GetPositionX() const
 Return the sector offset.
Double_t GetPositionY() const
 Return the sector offset.
Double_t GetDimensionX() const
 Return the maximum halflengths in x.
Double_t GetDimensionY() const
 Return the maximum halflengths in y.
Int_t GetNofZones() const
 Return the number of zones.
AliMpZone* GetZone(Int_t i) const
 Return zone with specified ID.
Int_t GetNofRows() const
 Return the number of rows.
AliMpRow* GetRow(Int_t i) const
 Return row with specified ID.
GetPlaneType() const
 Return the plane type
GetNofMotifPositions() const
 Return the number of manus
GetAllMotifPositionsIDs(TArrayI& ecn) const
 Return the array of all motif positions IDs
Print(Option_t* opt = "") const
 Print the map of motifs
AliMp::Direction GetDirection() const
 Return the direction of constant pad size
{ return fDirection; }
Double_t GetMinPadDimensionX() const
 Return minimum x pad dimensions
{ return fMinPadDimensionX; }
Double_t GetMinPadDimensionY() const
 Return maximum y pad dimensions
{ return fMinPadDimensionY; }
Double_t GetMaxPadDimensionX() const
 Return maximum x pad dimensions
{ return fMaxPadDimensionX; }
Double_t GetMaxPadDimensionY() const
 Return minimum y pad dimensions
{ return fMaxPadDimensionY; }
MpPair_t GetMaxPadIndices() const
 Return maximum pad indices
{ return fLMaxPadIndices; }
Int_t GetNofPads() const
 Return total number of pads
{ return fNofPads; }
AliMpMotifMap* GetMotifMap() const
 Return the motif map
{ return fMotifMap; }
AliMpSector(const TString& id, Int_t nofZones, Int_t nofRows, AliMp::Direction direction, Double_t offsetx, Double_t offsety)