Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:07:21

0001 #ifndef GeneratorInterface_PartonShowerVeto_JetMatchingAlpgen_h
0002 #define GeneratorInterface_PartonShowerVeto_JetMatchingAlpgen_h
0003 
0004 #include "GeneratorInterface/PartonShowerVeto/interface/JetMatching.h"
0005 #include "GeneratorInterface/AlpgenInterface/interface/AlpgenHeader.h"
0006 #include "GeneratorInterface/AlpgenInterface/interface/AlpgenCommonBlocks.h"
0007 
0008 namespace gen {
0009 
0010   class JetMatchingAlpgen : public JetMatching {
0011   public:
0012     JetMatchingAlpgen(const edm::ParameterSet& params);
0013     ~JetMatchingAlpgen() override;
0014 
0015   private:
0016     void init(const lhef::LHERunInfo* runInfo) override;
0017     void beforeHadronisation(const lhef::LHEEvent* event) override;
0018 
0019     int match(const lhef::LHEEvent* partonLevel, const std::vector<fastjet::PseudoJet>* jetInput) override;
0020     double getJetEtaMax() const override { return 0.; }
0021     /*
0022     int match(const HepMC::GenEvent* partonLevel,
0023           const HepMC::GenEvent* finalState,
0024           bool showeredFinalState);
0025 */
0026     std::set<std::string> capabilities() const override;
0027 
0028     bool applyMatching;
0029     bool runInitialized;
0030     bool eventInitialized;
0031 
0032     AlpgenHeader header;
0033   };
0034 
0035 }  // namespace gen
0036 
0037 #endif  // GeneratorInterface_PartonShowerVeto_JetMatchingAlpgen_h