]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/EvtGenBase/EvtDecayProb.hh
New plots for trending injector efficiencies (Melinda)
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenBase / EvtDecayProb.hh
CommitLineData
da0e9ce3 1//--------------------------------------------------------------------------
2//
3// Environment:
4// This software is part of the EvtGen package developed jointly
5// for the BaBar and CLEO collaborations. If you use all or part
6// of it, please give an appropriate acknowledgement.
7//
8// Copyright Information: See EvtGen/COPYRIGHT
9// Copyright (C) 1998 Caltech, UCSB
10//
11// Module: EvtGen/EvtDecayProb.hh
12//
13// Description:
14//
15// Modification history:
16//
17// DJL/RYD August 11, 1998 Module created
18//
19//------------------------------------------------------------------------
20
21#ifndef EvtDecayProb_HH
22#define EvtDecayProb_HH
23
24#include "EvtGenBase/EvtDecayBase.hh"
25
26class EvtParticle;
27
28class EvtDecayProb : public EvtDecayBase{
29
30public:
31
32 void makeDecay(EvtParticle* p, bool recursive=true);
33
34 void setProb(double prob) { _prob=prob;}
35 double getProb() { return _prob;}
36 inline void setWeight(double weight) {_weight=weight;}
37
38 virtual ~EvtDecayProb() {}
39
40
41private:
42
43 double _prob;
44 double _weight;
45
46};
47
48
49
50#endif
51
52
53
54