#include <Qjets.h>
|
| Qjets (double zcut, double dcut_fctr, double exp_min, double exp_max, double rigidity, double truncation_fctr) |
|
void | Cluster (fastjet::ClusterSequence &cs) |
|
void | SetRandSeed (unsigned int seed) |
|
Definition at line 30 of file Qjets.h.
◆ Qjets()
Qjets::Qjets |
( |
double |
zcut, |
|
|
double |
dcut_fctr, |
|
|
double |
exp_min, |
|
|
double |
exp_max, |
|
|
double |
rigidity, |
|
|
double |
truncation_fctr |
|
) |
| |
◆ Cluster()
void Qjets::Cluster |
( |
fastjet::ClusterSequence & |
cs | ) |
|
Definition at line 81 of file Qjets.cxx.
96 cs.plugin_record_ij_recombination(jd.
j1, jd.
j2, 1., new_jet);
100 double j1pt = cs.jets()[jd.
j1].perp();
101 double j2pt = cs.jets()[jd.
j2].perp();
105 cs.plugin_record_iB_recombination(jd.
j2, 1.);
109 cs.plugin_record_iB_recombination(jd.
j1, 1.);
116 [[maybe_unused]]
int num_merged_final(0);
118 for(
unsigned int i = 0 ;
i < cs.jets().
size();
i++)
121 cs.plugin_record_iB_recombination(
i,1.);
124 assert(num_merged_final < 2);
◆ ComputeAllDistances()
void Qjets::ComputeAllDistances |
( |
const std::vector< fastjet::PseudoJet > & |
inp | ) |
|
|
private |
Definition at line 145 of file Qjets.cxx.
146 for(
unsigned int i = 0 ;
i < inp.size()-1;
i++){
148 for(
unsigned int j =
i+1 ; j < inp.size(); j++){
153 jd.dij =
d_ij(inp[
i],inp[j]);
◆ ComputeDCut()
void Qjets::ComputeDCut |
( |
fastjet::ClusterSequence & |
cs | ) |
|
|
private |
Definition at line 127 of file Qjets.cxx.
129 fastjet::PseudoJet
sum(0.,0.,0.,0.);
130 for(vector<fastjet::PseudoJet>::const_iterator
it = cs.jets().begin();
it != cs.jets().end(); ++
it)
◆ ComputeMinimumDistance()
double JetSubStructureUtils::Qjets::ComputeMinimumDistance |
( |
| ) |
|
|
private |
◆ ComputeNewDistanceMeasures()
void Qjets::ComputeNewDistanceMeasures |
( |
fastjet::ClusterSequence & |
cs, |
|
|
int |
new_jet |
|
) |
| |
|
private |
Definition at line 160 of file Qjets.cxx.
162 for(
unsigned int i = 0;
i < cs.jets().
size();
i++)
167 jd.dij =
d_ij(cs.jets()[jd.j1], cs.jets()[jd.j2]);
◆ ComputeNormalization()
double JetSubStructureUtils::Qjets::ComputeNormalization |
( |
double |
dmin | ) |
|
|
private |
◆ d_ij()
double Qjets::d_ij |
( |
const fastjet::PseudoJet & |
v1, |
|
|
const fastjet::PseudoJet & |
v2 |
|
) |
| const |
|
private |
Definition at line 172 of file Qjets.cxx.
173 double p1 = v1.perp();
174 double p2 =
v2.perp();
176 assert(!std::isnan(ret));
◆ GetNextDistance()
Definition at line 35 of file Qjets.cxx.
36 vector< pair<jet_distance, double> > popped_distances;
54 popped_distances.emplace_back(dist,
weight);
62 if (!popped_distances.empty()) {
63 const double inv_norm = 1. /
norm;
64 for(vector<pair<jet_distance, double> >::
iterator it = popped_distances.begin();
it != popped_distances.end(); ++
it){
65 tot_weight += (*it).second * inv_norm;
66 if(tot_weight >=
rand){
74 for(vector<pair<jet_distance, double> >::reverse_iterator
it = popped_distances.rbegin();
it != popped_distances.rend(); ++
it)
◆ JetsUnmerged()
◆ JetUnmerged()
bool Qjets::JetUnmerged |
( |
int |
num | ) |
const |
|
private |
◆ Prune()
bool Qjets::Prune |
( |
jet_distance & |
jd, |
|
|
fastjet::ClusterSequence & |
cs |
|
) |
| |
|
private |
Definition at line 135 of file Qjets.cxx.
136 double pt1 = cs.jets()[jd.
j1].perp();
137 double pt2 = cs.jets()[jd.
j2].perp();
138 fastjet::PseudoJet sum_jet = cs.jets()[jd.
j1]+cs.jets()[jd.
j2];
139 double sum_pt = sum_jet.perp();
140 double z =
min(pt1,pt2)/sum_pt;
141 double d = sqrt(cs.jets()[jd.
j1].plain_distance(cs.jets()[jd.
j2]));
◆ Rand()
◆ Same()
◆ SetRandSeed()
void Qjets::SetRandSeed |
( |
unsigned int |
seed | ) |
|
◆ m_dcut
double JetSubStructureUtils::Qjets::m_dcut |
|
private |
◆ m_dcut_fctr
double JetSubStructureUtils::Qjets::m_dcut_fctr |
|
private |
◆ m_distances
◆ m_exp_max
double JetSubStructureUtils::Qjets::m_exp_max |
|
private |
◆ m_exp_min
double JetSubStructureUtils::Qjets::m_exp_min |
|
private |
◆ m_merged_jets
std::map<int,bool> JetSubStructureUtils::Qjets::m_merged_jets |
|
private |
◆ m_rand_seed_set
bool JetSubStructureUtils::Qjets::m_rand_seed_set |
|
private |
◆ m_rigidity
double JetSubStructureUtils::Qjets::m_rigidity |
|
private |
◆ m_seed
unsigned int JetSubStructureUtils::Qjets::m_seed = 0U |
|
private |
◆ m_truncation_fctr
double JetSubStructureUtils::Qjets::m_truncation_fctr |
|
private |
◆ m_zcut
double JetSubStructureUtils::Qjets::m_zcut |
|
private |
The documentation for this class was generated from the following files: