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

#include <PHadronDecayM2Mesh.h>

Inheritance diagram for PHadronDecayM2Mesh:
PHadronDecayM2 PHadronDecayM1 PHadronDecay PChannelModel PDistribution

Public Member Functions

 PHadronDecayM2Mesh ()
 PHadronDecayM2Mesh (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
int GetDepth (int i=0)
Public Member Functions inherited from PHadronDecayM2
 PHadronDecayM2 ()
 PHadronDecayM2 (const Char_t *id, const Char_t *de, Int_t key)
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 (Double_t *mass, Int_t *didx=NULL)
Double_t GetWeight (void)
Public Member Functions inherited from PHadronDecayM1
 PHadronDecayM1 ()
 PHadronDecayM1 (const Char_t *id, const Char_t *de, Int_t key)
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

void initGridBounds ()
void calculateSlice (int slice_idx, double ecm_slice)
bool sampleM2 (const double &ecm)
Protected Member Functions inherited from PHadronDecayM1
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

Double_t ecm_grid_min
Double_t ecm_grid_max
Double_t ecm_step
Bool_t is_calculated [N_ECM]
Double_t cell_ceiling [N_ECM][N1][N2]
Double_t total_weight_sum [N_ECM]
Double_t cell_cum_weight [N_ECM][MAX_CELLS]
Int_t cell_i [N_ECM][MAX_CELLS]
Int_t cell_j [N_ECM][MAX_CELLS]
Int_t valid_cells_cnt [N_ECM]
Protected Attributes inherited from PHadronDecayM2
Double_t dynamic_mass1
Double_t dynamic_mass2
Protected Attributes inherited from PHadronDecayM1
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

Static Protected Attributes

static const int N_ECM = 100
static const int N1 = 20
static const int N2 = 20
static const int MAX_CELLS = N1 * N2

Additional Inherited Members

Public Attributes inherited from PDistribution
Int_t debug_flag

Detailed Description

Definition at line 14 of file PHadronDecayM2Mesh.h.

Constructor & Destructor Documentation

◆ PHadronDecayM2Mesh() [1/2]

PHadronDecayM2Mesh::PHadronDecayM2Mesh ( )

◆ PHadronDecayM2Mesh() [2/2]

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

Member Function Documentation

◆ calculateSlice()

void PHadronDecayM2Mesh::calculateSlice ( int slice_idx,
double ecm_slice )
protected

◆ Clone()

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

Reimplemented from PHadronDecayM2.

◆ GetDepth()

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

Reimplemented from PHadronDecayM2.

◆ Init()

Bool_t PHadronDecayM2Mesh::Init ( void )
virtual

Reimplemented from PHadronDecayM2.

◆ initGridBounds()

void PHadronDecayM2Mesh::initGridBounds ( )
protected

◆ Prepare()

Bool_t PHadronDecayM2Mesh::Prepare ( void )
virtual

Reimplemented from PHadronDecayM2.

◆ sampleM2()

bool PHadronDecayM2Mesh::sampleM2 ( const double & ecm)
protectedvirtual

Reimplemented from PHadronDecayM2.

◆ SubPrint()

void PHadronDecayM2Mesh::SubPrint ( Int_t opt) const
virtual

Reimplemented from PHadronDecayM2.

Member Data Documentation

◆ cell_ceiling

Double_t PHadronDecayM2Mesh::cell_ceiling[N_ECM][N1][N2]
protected

Definition at line 40 of file PHadronDecayM2Mesh.h.

◆ cell_cum_weight

Double_t PHadronDecayM2Mesh::cell_cum_weight[N_ECM][MAX_CELLS]
protected

Definition at line 42 of file PHadronDecayM2Mesh.h.

◆ cell_i

Int_t PHadronDecayM2Mesh::cell_i[N_ECM][MAX_CELLS]
protected

Definition at line 43 of file PHadronDecayM2Mesh.h.

◆ cell_j

Int_t PHadronDecayM2Mesh::cell_j[N_ECM][MAX_CELLS]
protected

Definition at line 44 of file PHadronDecayM2Mesh.h.

◆ ecm_grid_max

Double_t PHadronDecayM2Mesh::ecm_grid_max
protected

Definition at line 35 of file PHadronDecayM2Mesh.h.

◆ ecm_grid_min

Double_t PHadronDecayM2Mesh::ecm_grid_min
protected

Definition at line 34 of file PHadronDecayM2Mesh.h.

◆ ecm_step

Double_t PHadronDecayM2Mesh::ecm_step
protected

Definition at line 36 of file PHadronDecayM2Mesh.h.

◆ is_calculated

Bool_t PHadronDecayM2Mesh::is_calculated[N_ECM]
protected

Definition at line 39 of file PHadronDecayM2Mesh.h.

◆ MAX_CELLS

const int PHadronDecayM2Mesh::MAX_CELLS = N1 * N2
staticprotected

Definition at line 32 of file PHadronDecayM2Mesh.h.

◆ N1

const int PHadronDecayM2Mesh::N1 = 20
staticprotected

Definition at line 30 of file PHadronDecayM2Mesh.h.

◆ N2

const int PHadronDecayM2Mesh::N2 = 20
staticprotected

Definition at line 31 of file PHadronDecayM2Mesh.h.

◆ N_ECM

const int PHadronDecayM2Mesh::N_ECM = 100
staticprotected

Definition at line 29 of file PHadronDecayM2Mesh.h.

◆ total_weight_sum

Double_t PHadronDecayM2Mesh::total_weight_sum[N_ECM]
protected

Definition at line 41 of file PHadronDecayM2Mesh.h.

◆ valid_cells_cnt

Int_t PHadronDecayM2Mesh::valid_cells_cnt[N_ECM]
protected

Definition at line 45 of file PHadronDecayM2Mesh.h.


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