#include <ZCut.h>
Definition at line 11 of file ZCut.h.
◆ ZCut()
JetSubStructureUtils::ZCut::ZCut |
( |
unsigned int |
nSubJets | ) |
|
|
inline |
◆ result() [1/3]
double ZCut::result |
( |
const fastjet::PseudoJet & |
jet | ) |
const |
|
virtual |
Definition at line 13 of file ZCut.cxx.
15 vector<fastjet::PseudoJet> constit_pseudojets =
jet.constituents();
16 if(constit_pseudojets.empty())
return -1;
19 fastjet::E_scheme, fastjet::Best);
26 vector<fastjet::PseudoJet> subjets = kt_clust_seq.exclusive_jets((
int)
m_nSubJets);
29 fastjet::PseudoJet *lastSplitSubjet =
nullptr;
30 int max_cluster_hist_index = -1;
31 for(
size_t iSubjet=0; iSubjet < subjets.size(); iSubjet++) {
32 fastjet::PseudoJet parent1, parent2;
33 if(kt_clust_seq.has_parents(subjets[iSubjet], parent1, parent2) &&
34 subjets[iSubjet].cluster_hist_index() > max_cluster_hist_index) {
35 max_cluster_hist_index = subjets[iSubjet].cluster_hist_index();
36 lastSplitSubjet = &subjets[iSubjet];
40 if(lastSplitSubjet ==
nullptr) {
52 zcut = dmin / (dmin + lastSplitSubjet->m2());
◆ result() [2/3]
Definition at line 25 of file SubstructureCalculator.h.
30 std::vector<fastjet::PseudoJet> constit_pseudojets;
32 jet.getConstituents().end(),
33 std::back_inserter(constit_pseudojets),
35 const xAOD::IParticle* ip = c->rawConstituent();
38 fastjet::PseudoJet(ip->p4());
◆ result() [3/3]
Definition at line 25 of file SubstructureCalculator.h.
30 std::vector<fastjet::PseudoJet> constit_pseudojets;
32 jet.getConstituents().end(),
33 std::back_inserter(constit_pseudojets),
35 const xAOD::IParticle* ip = c->rawConstituent();
38 fastjet::PseudoJet(ip->p4());
◆ m_nSubJets
unsigned int JetSubStructureUtils::ZCut::m_nSubJets |
|
private |
The documentation for this class was generated from the following files: