GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Gw::Link Class Reference

A link between two levels. More...

#include <Link.h>

Inheritance diagram for Gw::Link:

Public Member Functions

 ClassDef (Link, 5)
 rootcint dictionary More...
 
virtual Int_t Compare (const TObject *obj) const
 
void Delete (const Option_t *="")
 Delete, redifined to avoid appearence in Menu. More...
 
virtual void DeSelected ()
 unselected link More...
 
virtual Int_t DoCascade (TSeqCollection &, Option_t *="")
 to add this link to a cascade More...
 
virtual void Draw (Option_t *option="")
 draw More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 to execute an event for this link More...
 
virtual Int_t GetArrowStyle ()
 define arrow style More...
 
virtual LevelGetFL ()
 to get the final level More...
 
virtual LevelGetFL () const
 to get the final level More...
 
virtual LevelGetIL ()
 to get the initial level More...
 
virtual LevelGetIL () const
 
virtual TLatex & GetLabel (Int_t)
 All labels are shifted when moving a level to another position. More...
 
virtual const char * GetLabel0 ()
 Get labels title. More...
 
virtual const char * GetLabel1 ()
 
virtual const char * GetLabel2 ()
 
virtual Measure< Float_t > & GetStrength ()
 to get the strength and modify it if it is needed More...
 
virtual Measure< Float_t > & GetTau ()
 to get the characteritic time and modify it if it is needed More...
 
virtual const char * GetVisLabel ()
 Used to determine which label should be drawn. More...
 
virtual Bool_t IsAmbiguous ()
 
virtual Bool_t IsModified ()
 return modified More...
 
virtual Bool_t IsSelected ()
 return selection More...
 
Bool_t IsSortable () const
 Return true as the function Compare is implemented. More...
 
virtual Bool_t IsVisible ()
 return visible More...
 
 Link ()
 
 Link (const Link &)
 
virtual void ls (Option_t *="") const
 ls on link More...
 
Linkoperator= (const Link &)
 
virtual void Paint (Option_t *option="")
 
virtual void RefreshPoints ()
 
virtual void Selected ()
 Selected link. More...
 
virtual void SetAdvancedStylePoints (Double_t xi, Double_t xf)
 
virtual void SetAmbiguous (Bool_t isambiguous=true)
 
virtual void SetArrowStyle (Int_t style)
 
virtual void SetBasicStylePoints (Double_t xi, Double_t xf)
 
virtual void SetDefaultLabels ()
 Set default labels. More...
 
virtual LevelSetFL (Level *final)
 to change the final level - return the previous one More...
 
virtual LevelSetIL (Level *initial)
 to change the final level - return the previous one More...
 
virtual void SetLabel (const char *, Int_t)
 to set labels More...
 
virtual void SetLabels (const char *l0, const char *l1, const char *l2)
 set label titles More...
 
virtual void SetLabelsColor (Color_t color)
 set all labels color More...
 
virtual void SetLabelsSize (Float_t size)
 set all labels size More...
 
virtual void SetModified ()
 Set link modified. More...
 
virtual void SetPoints ()
 to set points from the levels and the Strength More...
 
virtual void SetPoints (Double_t xi, Double_t xf)
 
virtual void SetUnmdified ()
 Set link unvisble. More...
 
virtual void SetUnvisible ()
 Set link unvisble. More...
 
virtual void SetVertical ()
 
virtual void SetVisible ()
 Set link visible. More...
 
virtual void SetVisLabel (const char *)
 Used to determine which label should be drawn. More...
 
virtual void UpdatePoints ()
 update points respect to a modified level (for future application) More...
 
virtual ~Link ()
 

Static Public Member Functions

static void DisableMove ()
 
static void EnableMove ()
 
static Color_t GetDefaultColor ()
 
static Color_t GetDefaultLabelColor ()
 
static Float_t GetDefaultLabelSize ()
 
static Bool_t IsMovable ()
 
static void SetDefaultColor (Color_t color)
 
static void SetDefaultLabelColor (Color_t color)
 
static void SetDefaultLabelSize (Float_t size)
 

Protected Attributes

Int_t fArrowStyle
 
LevelfFinal
 
LevelfInitial
 log message More...
 
Bool_t fIsAmbiguous
 
Bool_t fIsModified
 
Bool_t fIsSelected
 
Bool_t fIsVisible
 
LogMessage fLog
 
Measure< Float_t > fStrength
 
Measure< Float_t > fTau
 

Static Protected Attributes

static const Short_t fgkMaxLinkLabel = 3
 

Detailed Description

A link between two levels.

A link binds two levels with a given strength and a characteritic time to 'go' from one level to the other one.

Warning
The initial and final level don't belong to this link. They will not be deleted in the destructor.

A link could be a single path from one level to the other one but it could be also more complex.
For instance, a converted gamma-ray gives several X-rays with a given discret distribution. It could also be a continuous distribution like for a link between a SD level and a ND level or a feeding link. A link has a DoCascade member to really determine a unique path from the inital level to the final level.

Author
Olivier Stezowski

Definition at line 65 of file Link.h.


The documentation for this class was generated from the following files: