KaliVeda
Toolkit for HIC analysis
KVLifeTime Class Reference

Detailed Description

Simple class to store lifetime information of nucleus.

Created by KVClassFactory on Thu Jan 27 17:23:54 2011 Author: Eric Bonnet,,,

Definition at line 16 of file KVLifeTime.h.

#include <KVLifeTime.h>

Inheritance diagram for KVLifeTime:

Public Member Functions

 KVLifeTime ()
 Default constructor. More...
 
 KVLifeTime (const Char_t *name)
 Default constructor. More...
 
virtual ~KVLifeTime ()
 Destructor. More...
 
Bool_t IsAResonance () const
 
void SetResonance (Bool_t resonnance)
 
- Public Member Functions inherited from KVNuclData
 KVNuclData ()
 Default constructor. More...
 
 KVNuclData (const Char_t *name, const Char_t *units="NONE")
 Constructor with name & units. More...
 
 KVNuclData (const KVNuclData &)
 Copy constructor. More...
 
virtual ~KVNuclData ()
 Destructor. More...
 
void Copy (TObject &object) const
 Copy this to object. More...
 
const Char_t * GetName () const
 
const Char_t * GetUnit () const
 
Double_t GetValue () const
 
Bool_t IsMeasured () const
 
virtual void Print (Option_t *option="") const
 
void SetMeasured (Bool_t measured)
 
void SetName (TString name)
 
void SetValue (Double_t val)
 

Private Types

enum  EStatusBits { kResonnance = BIT(15) }
 

Private Member Functions

void init ()
 

Member Enumeration Documentation

◆ EStatusBits

Enumerator
kResonnance 

Definition at line 24 of file KVLifeTime.h.

Constructor & Destructor Documentation

◆ KVLifeTime() [1/2]

KVLifeTime::KVLifeTime ( )

Default constructor.

Definition at line 26 of file KVLifeTime.cpp.

◆ KVLifeTime() [2/2]

KVLifeTime::KVLifeTime ( const Char_t *  name)

Default constructor.

Definition at line 13 of file KVLifeTime.cpp.

◆ ~KVLifeTime()

KVLifeTime::~KVLifeTime ( )
virtual

Destructor.

Definition at line 38 of file KVLifeTime.cpp.

Member Function Documentation

◆ init()

void KVLifeTime::init ( void  )
private

Definition at line 47 of file KVLifeTime.cpp.

◆ IsAResonance()

Bool_t KVLifeTime::IsAResonance ( ) const
inline

Definition at line 45 of file KVLifeTime.h.

◆ SetResonance()

void KVLifeTime::SetResonance ( Bool_t  resonnance)
inline

Changes units according to "resonnance": For resonances, unit is "MeV" For all other lifetimes, unit is "s"

Definition at line 36 of file KVLifeTime.h.