CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LHAupLesHouches.h
Go to the documentation of this file.
1 #include <algorithm>
2 #include <iostream>
3 #include <iterator>
4 #include <sstream>
5 #include <string>
6 #include <memory>
7 #include <assert.h>
8 
9 #include "boost/shared_ptr.hpp"
10 
11 #include "HepMC/GenEvent.h"
12 #include "HepMC/GenParticle.h"
13 
14 #include "Pythia8/Pythia.h"
15 #include "Pythia8/LesHouches.h"
16 #include "Pythia8Plugins/HepMC2.h"
17 
21 
22 class LHAupLesHouches : public Pythia8::LHAup {
23  public:
25 
26  //void loadRunInfo(const boost::shared_ptr<lhef::LHERunInfo> &runInfo)
28  { this->runInfo = runInfo; }
29 
30  //void loadEvent(const boost::shared_ptr<lhef::LHEEvent> &event)
32  { this->event = event; }
33 
35 
37 
38  private:
39 
40  bool setInit();
41  bool setEvent(int idProcIn);
42 
43  //boost::shared_ptr<lhef::LHERunInfo> runInfo;
45  //boost::shared_ptr<lhef::LHEEvent> event;
47 
48  // Flag to set particle production scales or not.
50 
51  std::map<std::string, std::string> * fEvAttributes;
52 };
void setScalesFromLHEF(bool b)
lhef::LHEEvent * event
void loadRunInfo(lhef::LHERunInfo *runInfo)
double b
Definition: hdecay.h:120
bool setEvent(int idProcIn)
lhef::LHERunInfo * runInfo
std::map< std::string, std::string > * fEvAttributes
volatile std::atomic< bool > shutdown_flag false
void loadEvent(lhef::LHEEvent *event)