 |
ATLAS Offline Software
|
Go to the documentation of this file.
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";
146 double eventWeight = infoPtr->mergingWeight() * infoPtr->weight();
148 if (
m_DJR.size() > 0) {
std::unique_ptr< TH1F > m_HistDjr2
virtual bool doVetoPartonLevel(const Event &event) override
Pythia8::SlowJetHook * m_sjHookPtrIn
std::unique_ptr< Pythia8::SlowJet > m_slowJet
Author: James Monk (jmonk@cern.ch)
std::unique_ptr< TH1F > m_HistDjr
std::unique_ptr< TFile > m_outFile
virtual void getDJR(const Event &event)
vector< double > m_result
Pythia8_UserHooks::UserHooksFactory::Creator< Pythia8::mergingDJRs > Ckkwl("mergingDJRs")
virtual bool canVetoPartonLevel() override
bool isLepton(const T &p)
APID: the fourth generation leptons are leptons.
virtual bool initAfterBeams() override
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)