CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ExhumeProducer.h
Go to the documentation of this file.
1 #ifndef Exhume_Producer_h
2 #define Exhume_Producer_h
3 
13 #include "HepMC/GenEvent.h"
14 
15 class Run;
16 namespace CLHEP {
17 class HepRandomEngine;
18 class RandFlat;
19 }
20 
21 namespace Exhume {
22 class Event;
23 class CrossSection;
24 }
25 
26 namespace edm
27 {
28  class ExhumeProducer : public EDProducer {
29 
30  public:
31 
35  virtual ~ExhumeProducer();
36 
37  void endRun( Run& r);
38 
39  private:
40 
42  //bool call_pygive(const std::string& iParm );
43  //bool call_txgive(const std::string& iParm );
44  //bool call_txgive_init();
45 
46  private:
47 
48  virtual void produce(edm::Event & e, const EventSetup& es);
49  void clear();
50 
51  HepMC::GenEvent *evt;
52 
54  unsigned int pythiaPylistVerbosity_;
58  unsigned int maxEventsToPrint_;
59 
60  double comEnergy_;
61 
62  // external cross section and filter efficiency
63  double extCrossSect_;
64  double extFilterEff_;
65 
66  CLHEP::HepRandomEngine* fRandomEngine;
67  CLHEP::RandFlat* fRandomGenerator;
68 
71 
72  int sigID_;
73 
74 // Added by JMM
75  unsigned int eventNumber_;
76 // End of JMM insertion
77  };
78 }
79 
80 #endif
HepMC::GenEvent * evt
bool pythiaHepMCVerbosity_
HepMC verbosity flag.
virtual void produce(edm::Event &e, const EventSetup &es)
Interface to the PYGIVE pythia routine, with add'l protections.
unsigned int pythiaPylistVerbosity_
Pythia PYLIST Verbosity flag.
Exhume::CrossSection * exhumeProcess_
CLHEP::HepRandomEngine * fRandomEngine
CLHEP::RandFlat * fRandomGenerator
Exhume::Event * exhumeEvent_
virtual ~ExhumeProducer()
Destructor.
unsigned int eventNumber_
unsigned int maxEventsToPrint_
Events to print if verbosity.
ExhumeProducer(const ParameterSet &)
Constructor.
Definition: Run.h:32