Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::Decay Class Reference

#include <Decay.h>

Inheritance diagram for Hal::Decay:

Public Member Functions

 Decay (Int_t motherPdg=-1)
 
Int_t GetMotherPdg () const
 
virtual Int_t DecayParticle (McTrack &mother, std::vector< McTrack * > &daughters, Bool_t addToEvent=kFALSE) const
 
void EnableBreightWigner (Bool_t bw=kTRUE)
 
void SetGamma (Double_t gamma)
 
void AddDecayChannel (const DecayChannel &decay)
 
virtual Bool_t Init ()
 

Protected Member Functions

virtual Double_t GetDecayTime (McTrack &mother, Double_t mass) const
 
virtual void Decay2Body (McTrack &mother, std::vector< McTrack * > &daughters, const DecayChannel &channel) const
 
virtual void Decay3Body (McTrack &mother, std::vector< McTrack * > &daughters, const DecayChannel &channel) const
 

Detailed Description

class that performs decay on mc-track

Definition at line 84 of file Decay.h.

Constructor & Destructor Documentation

◆ Decay()

Hal::Decay::Decay ( Int_t motherPdg = -1)
Parameters
motherPdgPID of mother

Definition at line 69 of file Decay.cxx.

◆ ~Decay()

virtual Hal::Decay::~Decay ( )
inlinevirtual

Definition at line 137 of file Decay.h.

Member Function Documentation

◆ AddDecayChannel()

void Hal::Decay::AddDecayChannel ( const DecayChannel & decay)
inline

add decay channel

Parameters
decay

Definition at line 131 of file Decay.h.

◆ Decay2Body()

void Hal::Decay::Decay2Body ( McTrack & mother,
std::vector< McTrack * > & daughters,
const DecayChannel & channel ) const
protectedvirtual

Definition at line 84 of file Decay.cxx.

◆ Decay3Body()

void Hal::Decay::Decay3Body ( McTrack & mother,
std::vector< McTrack * > & daughters,
const DecayChannel & channel ) const
protectedvirtual

Definition at line 130 of file Decay.cxx.

◆ DecayParticle()

Int_t Hal::Decay::DecayParticle ( McTrack & mother,
std::vector< McTrack * > & daughters,
Bool_t addToEvent = kFALSE ) const
virtual
Parameters
mother
daughtersdaugher vector should have at least 3 elements, NOTE: this vector must have allocated tracks this class doesn't own this vector!
addToEventadd to mother event daughters (if possible)
Returns
number of daughters

get random channel

Definition at line 225 of file Decay.cxx.

◆ EnableBreightWigner()

void Hal::Decay::EnableBreightWigner ( Bool_t bw = kTRUE)
inline

switch to breight wigner mass generator

Parameters
bw

Definition at line 121 of file Decay.h.

◆ GetDecayTime()

Double_t Hal::Decay::GetDecayTime ( McTrack & mother,
Double_t mass ) const
protectedvirtual

Definition at line 76 of file Decay.cxx.

◆ GetMotherPdg()

Int_t Hal::Decay::GetMotherPdg ( ) const
inline
Returns
mother pdg

Definition at line 107 of file Decay.h.

◆ Init()

Bool_t Hal::Decay::Init ( )
virtual

inits decayer

Returns

Definition at line 260 of file Decay.cxx.

◆ SetGamma()

void Hal::Decay::SetGamma ( Double_t gamma)
inline

set gamma parameter

Parameters
gamma

Definition at line 126 of file Decay.h.


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