CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/GeneratorInterface/Pythia8Interface/interface/LHAupLesHouches.h

Go to the documentation of this file.
00001 #include <algorithm>
00002 #include <iostream>
00003 #include <iterator>
00004 #include <sstream>
00005 #include <string>
00006 #include <memory>
00007 #include <assert.h>
00008 
00009 #include <boost/shared_ptr.hpp>
00010 
00011 #include <HepMC/GenEvent.h>
00012 #include <HepMC/GenParticle.h>
00013 
00014 #include <Pythia.h>
00015 #include <LesHouches.h>
00016 #include <HepMCInterface.h>
00017 
00018 #include "SimDataFormats/GeneratorProducts/interface/LesHouches.h"
00019 #include "GeneratorInterface/LHEInterface/interface/LHERunInfo.h"
00020 #include "GeneratorInterface/LHEInterface/interface/LHEEvent.h"
00021 
00022 class LHAupLesHouches : public Pythia8::LHAup {
00023     public:
00024         LHAupLesHouches() {;}
00025 
00026         //void loadRunInfo(const boost::shared_ptr<lhef::LHERunInfo> &runInfo)
00027     void loadRunInfo(lhef::LHERunInfo* runInfo)
00028         { this->runInfo = runInfo; }
00029 
00030         //void loadEvent(const boost::shared_ptr<lhef::LHEEvent> &event)
00031     void loadEvent(lhef::LHEEvent* event)
00032         { this->event = event; }
00033 
00034     private:
00035 
00036         bool setInit();
00037         bool setEvent(int idProcIn);
00038 
00039 //      Hadronisation                   *hadronisation;
00040         //boost::shared_ptr<lhef::LHERunInfo>   runInfo;
00041     lhef::LHERunInfo* runInfo;
00042         //boost::shared_ptr<lhef::LHEEvent>     event;
00043     lhef::LHEEvent* event;
00044 };
00045