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

#include <PAngularDistribution.h>

Inheritance diagram for PAngularDistribution:
PDistribution PDeltaAngularDistribution PPiOmegaAngularDistribution PSaid PSaidLowEnergy PSaidPN PScatterCrossSection

Public Member Functions

 PAngularDistribution ()
 PAngularDistribution (const Char_t *id, const Char_t *de)
PDistribution * Clone (const char *delme=NULL) const
Bool_t Init (void)
Bool_t Prepare (void)
Bool_t Finalize (void)
Bool_t IsNotRejected (void)
Bool_t CheckAbort (void)
Bool_t SampleAngle (void)
void SetAngleFunction (TF1 *f)
void SetAngleFunction (TF2 *f)
void SetAngleFunction (TGraph *f, Bool_t useSpline=kFALSE, Bool_t useSymmetry=kFALSE)
void SetAngleFunction (TH1 *f)
void SetRotate (Bool_t t)
void NeverAbort (Bool_t t)
void ForceRejectionMethod (Bool_t t)
void Print (const Option_t *delme=NULL) const
virtual Double_t Eval (Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const
virtual Double_t EvalPar (const Double_t *x, const Double_t *params)
virtual double SamplePolarAngle (double r=0)
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)
void BasePrint (void) const
const Char_t * OptString (void)
virtual void SubPrint (Int_t opt) const
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 SampleMass (void)
virtual Bool_t SampleMomentum (void)
virtual Bool_t EndOfChain (void)
virtual Double_t GetWeight (void)
virtual Bool_t WriteDebugInfo (PParticle *par)
Int_t GetKey (void)
void SetDecayIdx (Int_t opt)
virtual int GetDepth (int i=0)
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)

Public Attributes

Bool_t direct_sampling_possible
Bool_t direct_sampling_done
Public Attributes inherited from PDistribution
Int_t debug_flag

Protected Member Functions

Bool_t Rotate (Int_t)
Bool_t RotateBack (Int_t)
Protected Member Functions inherited from PDistribution
Int_t GetFlag (const Char_t *flag)

Protected Attributes

TF1 * angles1
TF2 * angles2
TH1 * anglesh
TGraph * anglesg
TSpline3 * g_spline
PParticle * reference
PParticle * base_reference
PParticle * primary
PParticle * parent
PParticle * align
PParticle * mass_reference
PParticle * daughter [MAX_ANG_NUM]
PParticle * beam
PParticle * target
PParticle * ang_reference
int n_daughters
Bool_t check_abort
Bool_t never_abort
Bool_t always_reject
Bool_t rotate
Bool_t align_is_daughter
Bool_t reflection_symmetry
Bool_t spline
PParticle primary_tmp
PParticle reference_tmp
PParticle ang_tmp
Double_t q_value
Double_t weight_max
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

Detailed Description

Definition at line 19 of file PAngularDistribution.h.

Constructor & Destructor Documentation

◆ PAngularDistribution() [1/2]

PAngularDistribution::PAngularDistribution ( )

◆ PAngularDistribution() [2/2]

PAngularDistribution::PAngularDistribution ( const Char_t * id,
const Char_t * de )

Member Function Documentation

◆ CheckAbort()

Bool_t PAngularDistribution::CheckAbort ( void )
virtual

Reimplemented from PDistribution.

◆ Clone()

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

◆ Eval()

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

◆ EvalPar()

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

◆ Finalize()

Bool_t PAngularDistribution::Finalize ( void )
virtual

Reimplemented from PDistribution.

◆ ForceRejectionMethod()

void PAngularDistribution::ForceRejectionMethod ( Bool_t t)
inline

Definition at line 48 of file PAngularDistribution.h.

◆ Init()

Bool_t PAngularDistribution::Init ( void )
virtual

◆ IsNotRejected()

Bool_t PAngularDistribution::IsNotRejected ( void )
virtual

◆ NeverAbort()

void PAngularDistribution::NeverAbort ( Bool_t t)
inline

Definition at line 47 of file PAngularDistribution.h.

◆ Prepare()

Bool_t PAngularDistribution::Prepare ( void )
virtual

◆ Print()

void PAngularDistribution::Print ( const Option_t * delme = NULL) const
virtual

Reimplemented from PDistribution.

Reimplemented in PDeltaAngularDistribution, and PPiOmegaAngularDistribution.

◆ Rotate()

Bool_t PAngularDistribution::Rotate ( Int_t )
protected

◆ RotateBack()

Bool_t PAngularDistribution::RotateBack ( Int_t )
protected

◆ SampleAngle()

Bool_t PAngularDistribution::SampleAngle ( void )
virtual

Reimplemented from PDistribution.

◆ SamplePolarAngle()

virtual double PAngularDistribution::SamplePolarAngle ( double r = 0)
virtual

◆ SetAngleFunction() [1/4]

