FCCAnalyses
Loading...
Searching...
No Matches
FCCAnalyses::JetClusteringUtils Namespace Reference

Jet clustering interface utilities. More...

Classes

struct  recoilBuilder
 
struct  resonanceBuilder
 
struct  sel_pt
 Select clustered jets with transverse momentum greader than a minimum value [GeV]. More...
 

Functions

std::vector< fastjet::PseudoJet > set_pseudoJets (const ROOT::VecOps::RVec< float > &px, const ROOT::VecOps::RVec< float > &py, const ROOT::VecOps::RVec< float > &pz, const ROOT::VecOps::RVec< float > &e)
 Set fastjet pseudoJet for later reconstruction.
 
std::vector< fastjet::PseudoJet > set_pseudoJets_xyzm (const ROOT::VecOps::RVec< float > &px, const ROOT::VecOps::RVec< float > &py, const ROOT::VecOps::RVec< float > &pz, const ROOT::VecOps::RVec< float > &m)
 Set fastjet pseudoJet for later reconstruction using px, py, pz and m.
 
ROOT::VecOps::RVec< fastjet::PseudoJet > get_pseudoJets (const JetClustering::FCCAnalysesJet &in)
 Get fastjet pseudoJet after reconstruction from FCCAnalyses jets.
 
std::vector< std::vector< int > > get_constituents (const JetClustering::FCCAnalysesJet &in)
 Get fastjet constituents after reconstruction from FCCAnalyses jets.
 
float get_exclusive_dmerge (const JetClustering::FCCAnalysesJet &in, int n)
 return the dmin corresponding to the recombination that went from n+1 to n jets
 
float get_exclusive_dmerge_max (const JetClustering::FCCAnalysesJet &in, int n)
 
ROOT::VecOps::RVec< float > get_px (const ROOT::VecOps::RVec< fastjet::PseudoJet > &in)
 Get jet px.
 
ROOT::VecOps::RVec< float > get_py (const ROOT::VecOps::RVec< fastjet::PseudoJet > &in)
 Get jet py.
 
ROOT::VecOps::RVec< float > get_pz (const ROOT::VecOps::RVec< fastjet::PseudoJet > &in)
 Get jet pz.
 
ROOT::VecOps::RVec< float > get_e (const ROOT::VecOps::RVec< fastjet::PseudoJet > &in)
 Get jet energy.
 
ROOT::VecOps::RVec< float > get_pt (const ROOT::VecOps::RVec< fastjet::PseudoJet > &in)
 Get jet pt.
 
ROOT::VecOps::RVec< float > get_p (const ROOT::VecOps::RVec< fastjet::PseudoJet > &in)
 Get jet p.
 
ROOT::VecOps::RVec< float > get_m (const ROOT::VecOps::RVec< fastjet::PseudoJet > &in)
 Get jet mass.
 
ROOT::VecOps::RVec< float > get_eta (const ROOT::VecOps::RVec< fastjet::PseudoJet > &in)
 Get jet eta.
 
ROOT::VecOps::RVec< float > get_phi (const ROOT::VecOps::RVec< fastjet::PseudoJet > &in)
 Get jet phi.
 
ROOT::VecOps::RVec< float > get_phi_std (const ROOT::VecOps::RVec< fastjet::PseudoJet > &in)
 Get jet phi.
 
ROOT::VecOps::RVec< float > get_theta (const ROOT::VecOps::RVec< fastjet::PseudoJet > &in)
 Get jet theta.
 
JetClustering::FCCAnalysesJet initialise_FCCAnalysesJet ()
 Internal methods.
 
JetClustering::FCCAnalysesJet build_FCCAnalysesJet (const std::vector< fastjet::PseudoJet > &in, const std::vector< float > &dmerge, const std::vector< float > &dmerge_max)
 
std::vector< fastjet::PseudoJet > build_jets (fastjet::ClusterSequence &cs, int exclusive, float cut, int sorted)
 
bool check (unsigned int n, int exclusive, float cut)
 
fastjet::RecombinationScheme recomb_scheme (int recombination)
 
std::vector< float > exclusive_dmerge (fastjet::ClusterSequence &cs, int do_dmarge_max)
 

Variables

const int Nmax_dmerge = 10
 Maximum number of d_{n, n+1} that are kept in FCCAnalysesJet.
 

Detailed Description

Jet clustering interface utilities.

This represents a set functions and utilities to perform jet clustering from a list of particles.

Function Documentation

◆ build_FCCAnalysesJet()

JetClustering::FCCAnalysesJet FCCAnalyses::JetClusteringUtils::build_FCCAnalysesJet ( const std::vector< fastjet::PseudoJet > & in,
const std::vector< float > & dmerge,
const std::vector< float > & dmerge_max )

◆ build_jets()

std::vector< fastjet::PseudoJet > FCCAnalyses::JetClusteringUtils::build_jets ( fastjet::ClusterSequence & cs,
int exclusive,
float cut,
int sorted )

◆ check()

bool FCCAnalyses::JetClusteringUtils::check ( unsigned int n,
int exclusive,
float cut )

◆ exclusive_dmerge()

std::vector< float > FCCAnalyses::JetClusteringUtils::exclusive_dmerge ( fastjet::ClusterSequence & cs,
int do_dmarge_max )

