CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PythiaDecays.h
Go to the documentation of this file.
1 #ifndef PythiaDecays_h
2 #define PythiaDecays_h
3 
4 #include <vector>
5 
6 // Needed for Pythia8
7 #include <HepMC/GenEvent.h>
8 #include <HepMC/GenParticle.h>
9 #include <Pythia.h>
10 #include <HepMCInterface.h>
16 
17 class ParticlePropagator;
18 class Pythia6jets;
20 
21 typedef std::vector<RawParticle> DaughterParticleList;
22 typedef DaughterParticleList::const_iterator DaughterParticleIterator;
23 
24 namespace gen { class Pythia6Service; } // remove?
25 //using namespace gen;
26 
28 {
29  public:
30  PythiaDecays(std::string program);
31  ~PythiaDecays();
32 
37 
38  private:
41  // for Pythia6:
44  // for Pythia8:
45  std::auto_ptr<Pythia8::Pythia> pythia;
46  std::auto_ptr<Pythia8::Pythia> decayer;
47 
48 };
49 #endif
gen::Pythia6Service * pyservice
Definition: PythiaDecays.h:42
DaughterParticleList::const_iterator DaughterParticleIterator
Definition: PythiaDecays.h:22
DaughterParticleList theList
Definition: PythiaDecays.h:39
const DaughterParticleList & particleDaughtersPy8(ParticlePropagator &particle)
Definition: PythiaDecays.cc:51
const DaughterParticleList & particleDaughtersPy6(ParticlePropagator &particle)
std::auto_ptr< Pythia8::Pythia > decayer
Definition: PythiaDecays.h:46
std::string program_
Definition: PythiaDecays.h:40
Pythia6jets * pyjets
Definition: PythiaDecays.h:43
std::auto_ptr< Pythia8::Pythia > pythia
Definition: PythiaDecays.h:45
PythiaDecays(std::string program)
Definition: PythiaDecays.cc:21
std::vector< RawParticle > DaughterParticleList
Definition: PythiaDecays.h:19