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

A nuclear level. More...

#include <NuclearLevel.h>

Inheritance diagram for Gw::NuclearLevel:

Public Types

enum  EDefaultColor { kPlus, kMinus, kUnknown, kSelected }
 
enum  EDefaultStyle { kKnown, kTentative }
 

Public Member Functions

 ClassDef (NuclearLevel, 1)
 rootcint dictionary More...
 
 ClassDef (Level, 4)
 Root dictionary related. More...
 
virtual Int_t Compare (const TObject *) const
 used to sort a list of levels More...
 
void Delete (const Option_t *="")
 Delete, redifined to avoid appearence in Menu. More...
 
virtual void DeSelected ()
 unselected link More...
 
virtual void Draw (Option_t *option="")
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 to execute an event for this level More...
 
virtual void ExtraLine (Bool_t extra=true)
 Set extraline drawning. More...
 
virtual EDefaultColor GetDefaultColor ()
 return default color More...
 
virtual EDefaultStyle GetDefaultStyle ()
 return default style More...
 
virtual Float_t GetDY ()
 
Measure< Float_t > & GetE ()
 to get the energy and modify it if it is needed More...
 
Measure< Float_t > & GetEnergy ()
 
virtual TLine & GetExtraLine ()
 Get extra line. More...
 
virtual TLatex & GetLabel (Int_t)
 All labels are shifted when moving a level to another position. More...
 
const char * GetLabel0 ()
 overload function for specified used in this class. More...
 
const char * GetLabel1 ()
 
const char * GetLabel2 ()
 
const char * GetLabel3 ()
 
ParityGetParity ()
 get the parity and modify it if it is needed More...
 
virtual const char * GetPosLabel ()
 Used to determine the position of labels. More...
 
SpinGetSpin ()
 to get the spin and modify it if it is needed More...
 
Measure< Float_t > & GetT ()
 
virtual const char * GetVisLabel ()
 Used to determine which label should be drawn. More...
 
virtual Bool_t HasExtraLine ()
 check if extra line More...
 
virtual Bool_t IsModified ()
 return modified More...
 
virtual Bool_t IsSelected ()
 return selection More...
 
virtual Bool_t IsSortable () const
 Set Sortable true. More...
 
virtual Bool_t IsVisible ()
 return visible More...
 
virtual void ls (Option_t *option="") const
 
 NuclearLevel ()
 
virtual void Paint (Option_t *option="")
 used to paint a level More...
 
virtual void Selected ()
 Selected link. More...
 
virtual void SetColor (EDefaultColor color)
 Set color. More...
 
virtual void SetDefaultLabels ()
 Set default labels. More...
 
virtual void SetDY (Float_t dy)
 
void SetExtraLine (Double_t, Double_t)
 extra line More...
 
void SetExtraLineX1 (Double_t)
 
void SetExtraLineX2 (Double_t)
 
virtual void SetLabel (const char *, Int_t)
 to set labels More...
 
virtual void SetLabels (const char *l0, const char *l1, const char *l2, const char *l3)
 set labels and modify the attributes of this nuclear level 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 SetPosLabel (const char *)
 set position for levels More...
 
virtual void SetStyle (EDefaultStyle style)
 Set style. More...
 
virtual void SetUnmdified ()
 Set link unvisble. More...
 
virtual void SetUnvisible ()
 Set link unvisble. More...
 
virtual void SetVisible ()
 Set link visible. More...
 
virtual void SetVisLabel (const char *)
 Used to determine which label should be drawn. More...
 
virtual void SetX1 (Double_t)
 All labels are shifted when moving a level to another position. More...
 
virtual void SetX2 (Double_t)
 All labels are shifted when moving a level to another position. More...
 
virtual void SetY1 (Double_t)
 All labels are shifted when moving a level to another position. More...
 
virtual void SetY2 (Double_t)
 All labels are shifted when moving a level to another position. More...
 
virtual ~NuclearLevel ()
 

Static Public Member Functions

static void DisableMove ()
 
static void EnableMove ()
 
static Color_t GetDefaultColor (EDefaultColor d)
 
static Color_t GetDefaultLabelColor ()
 
static Float_t GetDefaultLabelSize ()
 
static Style_t GetDefaultStyle (EDefaultStyle d)
 
static Bool_t IsMovable ()
 
static void SetColorPalette (Color_t *pal)
 
static void SetDefaultLabelColor (Color_t color)
 
static void SetDefaultLabelSize (Float_t size)
 
static void SetStylePalette (Style_t *pal)
 

Protected Attributes

Float_t fDY
 
Measure< Float_t > fEnergy
 
Bool_t fIsModified
 
Bool_t fIsSelected
 log message More...
 
Bool_t fIsVisible
 
BaseNucleus fNucleus
 
Parity fParity
 
Spin fSpin
 
Measure< Float_t > fT
 

Detailed Description

A nuclear level.

A nuclear level is a particular level. It belongs to a nucleus (BaseNucleus), it has some quantum numbers, like a Spin and a Parity,

By default, the first level label is used to store the spin value, the second one the parity, the third one the level lifetime (for isomers) and last one the level energy. The spin can contain also the parity (radware like, e.g.: 43/2+), if parity is in spin, parity label is set to this value (e.g.: 43/2+ -> parity set to kPlus). Default wise energy and lifetime labels include the associated errors.

Todo:
a configuration should be implemented with additional quantum numbers, like K, with some informations concerning the configuration label, the deformation ...etc
Author
Olivier Stezowski

Definition at line 66 of file NuclearLevel.h.


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