◆ get_constituents()

std::vector< std::vector< int > > FCCAnalyses::JetClusteringUtils::get_constituents ( const JetClustering::FCCAnalysesJet & in)

Get fastjet constituents after reconstruction from FCCAnalyses jets.

◆ get_e()

ROOT::VecOps::RVec< float > FCCAnalyses::JetClusteringUtils::get_e ( const ROOT::VecOps::RVec< fastjet::PseudoJet > & in)

Get jet energy.

Details.

◆ get_eta()

ROOT::VecOps::RVec< float > FCCAnalyses::JetClusteringUtils::get_eta ( const ROOT::VecOps::RVec< fastjet::PseudoJet > & in)

Get jet eta.

Details.

◆ get_exclusive_dmerge()

float FCCAnalyses::JetClusteringUtils::get_exclusive_dmerge ( const JetClustering::FCCAnalysesJet & in,
int n )

return the dmin corresponding to the recombination that went from n+1 to n jets

◆ get_exclusive_dmerge_max()

float FCCAnalyses::JetClusteringUtils::get_exclusive_dmerge_max ( const JetClustering::FCCAnalysesJet & in,
int n )

◆ get_m()

ROOT::VecOps::RVec< float > FCCAnalyses::JetClusteringUtils::get_m ( const ROOT::VecOps::RVec< fastjet::PseudoJet > & in)

Get jet mass.

Details.

◆ get_p()

ROOT::VecOps::RVec< float > FCCAnalyses::JetClusteringUtils::get_p ( const ROOT::VecOps::RVec< fastjet::PseudoJet > & in)

Get jet p.

Details.

◆ get_phi()

ROOT::VecOps::RVec< float > FCCAnalyses::JetClusteringUtils::get_phi ( const ROOT::VecOps::RVec< fastjet::PseudoJet > & in)

Get jet phi.

Details (range [0,2*pi]).

◆ get_phi_std()

ROOT::VecOps::RVec< float > FCCAnalyses::JetClusteringUtils::get_phi_std ( const ROOT::VecOps::RVec< fastjet::PseudoJet > & in)

Get jet phi.

Details (range [-pi,pi]).

◆ get_pseudoJets()

ROOT::VecOps::RVec< fastjet::PseudoJet > FCCAnalyses::JetClusteringUtils::get_pseudoJets ( const JetClustering::FCCAnalysesJet & in)

Get fastjet pseudoJet after reconstruction from FCCAnalyses jets.

◆ get_pt()

ROOT::VecOps::RVec< float > FCCAnalyses::JetClusteringUtils::get_pt ( const ROOT::VecOps::RVec< fastjet::PseudoJet > & in)

Get jet pt.

Details.

◆ get_px()

ROOT::VecOps::RVec< float > FCCAnalyses::JetClusteringUtils::get_px ( const ROOT::VecOps::RVec< fastjet::PseudoJet > & in)

Get jet px.

Details.

◆ get_py()

ROOT::VecOps::RVec< float > FCCAnalyses::JetClusteringUtils::get_py ( const ROOT::VecOps::RVec< fastjet::PseudoJet > & in)

Get jet py.

Details.

◆ get_pz()

ROOT::VecOps::RVec< float > FCCAnalyses::JetClusteringUtils::get_pz ( const ROOT::VecOps::RVec< fastjet::PseudoJet > & in)

Get jet pz.

Details.

◆ get_theta()

ROOT::VecOps::RVec< float > FCCAnalyses::JetClusteringUtils::get_theta ( const ROOT::VecOps::RVec< fastjet::PseudoJet > & in)

Get jet theta.

Details.

◆ initialise_FCCAnalysesJet()

JetClustering::FCCAnalysesJet FCCAnalyses::JetClusteringUtils::initialise_FCCAnalysesJet ( )

Internal methods.

◆ recomb_scheme()

fastjet::RecombinationScheme FCCAnalyses::JetClusteringUtils::recomb_scheme ( int recombination)

◆ set_pseudoJets()

std::vector< fastjet::PseudoJet > FCCAnalyses::JetClusteringUtils::set_pseudoJets ( const ROOT::VecOps::RVec< float > & px,
const ROOT::VecOps::RVec< float > & py,
const ROOT::VecOps::RVec< float > & pz,
const ROOT::VecOps::RVec< float > & e )

Set fastjet pseudoJet for later reconstruction.

◆ set_pseudoJets_xyzm()

std::vector< fastjet::PseudoJet > FCCAnalyses::JetClusteringUtils::set_pseudoJets_xyzm ( const ROOT::VecOps::RVec< float > & px,
const ROOT::VecOps::RVec< float > & py,
const ROOT::VecOps::RVec< float > & pz,
const ROOT::VecOps::RVec< float > & m )

Set fastjet pseudoJet for later reconstruction using px, py, pz and m.

This version is to be preferred over the px,py,pz,E version when m is known accurately, because it uses double precision to reconstruct the energy, reducing the size of rounding errors on FastJet calculations (e.g. of PseudoJet masses)

Variable Documentation

◆ Nmax_dmerge

const int FCCAnalyses::JetClusteringUtils::Nmax_dmerge = 10

Maximum number of d_{n, n+1} that are kept in FCCAnalysesJet.