46 m_HistDjr(
std::make_unique<TH1F>(
"HistDjr",
"The first DJR", 100, 0.0, 3.0)),
47 m_HistDjr2(
std::make_unique<TH1F>(
"HistDjr2",
"The second DJR", 100, 0.0, 3.0)),
48 m_outFile(
std::make_unique<TFile>(
"hist-DJR.root",
"RECREATE")) {
51 m_slowJet = std::make_unique<Pythia8::SlowJet>(
55 std::cout <<
"**********************************************************"
59 std::cout <<
"* the jet merging userhook CKKWL DJRS is working *"
63 std::cout <<
"**********************************************************"
109 std::cout<<
"setup failed in mergingDJRs::doVetoPartonLevel\n";
125 std::cout<<
"setup failed in mergingDJRs::getDJR\n";
141 for (
int i =
m_result.size() - 1; i >= 0; --i) {
146 double eventWeight = infoPtr->mergingWeight() * infoPtr->weight();
148 if (
m_DJR.size() > 0) {
bool isLepton(const T &p)
APID: the fourth generation leptons are leptons.
std::unique_ptr< TH1F > m_HistDjr
virtual void getDJR(const Event &event)
std::unique_ptr< TH1F > m_HistDjr2
virtual bool initAfterBeams() override
vector< double > m_result
virtual bool canVetoPartonLevel() override
virtual bool doVetoPartonLevel(const Event &event) override
std::unique_ptr< TFile > m_outFile
Pythia8::SlowJetHook * m_sjHookPtrIn
std::unique_ptr< Pythia8::SlowJet > m_slowJet
Author: James Monk (jmonk@cern.ch)
Pythia8_UserHooks::UserHooksFactory::Creator< Pythia8::mergingDJRs > Ckkwl("mergingDJRs")