6#ifndef _PDISTRIBUTION_H_
7#define _PDISTRIBUTION_H_
9#define MAX_PARTICLE_LIST 10
10#define PARTICLE_LIST_DAUGHTER 1
11#define PARTICLE_LIST_PARENT 2
12#define PARTICLE_LIST_GRANDPARENT 4
13#define PARTICLE_LIST_GRANDGRANDPARENT 8
14#define PARTICLE_LIST_GRANDDAUGHTER 16
15#define PARTICLE_LIST_SIBLING 128
17#define DISTRIBUTION_QUASI_PID 1000
18#define DISTRIBUTION_SOMETHING_PID 2000
19#define DISTRIBUTION_NUCLEON_PID 3000
22#define VERSION_SAMPLING 1
23#define VERSION_WEIGHTING 2
24#define VERSION_INVERT_WEIGHTING 4
25#define VERSION_MASS_SAMPLING 128
26#define VERSION_IS_PRIMARY 256
27#define VERSION_GENERATOR_MC 512
28#define VERSION_NO_PHASE_SPACE 1024
29#define VERSION_FORCE_NO_PARTIAL_WIDTH 2048
48 Int_t
Add(
const Char_t *opt);
49 Int_t
Add(
const Char_t *name,
int flag,
52 Int_t
Add(
const Char_t *name,
const Char_t *flag1,
53 const Char_t *flag2 = NULL,
const Char_t *flag3 = NULL);
56 Int_t
Set(
const Char_t *opt);
57 Int_t
Set(
const Char_t *name,
const Char_t *pflag);
80 virtual void Print(
const Option_t *delme=NULL)
const ;
84 const Char_t *
Path(
void)
const;
185 Bool_t
Exec(
const char * command);
#define MAX_PARTICLE_LIST
#define VERSION_WEIGHTING
#define VERSION_INVERT_WEIGHTING
virtual Bool_t Prepare(void)
virtual Bool_t EndOfChain(void)
const Char_t * opt_string
const char * GetGroupID(void)
Double_t GetDynamicRange()
Int_t Set(const Char_t *name, const Char_t *pflag)
virtual Bool_t FreezeOut(void)
virtual Bool_t SampleAngle(void)
Int_t Add(const Char_t *name, int flag, const Char_t *pflag)
void SetDrawScaling(Double_t my_draw_scaling)
Int_t Add(const Char_t *name, const Char_t *flag1, const Char_t *flag2=NULL, const Char_t *flag3=NULL)
virtual int GetDepth(int i=0)
Int_t preliminary_particles
Int_t CheckDaughters(void)
const Char_t * description
void BasePrint(void) const
void ResetRelatives(Int_t flag=0)
PParticle * particle[MAX_PARTICLE_LIST]
Bool_t Exec(const char *command)
virtual Bool_t SampleMass(void)
Int_t Add(const Char_t *opt)
const Char_t * GetIdentifier(void)
virtual PDistribution * Clone(const char *delme=NULL) const
PParticle * GetParticle(const Char_t *pflag=NULL)
virtual Bool_t ExecCommand(const char *command, Double_t value)
Int_t particle_flag[MAX_PARTICLE_LIST]
virtual Double_t GetWeight(void)
virtual Bool_t WriteDebugInfo(PParticle *par)
virtual Bool_t IsNotRejected(void)
Int_t GetFlag(const Char_t *flag)
void SetDecayIdx(Int_t opt)
Double_t CalcWeightMean()
const Char_t * GetDescription(void)
Double_t GetExpectedWeightMean()
const Char_t * Path(void) const
UInt_t GetVersionFlag(UInt_t f=0xffffffff) const
const Char_t * OptString(void)
virtual void SubPrint(Int_t opt) const
void IncrementWeightSum(Double_t w, Double_t sc=1.)
void EnableGenerator(void)
Int_t pid[MAX_PARTICLE_LIST]
void SetActivated(Int_t en)
virtual void Print(const Option_t *delme=NULL) const
void ClearVersionFlag(Int_t f)
void SetGroupID(const char *gr)
void SetVersionFlag(Int_t f)
Double_t GetWeightMax(void)
void SetWeightMax(Double_t w)
PDistribution(const Char_t *id, const Char_t *de)
const Char_t * private_flag[MAX_PARTICLE_LIST]
Int_t Set(const Char_t *opt)
virtual Bool_t CheckAbort(void)
void SetExpectedWeightMean(Double_t w)
Int_t SetParticle(PParticle *part, int pid, int flag)
const Char_t * private_flag_int[MAX_PARTICLE_LIST]
virtual Bool_t Init(void)
virtual Bool_t SampleMomentum(void)
const Char_t * identifier
const Char_t * names[MAX_PARTICLE_LIST]
void DisableSampling(void)
void EnableWeighting(void)
virtual Bool_t Finalize(void)