CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/GeneratorInterface/PartonShowerVeto/interface/JetMatchingAlpgen.h

Go to the documentation of this file.
00001 #ifndef GeneratorInterface_PartonShowerVeto_JetMatchingMadggraph_h
00002 #define GeneratorInterface_PartonShowerVeto_JetMatchingMadgraph_h
00003 
00004 
00005 #include "GeneratorInterface/PartonShowerVeto/interface/JetMatching.h"
00006 #include "GeneratorInterface/AlpgenInterface/interface/AlpgenHeader.h"
00007 #include "GeneratorInterface/AlpgenInterface/interface/AlpgenCommonBlocks.h"
00008 
00009 namespace gen
00010 {
00011 
00012 class JetMatchingAlpgen : public JetMatching {
00013     public:
00014         JetMatchingAlpgen(const edm::ParameterSet &params);
00015         ~JetMatchingAlpgen();
00016 
00017     private:
00018         void init(const lhef::LHERunInfo* runInfo);
00019         void beforeHadronisation(const lhef::LHEEvent* event);
00020         
00021         int match(const HepMC::GenEvent* partonLevel,
00022                   const HepMC::GenEvent* finalState,
00023                   bool showeredFinalState);
00024 
00025         std::set<std::string> capabilities() const;
00026 
00027         bool applyMatching;
00028         bool runInitialized;
00029         bool eventInitialized;
00030 
00031         AlpgenHeader header;
00032 };
00033 
00034 } // namespace gen
00035 
00036 
00037 #endif // GeneratorCommon_PartonShowerVeto_JetMatchingAlpgen_h