A level Scheme. More...
#include <LevelScheme.h>
Inherits TObject.
Public Member Functions | |
virtual void | Browse (TBrowser *b) |
virtual void | Clear (Option_t *opt="") |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Compute distance to object. More... | |
virtual void | Draw (Option_t *opt="") |
to draw this level scheme More... | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
to execute an event for this level scheme More... | |
virtual TList * | FindCLinkInCascade () const |
Find the cascades that own the currengt link. More... | |
virtual const TList * | FindLink (Level *level) const |
Find links attached to level. More... | |
virtual TList * | FindLinkInCascade (Link *link) const |
Find the cascades that own that link. More... | |
virtual TBits * | GetBitMap (Link *link) |
get bit map coincidence above a given link More... | |
const TList & | GetCascades () |
to get the list of cascades More... | |
const Cascade * | GetCCascade () |
get current cascade More... | |
const Level * | GetCLevel () |
get current level More... | |
const Link * | GetCLink () |
get current link More... | |
const TList & | GetLevels () |
to get the list of levels More... | |
const TList & | GetLinks () |
to get the list of links More... | |
virtual const char * | GetName () const |
BaseLSPlayer * | GetPlayer (Option_t *opt="Graphical") |
Get player. More... | |
virtual const Char_t * | GetReference () const |
const TList & | GetTexts () |
to get the list of additional comments More... | |
virtual Int_t | Import (const Char_t *, Option_t *) |
to init this level scheme from an existing formatted file (ENSDF, Radware ..) More... | |
virtual Int_t | InitAGS (const Char_t *filename, Option_t *opt="152Dy") |
BETTER TO USE Import - To init this level scheme with a Radford AGS file. More... | |
virtual Int_t | InitENSDF (const Char_t *, Option_t *) |
BETTER TO USE Import - To init this level scheme with a ENSDF file. More... | |
LevelScheme () | |
LevelScheme (const Char_t *, Option_t *) | |
virtual void | ls (Option_t *option="all") const |
list levels/links More... | |
TArrow * | NewArrow (Float_t x1, Float_t y1, Float_t x2, Float_t y2) |
create new arrow More... | |
Cascade * | NewCascade (const char *name) |
create new cascade More... | |
Level * | NewLevel (const char *name) |
create new level More... | |
Link * | NewLink (const char *name) |
create new level More... | |
TLatex * | NewText (const char *msg) |
create new text More... | |
void | SetCCascade (Cascade *cascade) |
set current cascade More... | |
void | SetCLevel (Level *level) |
set current level More... | |
void | SetCLink (Link *link) |
set current link More... | |
virtual void | SetName (const Char_t *name) |
set level scheme name. More... | |
virtual void | SetReference (const Char_t *) |
set level scheme reference. More... | |
virtual void | SortLevels (Bool_t order=kSortAscending) |
Sort levels level. More... | |
virtual | ~LevelScheme () |
Protected Member Functions | |
void | AddArrow (TArrow *arrow) |
Add arrow. More... | |
void | AddCascade (Cascade *Cascade) |
Add cascade. More... | |
void | AddLevel (Level *level) |
level scheme player pointer More... | |
void | AddLink (Link *link) |
Add link. More... | |
void | AddText (TLatex *latex) |
Add text. More... | |
ClassDef (LevelScheme, 4) | |
log message More... | |
virtual void | FillMap () |
Fill map of coincidence. More... | |
TList & | GetCascadeList () |
to get the list of cascades More... | |
Cascade * | GetCurrentCascade () |
get current cascade More... | |
Level * | GetCurrentLevel () |
get current level More... | |
Link * | GetCurrentLink () |
get current link More... | |
TList & | GetLevelList () |
to get the list of levels More... | |
TList & | GetLinkList () |
to get the list of links More... | |
TLatex & | GetNameLatex () |
to get Name latex object More... | |
TLatex & | GetRefLatex () |
to get ref latex object More... | |
TList & | GetTextList () |
to get the list of additional comments More... | |
Protected Attributes | |
TList | fArrows |
TList | fCascades |
TList | fLevels |
TList | fLinks |
LogMessage | fLog |
TLatex | fName |
BaseLSPlayer * | fPlayer |
TLatex | fReference |
TList | fTexts |
Friends | |
class | BaseLevelSchemeReader |
class | BaseLSPlayer |
A level Scheme.
A level sheme is more general and complex that a Cascade. It's composed of a list of levels, a list of links and a list of cascades. The LevelScheme is the true owner of its links, levels and cascades. They will be deleted by the destructor.
A level scheme has a name, a type and a reference to keep some informations about the origin of the level scheme. An additional list of TLatex is available to display some comments.
A Cascade is a particular path in the level scheme. With the level sheme the notion of current cascade exists. When adding new links, they are added to the current cascade unless it is null.
Definition at line 82 of file LevelScheme.h.