1 #ifndef GeneratorInterface_PartonShowerVeto_JetMatching_h
2 #define GeneratorInterface_PartonShowerVeto_JetMatching_h
9 #include <boost/shared_ptr.hpp>
11 #include <HepMC/GenEvent.h>
12 #include <HepMC/SimpleVector.h>
33 const HepMC::FourVector &
jet,
36 parton(parton), jet(jet),
37 delta(delta), pdgId(pdgId) {}
41 parton(parton),
delta(-1.0), pdgId(pdgId) {}
51 HepMC::FourVector
jet;
60 virtual int match(
const HepMC::GenEvent *partonLevel,
61 const HepMC::GenEvent *finalState,
62 bool showeredFinalState =
false) = 0;
72 static std::auto_ptr<JetMatching>
create(
83 #endif // GeneratorCommon_PartonShowerVeto_JetMatching_h
static std::auto_ptr< JetMatching > create(const edm::ParameterSet ¶ms)
JetPartonMatch(const HepMC::FourVector &jet)
const std::vector< JetPartonMatch > & getMatchSummary() const
JetPartonMatch(const HepMC::FourVector &parton, const HepMC::FourVector &jet, double delta, int pdgId)
virtual void beforeHadronisation(const lhef::LHEEvent *event)
void resetMatchingStatus()
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
std::vector< JetPartonMatch > matchSummary
JetPartonMatch(const HepMC::FourVector &parton, int pdgId)
virtual std::set< std::string > capabilities() const
JetMatching(const edm::ParameterSet ¶ms)
virtual void beforeHadronisationExec()
virtual int match(const HepMC::GenEvent *partonLevel, const HepMC::GenEvent *finalState, bool showeredFinalState=false)=0
virtual void init(const lhef::LHERunInfo *runInfo)