]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/EvtGenExternal/EvtPythia.hh
Fix axis label
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenExternal / EvtPythia.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
0ca57c2f 10// 2011 University of Warwick, UK
da0e9ce3 11//
0ca57c2f 12// Module: EvtGen/EvtPythia.hh
da0e9ce3 13//
14// Description:
0ca57c2f 15// Class to handle generic phase space decays not done
16// in other decay models.
da0e9ce3 17//
18// Modification history:
19//
20// DJL/RYD August 11, 1998 Module created
0ca57c2f 21// JJB April 2011 Modified to use new Pythia8 interface
da0e9ce3 22//
23//------------------------------------------------------------------------
24
0ca57c2f 25#ifndef EVTPYTHIA_HH
26#define EVTPYTHIA_HH
da0e9ce3 27
28#include "EvtGenBase/EvtDecayIncoherent.hh"
29
0ca57c2f 30#include <string>
31#include <vector>
32
da0e9ce3 33class EvtParticle;
0ca57c2f 34class EvtAbsExternalGen;
35class EvtDecayBase;
da0e9ce3 36
0ca57c2f 37class EvtPythia: public EvtDecayIncoherent {
da0e9ce3 38
39public:
0ca57c2f 40
41 EvtPythia();
42 virtual ~EvtPythia();
da0e9ce3 43
44 std::string getName();
0ca57c2f 45
da0e9ce3 46 EvtDecayBase* clone();
47
da0e9ce3 48 void initProbMax();
49
0ca57c2f 50 void init();
51
52 void decay(EvtParticle *p);
53
54 std::string commandName();
55 void command(std::string);
56
57protected:
58
59 EvtAbsExternalGen* _pythiaEngine;
60
61private:
62
63 void fixPolarisations(EvtParticle *p);
64 std::vector<std::string> _commandList;
da0e9ce3 65
66};
67
68#endif
0ca57c2f 69