Definition at line 20 of file mergingDJRs.cxx.
◆ mergingDJRs()
| Pythia8::mergingDJRs::mergingDJRs |
( |
| ) |
|
|
inline |
Definition at line 44 of file mergingDJRs.cxx.
44 :
45
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")) {
49
50
51 m_slowJet = std::make_unique<Pythia8::SlowJet>(
54
55 std::cout << "**********************************************************"
56 << std::endl;
57 std::cout << "* *"
58 << std::endl;
59 std::cout << "* the jet merging userhook CKKWL DJRS is working *"
60 << std::endl;
61 std::cout << "* *"
62 << std::endl;
63 std::cout << "**********************************************************"
64 << std::endl;
65 }
std::unique_ptr< TH1F > m_HistDjr
std::unique_ptr< TH1F > m_HistDjr2
std::unique_ptr< TFile > m_outFile
Pythia8::SlowJetHook * m_sjHookPtrIn
std::unique_ptr< Pythia8::SlowJet > m_slowJet
◆ ~mergingDJRs()
| Pythia8::mergingDJRs::~mergingDJRs |
( |
| ) |
|
|
inline |
◆ canVetoPartonLevel()
| virtual bool Pythia8::mergingDJRs::canVetoPartonLevel |
( |
| ) |
|
|
inlineoverridevirtual |
◆ doVetoPartonLevel()
| bool Pythia8::mergingDJRs::doVetoPartonLevel |
( |
const Event & | event | ) |
|
|
inlineoverridevirtual |
Definition at line 90 of file mergingDJRs.cxx.
90 {
91
92
93
94 subEvent(event);
96
97
103 continue;
104 }
105 }
106
107
109 std::cout<< "setup failed in mergingDJRs::doVetoPartonLevel\n";
110 return false;
111 }
112
113
115
116
117 return false;
118}
bool isLepton(const T &p)
APID: the fourth generation leptons are leptons.
virtual void getDJR(const Event &event)
◆ getDJR()
| void Pythia8::mergingDJRs::getDJR |
( |
const Event & | event | ) |
|
|
inlinevirtual |
Definition at line 121 of file mergingDJRs.cxx.
121 {
122
123
125 std::cout<< "setup failed in mergingDJRs::getDJR\n";
126 return;
127 };
128
129
132
134
136
138 }
139
140
141 for (
int i =
m_result.size() - 1; i >= 0; --i) {
143 }
144
145
146 double eventWeight = infoPtr->mergingWeight() * infoPtr->weight();
147
148 if (
m_DJR.size() > 0) {
151 }
152}
vector< double > m_result
◆ initAfterBeams()
| virtual bool Pythia8::mergingDJRs::initAfterBeams |
( |
| ) |
|
|
inlineoverridevirtual |
◆ m_DJR
| vector<double> Pythia8::mergingDJRs::m_DJR |
|
private |
◆ m_etaMax
| double Pythia8::mergingDJRs::m_etaMax = 10. |
|
private |
◆ m_HistDjr
| std::unique_ptr<TH1F> Pythia8::mergingDJRs::m_HistDjr |
|
private |
◆ m_HistDjr2
| std::unique_ptr<TH1F> Pythia8::mergingDJRs::m_HistDjr2 |
|
private |
◆ m_massSetIn
| int Pythia8::mergingDJRs::m_massSetIn = 1 |
|
private |
◆ m_nSel
| int Pythia8::mergingDJRs::m_nSel = 2 |
|
private |
◆ m_outFile
| std::unique_ptr<TFile> Pythia8::mergingDJRs::m_outFile |
|
private |
◆ m_power
| int Pythia8::mergingDJRs::m_power = 1 |
|
private |
◆ m_pTjetMin
| double Pythia8::mergingDJRs::m_pTjetMin = 10. |
|
private |
◆ m_radius
| double Pythia8::mergingDJRs::m_radius = 1.0 |
|
private |
◆ m_result
| vector<double> Pythia8::mergingDJRs::m_result |
|
private |
◆ m_sjHookPtrIn
| Pythia8::SlowJetHook* Pythia8::mergingDJRs::m_sjHookPtrIn = 0 |
|
private |
◆ m_slowJet
| std::unique_ptr<Pythia8::SlowJet> Pythia8::mergingDJRs::m_slowJet |
|
private |
◆ m_useFJcoreIn
| bool Pythia8::mergingDJRs::m_useFJcoreIn = false |
|
private |
◆ m_useStandardRin
| bool Pythia8::mergingDJRs::m_useStandardRin = true |
|
private |
◆ m_workEventJet
| Event Pythia8::mergingDJRs::m_workEventJet |
|
private |
The documentation for this class was generated from the following file: