Pluto v6.3.0
Loading...
Searching...
No Matches
PFixedProduction.h
Go to the documentation of this file.
1// Author: I. Froehlich
2// Written: 22.10.2010
3
4#ifndef _PFIXEDPRODUCTION_H_
5#define _PFIXEDPRODUCTION_H_
6
7#include "PChannelModel.h"
8#include "PDynamicData.h"
9#include "PKinematics.h"
10
12
13 public:
15 PFixedProduction(const Char_t *id, const Char_t *de, Int_t key);
16 PDistribution *Clone(const char*delme=NULL) const;
17
18 Bool_t Init(void);
19 Bool_t SampleMass(void);
20 Bool_t SampleMass(Double_t *mass, Int_t *didx=NULL);
21
22 Bool_t SampleMomentum(void);
23
24 int GetDepth(int i=0);
25
26 protected:
27
29 int parent_id, d_id; //PIDs
30 double parent_mass, dmass; //Static Masses
31
32 ClassDef(PFixedProduction, 0) // Production of a+b -> X
33};
34
35#endif
36
37
PFixedProduction(const Char_t *id, const Char_t *de, Int_t key)
Bool_t SampleMass(Double_t *mass, Int_t *didx=NULL)
Bool_t Init(void)
Bool_t SampleMass(void)
PDistribution * Clone(const char *delme=NULL) const
Bool_t SampleMomentum(void)
int GetDepth(int i=0)
Double_t mass