#include <Volatility.h>
Definition at line 12 of file Volatility.h.
◆ Volatility()
JetSubStructureUtils::Volatility::Volatility |
( |
unsigned int |
num_iterations, |
|
|
double |
zcut, |
|
|
double |
dcut_fctr, |
|
|
double |
exp_min, |
|
|
double |
exp_max, |
|
|
double |
rigidity, |
|
|
double |
truncation_fctr = 0.0 |
|
) |
| |
|
inline |
◆ result() [1/3]
double Volatility::result |
( |
const fastjet::PseudoJet & |
jet | ) |
const |
|
virtual |
Definition at line 11 of file Volatility.cxx.
13 vector<fastjet::PseudoJet> constit_pseudojets =
jet.constituents();
14 if(constit_pseudojets.empty())
return -999;
17 fastjet::JetDefinition qjets_def(&qjets_plugin);
20 double sum_mass = 0, sum_mass2 = 0;
23 qjets_plugin.SetRandSeed(
m_seed +
i);
26 vector<fastjet::PseudoJet> qjets = fastjet::sorted_by_pt(clust_seq.inclusive_jets());
34 sum_mass += qjets[0].m();
35 sum_mass2 += qjets[0].m2();
43 double rms_dev2 = sum_mass2/
n -
pow(sum_mass/
n, 2.0);
50 double rms_dev = sqrt(rms_dev2);
51 double volatility = rms_dev / (sum_mass/
n);
◆ 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());
◆ setSeed()
void Volatility::setSeed |
( |
unsigned int |
seed | ) |
|
◆ m_dcut_fctr
double JetSubStructureUtils::Volatility::m_dcut_fctr |
|
private |
◆ m_exp_max
double JetSubStructureUtils::Volatility::m_exp_max |
|
private |
◆ m_exp_min
double JetSubStructureUtils::Volatility::m_exp_min |
|
private |
◆ m_num_iterations
unsigned int JetSubStructureUtils::Volatility::m_num_iterations |
|
private |
◆ m_rigidity
double JetSubStructureUtils::Volatility::m_rigidity |
|
private |
◆ m_seed
int JetSubStructureUtils::Volatility::m_seed |
|
private |
◆ m_truncation_fctr
double JetSubStructureUtils::Volatility::m_truncation_fctr |
|
private |
◆ m_zcut
double JetSubStructureUtils::Volatility::m_zcut |
|
private |
The documentation for this class was generated from the following files: