v2.10-0 (21000JUN2005)

Go4Fit
Class TGo4FitNamed

Direct Known Subclasses:
TGo4FitParameter, TGo4FitParsList, TGo4FitSlot, TGo4FitterAction

class TGo4FitNamed
derived from TNamed

Extension of ROOT TNamed class.
In addition to TNamed class property has owner and provides additional GetFullName() method.
Full name consist of full name (if exists) of owner and name of object itself, divided by dot. For instance: "OwnerName.ObjectName". If owner has its owner, the full name will look like: "Owner1Name.Owner2Name.ObjectName". Any level of ownership is supported. Thus, full name shows hierarchy of ownership for given object.


Field Summary
 private TStringfxFullName
          String, containing full name of object.
 private TNamed*fxOwner
          Owner of object

Fields inherited from class TNamed
fName, fTitle

Constructor Summary
TGo4FitNamed()
          Default constructor.
TGo4FitNamed(const char * Name, const char * Title, TNamed* Owner)
          Creates TGo4FitNamed object and set name and title.

Destructor Summary
 virtual synchronized ~TGo4FitNamed()
          Destroy TGo4FitNamed object.

Method Summary
 const const char *GetFullName()
          Returns full name of object.
 TNamed*GetOwner()
          Return owner of object.
 const const char *GetOwnerFullName()
          Return full name of owner.
 const voidPrint(Option_t* option)
           
 voidSetOwner(TNamed* iOwner)
          Sets owner of object.

Methods inherited from class TNamed
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine

Field Detail

fxFullName

private TString fxFullName
String, containing full name of object.

fxOwner

private TNamed* fxOwner
Owner of object
Constructor Detail

TGo4FitNamed

public TGo4FitNamed()
Default constructor.

TGo4FitNamed

public TGo4FitNamed(const char * Name, const char * Title, TNamed* Owner)
Creates TGo4FitNamed object and set name and title.
Method Detail

~TGo4FitNamed

public virtual synchronized ~TGo4FitNamed()
Destroy TGo4FitNamed object.
Method Detail

GetFullName

public const const char * GetFullName()
Returns full name of object.
Consist of name or full name (if exist) of owner, divided by dot.

GetOwner

public TNamed* GetOwner()
Return owner of object.

GetOwnerFullName

public const const char * GetOwnerFullName()
Return full name of owner.
If not exist, return just name of owner.

Print

public const void Print(Option_t* option)

SetOwner

public void SetOwner(TNamed* iOwner)
Sets owner of object.
Owner should be a object of TNamed or derived classes. If owner derived from TGo4FitNamed class, full name of owner used for constracting of full name of object.

Association Links

to Class TNamed

Owner of object

J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005