Pluto v6.3.0
Loading...
Searching...
No Matches
PEEDirectDecay.h
Go to the documentation of this file.
1// Author: I. Froehlich
2// Written: 27.5.2007
3// Revised:
4
5#ifndef _PEEDIRECTDECAY_H_
6#define _PEEDIRECTDECAY_H_
7
8#include "TF1.h"
9#include "TF2.h"
10#include "PChannelModel.h"
11#include "PDynamicData.h"
12#include "PKinematics.h"
13
15
16 public:
18 PEEDirectDecay(const Char_t *id, const Char_t *de, Int_t key=-1);
19 PDistribution *Clone(const char *delme=NULL) const;
20
21 Bool_t Init(void);
22 Bool_t SampleMass(void);
23 Bool_t SampleMass(Double_t *mass, Int_t *didx=NULL);
24
25 Bool_t GetWidth(Double_t mass, Double_t *width, Int_t didx=-1);
26
28 Double_t GetWeight(Double_t *mass, Int_t *didx=NULL);
29 int GetDepth(int i=0);
30
31 virtual Double_t Eval(Double_t x, Double_t y = 0, Double_t z = 0, Double_t t = 0) const;
32 //TF1 wrapper
33
34 void SetPiCutoff(int i) {
36 };
37 void SetHadronicPS(int i) {
39 };
40
41 protected:
42
44
47 double cv, mlep;
48
49 ClassDef(PEEDirectDecay, 0) // Direct decays of vector mesons -> dilepton/dimuon
50};
51
52#endif
53
54
virtual Double_t GetWeight(void)
Bool_t GetWidth(Double_t mass, Double_t *width, Int_t didx=-1)
void SetHadronicPS(int i)
PDistribution * Clone(const char *delme=NULL) const
Bool_t SampleMass(void)
PEEDirectDecay(const Char_t *id, const Char_t *de, Int_t key=-1)
Bool_t SampleMass(Double_t *mass, Int_t *didx=NULL)
void SetPiCutoff(int i)
virtual Double_t Eval(Double_t x, Double_t y=0, Double_t z=0, Double_t t=0) const
int GetDepth(int i=0)
Double_t GetWeight(Double_t *mass, Int_t *didx=NULL)
PParticle * parent
PParticle * e2
Bool_t Init(void)
PParticle * e1
Double_t mass