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

A XGammaLink is a converted gamma-ray link. More...

#include <XGammaLink.h>

Inheritance diagram for Gw::XGammaLink:

Public Member Functions

 ClassDef (XGammaLink, 1)
 rootcint dictionary More...
 
 ClassDef (GammaLink, 1)
 rootcint dictionary More...
 
 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 &col, Option_t *opt="")
 it adds this gamma to the given cascade More...
 
virtual void DoX (Bool_t x=kTRUE)
 
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...
 
const char * GetAttr (Int_t idx)
 
const char * GetAttr0 ()
 
const char * GetAttr1 ()
 
const char * GetAttr2 ()
 
const char * GetAttr3 ()
 
const char * GetAttr4 ()
 
const char * GetAttr5 ()
 
virtual const char * GetAttrLabel ()
 return attribute pattern More...
 
virtual Measure< Float_t > & GetConversion ()
 to get/modify the conversion coefficient and its error More...
 
virtual Measure< Float_t > & GetEnergy ()
 to get/modify the gamma-ray energy and its error 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 UShort_t GetLambda () const
 returns the numeric part of the multipolarity More...
 
virtual Measure< Float_t > & GetMixing ()
 to get/modify the mixing ratio and its error More...
 
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 IsE () const
 true if this transition is electric More...
 
virtual bool IsM () const
 true if this transition is magnetic More...
 
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...
 
virtual Bool_t IsX () const
 
virtual void ls (Option_t *option="") const
 ls on link More...
 
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 SetAttrLabel (const char *)
 Used to determine the attribute for each label. More...
 
virtual void SetBasicStylePoints (Double_t xi, Double_t xf)
 
virtual void SetDefaultLabels ()
 Set default labels. More...
 
virtual void SetEM (const char *em="E2")
 to set the multipolarity More...
 
virtual LevelSetFL (Level *final)
 to change the final level - return the previous one More...
 
void SetGamma (const char *energy, const char *multipolarity, const char *mixing, const char *conversion, const char *strength, const char *tau)
 
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...
 
void SetX (Int_t, Float_t *, Float_t *)
 it initialises the list of X-rays associated with this link More...
 
virtual void UpdatePoints ()
 update points respect to a modified level (for future application) More...
 
 XGammaLink ()
 
virtual ~XGammaLink ()
 

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
 
Measure< Float_t > fConv
 
Data< Char_t > fEM
 
Measure< Float_t > fEnergy
 
LevelfFinal
 
LevelfInitial
 log message More...
 
Bool_t fIsAmbiguous
 
Bool_t fIsModified
 
Bool_t fIsSelected
 
Bool_t fIsVisible
 
Data< UShort_t > fLambda
 
LogMessage fLog
 
Measure< Float_t > fMixing
 
RandObj fRandX
 
Measure< Float_t > fStrength
 
Measure< Float_t > fTau
 
TList fX
 

Static Protected Attributes

static const Short_t fgkMaxLinkLabel = 3
 

Detailed Description

A XGammaLink is a converted gamma-ray link.

When converted, a gamma-ray produces an electron and a X-ray.
Compared to a GammaLink, a XGammaLink owns a list of associated Xrays. Those Xrays themself are GammaLink. The major difference with a GammaLink is then when the DoCascade members is called in order to simulate a path from the initial to the final level. If the fIsX flag is set (the associated list of X-Rays must not be empty), then a random selection is done.

Illustration: see simu1X() in firstdemo.C

Author
Olivier Stezowski

Definition at line 54 of file XGammaLink.h.


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