#include <Py8toJetInput.h>
Definition at line 13 of file Py8toJetInput.h.
◆ Event
◆ Particle
◆ partonTypes
◆ Py8toJetInput()
Py8toJetInput::Py8toJetInput |
( |
| ) |
|
|
inline |
◆ ~Py8toJetInput()
virtual Py8toJetInput::~Py8toJetInput |
( |
| ) |
|
|
inlinevirtual |
◆ fillJetAlgoInput()
const std::vector< fastjet::PseudoJet > Py8toJetInput::fillJetAlgoInput |
( |
const Event & |
event, |
|
|
const Event & |
workEvent, |
|
|
const lhef::LHEEvent * |
lhee = nullptr , |
|
|
const std::vector< int > * |
partonList = nullptr |
|
) |
| |
|
virtual |
Reimplemented in Py8toJetInputHEPEVT.
Definition at line 7 of file Py8toJetInput.cc.
13 Event workEventJet = workEvent;
17 std::set<int> typeSet[3];
23 for (
size_t i = 0;
i < 3;
i++) {
25 for (
size_t j = 0;
j < typeIdx[
i].size();
j++) {
32 int pos = typeIdx[
i][
j];
35 for (
int ip = 2; ip <
pos; ip++) {
40 if (hepeup.
MOTHUP[ip].first == hepeup.
MOTHUP[ip].second) {
46 typeSet[
i].insert(
pos);
59 for (
int i = 0;
i < workEventJet.size(); ++
i) {
60 if (!workEventJet[
i].isFinal())
67 int id = workEventJet[
i].idAbs();
69 workEventJet[
i].statusNeg();
75 int idx = workEventJet[
i].daughter1();
83 workEventJet[
i].statusNeg();
92 idx =
event[
idx].mother1();
95 }
else if (iType == 1) {
103 workEventJet[
i].statusNeg();
108 idx =
event[
idx].mother1();
141 for (
int i = 0;
i < workEventJet.size();
i++) {
144 if (workEventJet[
i].
status() < 0)
157 fastjet::PseudoJet partTmp = workEventJet[
i];
References end, PVValHelper::eta, spr::find(), fJetEtaMax, fJetInput, lhef::LHEEvent::getHEPEUP(), mps_fire::i, ID_PHOTON, ID_TOP, training_settings::idx, dqmiolumiharvest::j, lhef::HEPEUP::MOTHUP, edm::shift, and mps_update::status.
Referenced by JetMatchingHook::doVetoPartonLevel().
◆ getAncestor()
int Py8toJetInput::getAncestor |
( |
int |
pos, |
|
|
const Event & |
fullEvent, |
|
|
const Event & |
workEvent |
|
) |
| |
|
protected |
Definition at line 164 of file Py8toJetInput.cc.
165 int parentId = fullEvent[
pos].mother1();
166 int parentPrevId = 0;
169 while (parentId > 0) {
170 if (parentId == fullEvent[
counter].mother2())
172 parentPrevId = parentId;
174 parentId = fullEvent[parentPrevId].mother1();
182 if ((parentId < parentPrevId) || parentId < fullEvent[
counter].mother2())
191 parentPrevId = parentId;
192 parentId = fullEvent[parentPrevId].mother1();
194 }
else if (parentId > parentPrevId ||
203 if (
abs(fullEvent[parentId].
status()) == 22 ||
abs(fullEvent[parentId].
status()) == 23)
207 if (
abs(fullEvent[parentId].
status()) < 22)
References funct::abs(), counter, and mps_update::status.
Referenced by Py8toJetInputHEPEVT::fillJetAlgoInput().
◆ setJetEtaMax()
void Py8toJetInput::setJetEtaMax |
( |
double |
max | ) |
|
|
inline |
◆ fJetEtaMax
double Py8toJetInput::fJetEtaMax |
|
protected |
◆ fJetInput
std::vector<fastjet::PseudoJet> Py8toJetInput::fJetInput |
|
protected |