CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TauolaInterface.h
Go to the documentation of this file.
1 #ifndef gen_TauolaInterface_TauolaInterface_h
2 #define gen_TauolaInterface_TauolaInterface_h
3 
4 #include "HepPDT/defs.h"
5 #include "HepPDT/TableBuilder.hh"
6 #include "HepPDT/ParticleDataTable.hh"
7 
11 #include "CLHEP/Random/RandomEngine.h"
13 
14 class Pythia6Service;
15 
16 namespace HepMC
17 {
18 class GenEvent;
19 }
20 
21 namespace CLHEP
22 {
23 class HepRandomEngine;
24 }
25 
26 
27 namespace gen {
28 
30  {
31  public:
32 
33  // ctor & dtor
36 
37  void SetDecayRandomEngine(CLHEP::HepRandomEngine* decayRandomEngine);
38  void enablePolarization() { fPolarization = 1; return; }
39  void disablePolarization() { fPolarization = 0; return; }
40  void init( const edm::EventSetup& );
41  const std::vector<int>& operatesOnParticles() { return fPDGs; }
42  HepMC::GenEvent* decay( HepMC::GenEvent* );
43  void statistics() ;
44 
45  private:
47 
51  //CLHEP::HepRandomEngine* fRandomEngine;
52  //CLHEP::RandFlat* fRandomGenerator;
53 
54  };
55 }
56 
57 #endif
CLHEP::HepRandomEngine * decayRandomEngine
HepMC::GenEvent * decay(HepMC::GenEvent *)
TauolaInterface(const edm::ParameterSet &)
const std::vector< int > & operatesOnParticles()
void SetDecayRandomEngine(CLHEP::HepRandomEngine *decayRandomEngine)
edm::ESHandle< HepPDT::ParticleDataTable > fPDGTable
Pythia6Service * fPy6Service
void init(const edm::EventSetup &)