Pluto v6.3.0
Loading...
Searching...
No Matches
PHadronDecayM1 Class Reference

#include <PHadronDecayM1.h>

Inheritance diagram for PHadronDecayM1:
PHadronDecay PChannelModel PDistribution PHadronDecayM2 PHadronDecayM2Mesh

Public Member Functions

 PHadronDecayM1 ()
 PHadronDecayM1 (const Char_t *id, const Char_t *de, Int_t key)
PDistribution * Clone (const char *delme=NULL) const
Bool_t Init (void)
Bool_t Prepare (void)
void SubPrint (Int_t opt) const
Bool_t SampleMass (void)
Bool_t SampleMass (Double_t *mass, Int_t *didx=NULL)
Bool_t GetWidth (Double_t mass, Double_t *width, Int_t didx=-1)
Double_t GetWeight (void)
Double_t GetWeight (Double_t *mass, Int_t *didx=NULL)
int GetDepth (int i=0)
Double_t Eval (Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const
Double_t EvalPar (const Double_t *x, const Double_t *params)
Bool_t CheckAbort (void)
Bool_t IsNotRejected (void)
Public Member Functions inherited from PHadronDecay
 PHadronDecay ()
 PHadronDecay (const Char_t *id, const Char_t *de, Int_t key)
void Use_m0_over_m (int i)
void SetCutoffVersion (int i)
Public Member Functions inherited from PChannelModel
 PChannelModel ()
 PChannelModel (const Char_t *id, const Char_t *de, Int_t key=-1)
Double_t SampleMass (Int_t didx)
Double_t SampleTotalMass (void)
Double_t GetWeight (Double_t mass, Int_t *didx=NULL)
Double_t GetWeight (Double_t mass, Double_t mass2, Int_t *didx=NULL)
Double_t GetWeight (Double_t mass, Double_t mass2, Double_t mass3, Int_t *didx=NULL)
Double_t GetWeight (Double_t mass, Double_t mass2, Double_t mass3, Double_t mass4, Int_t *didx=NULL)
Double_t GetWeight (Double_t mass, Double_t mass2, Double_t mass3, Double_t mass4, Double_t mass5, Int_t *didx=NULL)
virtual TComplex GetAmplitude (Double_t *mass, Int_t *didx=NULL)
Double_t GetWidth (Double_t mass)
Double_t GetBR (Double_t mass)
virtual Bool_t GetBR (Double_t mass, Double_t *br, Double_t totalwidth=-1.)
void SetDraw (Int_t opt)
void SetDidx (Int_t opt)
void SetDynamicRange (Double_t my_mmin, Double_t my_mmax)
Double_t GetMin (void)
Double_t GetMax (void)
void SetMin (Double_t my_mmin)
void SetMax (Double_t my_mmax)
void ClearIntegral (void)
Int_t GetDef ()
void SetWidthInit (Int_t w)
Public Member Functions inherited from PDistribution
 PDistribution ()
 PDistribution (const Char_t *id, const Char_t *de)
virtual ~PDistribution ()
Int_t Add (const Char_t *opt)
Int_t Add (const Char_t *name, int flag, const Char_t *pflag)
Int_t Add (const Char_t *name, const Char_t *flag1, const Char_t *flag2=NULL, const Char_t *flag3=NULL)
Int_t Set (const Char_t *opt)
Int_t Set (const Char_t *name, const Char_t *pflag)
void Reset (void)
Int_t SetParticle (PParticle *part, int pid, int flag)
void ResetRelatives (Int_t flag=0)
const char * GetGroupID (void)
void SetGroupID (const char *gr)
PParticle * GetParticle (const Char_t *pflag=NULL)
Int_t GetStatus (void)
Int_t CheckDaughters (void)
void NoDaughters (void)
void ResetStatus (void)
virtual void Print (const Option_t *delme=NULL) const
void BasePrint (void) const
const Char_t * OptString (void)
const Char_t * Path (void) const
const Char_t * GetIdentifier (void)
const Char_t * GetDescription (void)
void SetEnable (Int_t en)
Int_t GetEnable (void)
void SetActivated (Int_t en)
Int_t GetActivated (void)
void SetVersionFlag (Int_t f)
void ClearVersionFlag (Int_t f)
UInt_t GetVersionFlag (UInt_t f=0xffffffff) const
void DisableSampling (void)
void EnableGenerator (void)
void EnableWeighting (void)
virtual Bool_t FreezeOut (void)
virtual Bool_t SampleMomentum (void)
virtual Bool_t SampleAngle (void)
virtual Bool_t Finalize (void)
virtual Bool_t EndOfChain (void)
virtual Bool_t WriteDebugInfo (PParticle *par)
Int_t GetKey (void)
void SetDecayIdx (Int_t opt)
int LinkDBdone (void)
void LinkDBdone (int i)
void IncrementWeightSum (Double_t w, Double_t sc=1.)
Double_t GetExpectedWeightMean ()
void SetExpectedWeightMean (Double_t w)
Double_t CalcWeightMean ()
void SetWeightMax (Double_t w)
Double_t GetWeightMax (void)
Double_t GetDynamicRange ()
Bool_t Exec (const char *command)
virtual Bool_t ExecCommand (const char *command, Double_t value)
void PreParticles (void)
void SetDrawScaling (Double_t my_draw_scaling)

Protected Member Functions

bool sampleM1 (const double &ecm)
double BWWeight (const int &i1, const double &m, const double &m1, const double &m2, int didx_local1=-1, int i2=0, int didx_local2=-1)
double maxBWWeight (const int &i1, const double &m, const double &lower, const double &upper, double &max1, const double &m2, int didx_local1=-1, int i2=0, int didx_local2=-1)
Protected Member Functions inherited from PHadronDecay
double HadronWidth (const double &m, const double &ma, const double &mb)
Protected Member Functions inherited from PChannelModel
PChannelModel * GetSecondaryModel (const char *)
Protected Member Functions inherited from PDistribution
Int_t GetFlag (const Char_t *flag)

Protected Attributes

int unstable_id
int stable_id
int unstable_position
int stable_position
Double_t unstable_mass
Double_t unstable_ml
Double_t unstable_dynamic_mass
Double_t stable_mass
Double_t scale
Double_t cutoff_condition
PParticle * parent
PParticle * daughter1
PParticle * daughter2
PChannelModel * model1
PChannelModel * model2
int didx1
int didx2
int didx_unstable
Bool_t abort
Bool_t old_maxBWWeight
Protected Attributes inherited from PHadronDecay
int parent_id
int id1
int id2
double parent_mass
double mass1
double mass2
double parent_g0
int use_fixed_delta
double fixed_delta
int angular_l
int cutoff_l
int use_m0_over_m
int cutoff_version
double w0
Protected Attributes inherited from PChannelModel
Double_t width
PMesh * mesh
Int_t width_init
Int_t is_channel
Int_t is_pid
Double_t mmin
Double_t mmax
Int_t maxmesh
Int_t draw_option
int mc_max
int mc
Int_t didx_param
Int_t scfactor_param
Int_t model_param
Int_t pid_param
Double_t * unstable_width
Int_t loop_flag
Protected Attributes inherited from PDistribution
const Char_t * identifier
const Char_t * description
Int_t enable
Int_t is_activated
char * parse [4]
Int_t parse_s
PParticle * particle [MAX_PARTICLE_LIST]
const Char_t * names [MAX_PARTICLE_LIST]
const Char_t * private_flag [MAX_PARTICLE_LIST]
const Char_t * private_flag_int [MAX_PARTICLE_LIST]
const Char_t * opt_string
Int_t particle_flag [MAX_PARTICLE_LIST]
Int_t pid [MAX_PARTICLE_LIST]
Int_t position
Int_t current_flag
Int_t primary_key
Int_t model_def_key
Int_t sec_key
Int_t didx_option
Int_t preliminary_particles
const Char_t * group
Int_t linkdbdone
Int_t no_daughters
UInt_t version_flag
UInt_t relative_warning
Double_t w_sum
Double_t exp_w_mean
Double_t w_num
Double_t dynamic_range
Double_t w_max
Double_t draw_scaling

Additional Inherited Members

Public Attributes inherited from PDistribution
Int_t debug_flag

Detailed Description

Definition at line 14 of file PHadronDecayM1.h.

Constructor & Destructor Documentation

◆ PHadronDecayM1() [1/2]

PHadronDecayM1::PHadronDecayM1 ( )

◆ PHadronDecayM1() [2/2]

PHadronDecayM1::PHadronDecayM1 ( const Char_t * id,
const Char_t * de,
Int_t key )

Member Function Documentation

◆ BWWeight()

double PHadronDecayM1::BWWeight ( const int & i1,
const double & m,
const double & m1,
const double & m2,
int didx_local1 = -1,
int i2 = 0,
int didx_local2 = -1 )
protected

◆ CheckAbort()

Bool_t PHadronDecayM1::CheckAbort ( void )
inlinevirtual

Reimplemented from PDistribution.

Definition at line 38 of file PHadronDecayM1.h.

◆ Clone()

PDistribution * PHadronDecayM1::Clone ( const char * delme = NULL) const
virtual

Reimplemented from PHadronDecay.

Reimplemented in PHadronDecayM2, and PHadronDecayM2Mesh.

◆ Eval()

Double_t PHadronDecayM1::Eval ( Double_t x,
Double_t y = 0,
Double_t z = 0,
Double_t t = 0 ) const
virtual

Reimplemented from PHadronDecay.

◆ EvalPar()

Double_t PHadronDecayM1::EvalPar ( const Double_t * x,
const Double_t * params )
virtual

Reimplemented from PHadronDecay.

◆ GetDepth()

int PHadronDecayM1::GetDepth ( int i = 0)
virtual

Reimplemented from PHadronDecay.

Reimplemented in PHadronDecayM2, and PHadronDecayM2Mesh.

◆ GetWeight() [1/2]

Double_t PHadronDecayM1::GetWeight ( Double_t * mass,
Int_t * didx = NULL )
virtual

Reimplemented from PChannelModel.

Reimplemented in PHadronDecayM2.

◆ GetWeight() [2/2]

Double_t PHadronDecayM1::GetWeight ( void )
virtual

Reimplemented from PChannelModel.

Reimplemented in PHadronDecayM2.

◆ GetWidth()

Bool_t PHadronDecayM1::GetWidth ( Double_t mass,
Double_t * width,
Int_t didx = -1 )
virtual

Reimplemented from PHadronDecay.

Reimplemented in PHadronDecayM2.

◆ Init()

Bool_t PHadronDecayM1::Init ( void )
virtual

Reimplemented from PHadronDecay.

Reimplemented in PHadronDecayM2, and PHadronDecayM2Mesh.

◆ IsNotRejected()

Bool_t PHadronDecayM1::IsNotRejected ( void )
inlinevirtual

Reimplemented from PDistribution.

Definition at line 42 of file PHadronDecayM1.h.

◆ maxBWWeight()

double PHadronDecayM1::maxBWWeight ( const int & i1,
const double & m,
const double & lower,
const double & upper,
double & max1,
const double & m2,
int didx_local1 = -1,
int i2 = 0,
int didx_local2 = -1 )
protected

◆ Prepare()

Bool_t PHadronDecayM1::Prepare ( void )
virtual

Reimplemented from PDistribution.

Reimplemented in PHadronDecayM2, and PHadronDecayM2Mesh.

◆ sampleM1()

bool PHadronDecayM1::sampleM1 ( const double & ecm)
protected

◆ SampleMass() [1/2]

Bool_t PHadronDecayM1::SampleMass ( Double_t * mass,
Int_t * didx = NULL )
virtual

Reimplemented from PHadronDecay.

Reimplemented in PHadronDecayM2.

◆ SampleMass() [2/2]

Bool_t PHadronDecayM1::SampleMass ( void )
virtual

Reimplemented from PHadronDecay.

Reimplemented in PHadronDecayM2.

◆ SubPrint()

void PHadronDecayM1::SubPrint ( Int_t opt) const
virtual

Reimplemented from PDistribution.

Reimplemented in PHadronDecayM2, and PHadronDecayM2Mesh.

Member Data Documentation

◆ abort

Bool_t PHadronDecayM1::abort
protected

Definition at line 66 of file PHadronDecayM1.h.

◆ cutoff_condition

Double_t PHadronDecayM1::cutoff_condition
protected

Definition at line 54 of file PHadronDecayM1.h.

◆ daughter1

PParticle * PHadronDecayM1::daughter1
protected

Definition at line 62 of file PHadronDecayM1.h.

◆ daughter2

PParticle * PHadronDecayM1::daughter2
protected

Definition at line 62 of file PHadronDecayM1.h.

◆ didx1

int PHadronDecayM1::didx1
protected

Definition at line 64 of file PHadronDecayM1.h.

◆ didx2

int PHadronDecayM1::didx2
protected

Definition at line 64 of file PHadronDecayM1.h.

◆ didx_unstable

int PHadronDecayM1::didx_unstable
protected

Definition at line 64 of file PHadronDecayM1.h.

◆ model1

PChannelModel* PHadronDecayM1::model1
protected

Definition at line 63 of file PHadronDecayM1.h.

◆ model2

PChannelModel * PHadronDecayM1::model2
protected

Definition at line 63 of file PHadronDecayM1.h.

◆ old_maxBWWeight

Bool_t PHadronDecayM1::old_maxBWWeight
protected

Definition at line 67 of file PHadronDecayM1.h.

◆ parent

PParticle* PHadronDecayM1::parent
protected

Definition at line 62 of file PHadronDecayM1.h.

◆ scale

Double_t PHadronDecayM1::scale
protected

Definition at line 54 of file PHadronDecayM1.h.

◆ stable_id

int PHadronDecayM1::stable_id
protected

Definition at line 48 of file PHadronDecayM1.h.

◆ stable_mass

Double_t PHadronDecayM1::stable_mass
protected

Definition at line 52 of file PHadronDecayM1.h.

◆ stable_position

int PHadronDecayM1::stable_position
protected

Definition at line 49 of file PHadronDecayM1.h.

◆ unstable_dynamic_mass

Double_t PHadronDecayM1::unstable_dynamic_mass
protected

Definition at line 51 of file PHadronDecayM1.h.

◆ unstable_id

int PHadronDecayM1::unstable_id
protected

Definition at line 48 of file PHadronDecayM1.h.

◆ unstable_mass

Double_t PHadronDecayM1::unstable_mass
protected

Definition at line 50 of file PHadronDecayM1.h.

◆ unstable_ml

Double_t PHadronDecayM1::unstable_ml
protected

Definition at line 50 of file PHadronDecayM1.h.

◆ unstable_position

int PHadronDecayM1::unstable_position
protected

Definition at line 49 of file PHadronDecayM1.h.


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