void PAngularDistribution::SetAngleFunction ( TF1 * f)
inline

Definition at line 34 of file PAngularDistribution.h.

◆ SetAngleFunction() [2/4]

void PAngularDistribution::SetAngleFunction ( TF2 * f)
inline

Definition at line 35 of file PAngularDistribution.h.

◆ SetAngleFunction() [3/4]

void PAngularDistribution::SetAngleFunction ( TGraph * f,
Bool_t useSpline = kFALSE,
Bool_t useSymmetry = kFALSE )
inline

Definition at line 36 of file PAngularDistribution.h.

◆ SetAngleFunction() [4/4]

void PAngularDistribution::SetAngleFunction ( TH1 * f)
inline

Definition at line 44 of file PAngularDistribution.h.

◆ SetRotate()

void PAngularDistribution::SetRotate ( Bool_t t)
inline

Definition at line 46 of file PAngularDistribution.h.

Member Data Documentation

◆ align

PParticle* PAngularDistribution::align
protected

Definition at line 70 of file PAngularDistribution.h.

◆ align_is_daughter

Bool_t PAngularDistribution::align_is_daughter
protected

Definition at line 78 of file PAngularDistribution.h.

◆ always_reject

Bool_t PAngularDistribution::always_reject
protected

Definition at line 76 of file PAngularDistribution.h.

◆ ang_reference

PParticle* PAngularDistribution::ang_reference
protected

Definition at line 74 of file PAngularDistribution.h.

◆ ang_tmp

PParticle PAngularDistribution::ang_tmp
protected

Definition at line 83 of file PAngularDistribution.h.

◆ angles1

TF1* PAngularDistribution::angles1
protected

Definition at line 61 of file PAngularDistribution.h.

◆ angles2

TF2* PAngularDistribution::angles2
protected

Definition at line 62 of file PAngularDistribution.h.

◆ anglesg

TGraph* PAngularDistribution::anglesg
protected

Definition at line 64 of file PAngularDistribution.h.

◆ anglesh

TH1* PAngularDistribution::anglesh
protected

Definition at line 63 of file PAngularDistribution.h.

◆ base_reference

PParticle* PAngularDistribution::base_reference
protected

Definition at line 67 of file PAngularDistribution.h.

◆ beam

PParticle* PAngularDistribution::beam
protected

Definition at line 72 of file PAngularDistribution.h.

◆ check_abort

Bool_t PAngularDistribution::check_abort
protected

Definition at line 76 of file PAngularDistribution.h.

◆ daughter

PParticle * PAngularDistribution::daughter[MAX_ANG_NUM]
protected

Definition at line 71 of file PAngularDistribution.h.

◆ direct_sampling_done

Bool_t PAngularDistribution::direct_sampling_done

Definition at line 57 of file PAngularDistribution.h.

◆ direct_sampling_possible

Bool_t PAngularDistribution::direct_sampling_possible

Definition at line 57 of file PAngularDistribution.h.

◆ g_spline

TSpline3* PAngularDistribution::g_spline
protected

Definition at line 65 of file PAngularDistribution.h.

◆ mass_reference

PParticle* PAngularDistribution::mass_reference
protected

Definition at line 71 of file PAngularDistribution.h.

◆ n_daughters

int PAngularDistribution::n_daughters
protected

Definition at line 75 of file PAngularDistribution.h.

◆ never_abort

Bool_t PAngularDistribution::never_abort
protected

Definition at line 76 of file PAngularDistribution.h.

◆ parent

PParticle* PAngularDistribution::parent
protected

Definition at line 69 of file PAngularDistribution.h.

◆ primary

PParticle* PAngularDistribution::primary
protected

Definition at line 68 of file PAngularDistribution.h.

◆ primary_tmp

PParticle PAngularDistribution::primary_tmp
protected

Definition at line 82 of file PAngularDistribution.h.

◆ q_value

Double_t PAngularDistribution::q_value
protected

Definition at line 87 of file PAngularDistribution.h.

◆ reference

PParticle* PAngularDistribution::reference
protected

Definition at line 66 of file PAngularDistribution.h.

◆ reference_tmp

PParticle PAngularDistribution::reference_tmp
protected

Definition at line 82 of file PAngularDistribution.h.

◆ reflection_symmetry

Bool_t PAngularDistribution::reflection_symmetry
protected

Definition at line 79 of file PAngularDistribution.h.

◆ rotate

Bool_t PAngularDistribution::rotate
protected

Definition at line 77 of file PAngularDistribution.h.

◆ spline

Bool_t PAngularDistribution::spline
protected

Definition at line 80 of file PAngularDistribution.h.

◆ target

PParticle* PAngularDistribution::target
protected

Definition at line 73 of file PAngularDistribution.h.

◆ weight_max

Double_t PAngularDistribution::weight_max
protected

Definition at line 89 of file PAngularDistribution.h.


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