]>
Commit | Line | Data |
---|---|---|
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 | |
0ca57c2f | 9 | // Copyright (C) 2011 University of Warwick, UK |
da0e9ce3 | 10 | // |
0ca57c2f | 11 | // Description: Use the Tauola external generator for tau decays |
da0e9ce3 | 12 | // |
13 | // Modification history: | |
14 | // | |
0ca57c2f | 15 | // John Back May 2011 Module created |
da0e9ce3 | 16 | // |
17 | //------------------------------------------------------------------------ | |
18 | ||
0ca57c2f | 19 | #ifndef EVTTAUOLA_HH |
20 | #define EVTTAUOLA_HH | |
da0e9ce3 | 21 | |
22 | #include "EvtGenBase/EvtDecayIncoherent.hh" | |
23 | ||
24 | class EvtParticle; | |
0ca57c2f | 25 | class EvtAbsExternalGen; |
26 | class EvtDecayBase; | |
da0e9ce3 | 27 | |
0ca57c2f | 28 | class EvtTauola: public EvtDecayIncoherent { |
da0e9ce3 | 29 | |
30 | public: | |
0ca57c2f | 31 | |
32 | EvtTauola(); | |
33 | virtual ~EvtTauola(); | |
da0e9ce3 | 34 | |
35 | std::string getName(); | |
0ca57c2f | 36 | |
da0e9ce3 | 37 | EvtDecayBase* clone(); |
38 | ||
da0e9ce3 | 39 | void initProbMax(); |
0ca57c2f | 40 | void init(); |
da0e9ce3 | 41 | |
42 | void decay(EvtParticle *p); | |
43 | ||
0ca57c2f | 44 | protected: |
45 | ||
46 | EvtAbsExternalGen* _tauolaEngine; | |
47 | ||
48 | private: | |
49 | ||
da0e9ce3 | 50 | }; |
51 | ||
52 | #endif | |
0ca57c2f | 53 |