FCCAnalyses
Loading...
Searching...
No Matches
JetConstituentsUtils.cc File Reference
#include "FCCAnalyses/JetConstituentsUtils.h"
#include "FCCAnalyses/ReconstructedParticle.h"
#include "FCCAnalyses/ReconstructedParticle2Track.h"
#include "FCCAnalyses/ReconstructedParticle2MC.h"
#include "edm4hep/MCParticleData.h"
#include "edm4hep/Track.h"
#include "edm4hep/TrackData.h"
#include "edm4hep/Cluster.h"
#include "edm4hep/ClusterData.h"
#include "edm4hep/CalorimeterHitData.h"
#include "edm4hep/ReconstructedParticleData.h"
#include "edm4hep/EDM4hepVersion.h"
#include "FCCAnalyses/JetClusteringUtils.h"
#include "fastjet/JetDefinition.hh"
#include "fastjet/PseudoJet.hh"
#include "fastjet/Selector.hh"
Include dependency graph for JetConstituentsUtils.cc:

Namespaces

namespace  FCCAnalyses
 FCC analyzers collection.
 
namespace  FCCAnalyses::JetConstituentsUtils
 

Functions

rv::RVec< FCCAnalysesJetConstituentsFCCAnalyses::JetConstituentsUtils::build_constituents (const rv::RVec< edm4hep::ReconstructedParticleData > &, const rv::RVec< edm4hep::ReconstructedParticleData > &)
 Build the collection of constituents (mapping jet -> reconstructed particles) for all jets in event.
 
rv::RVec< FCCAnalysesJetConstituentsFCCAnalyses::JetConstituentsUtils::build_constituents_cluster (const rv::RVec< edm4hep::ReconstructedParticleData > &rps, const std::vector< std::vector< int > > &indices)
 
FCCAnalysesJetConstituents FCCAnalyses::JetConstituentsUtils::get_jet_constituents (const rv::RVec< FCCAnalysesJetConstituents > &, int)
 Retrieve the constituents of an indexed jet in event.
 
rv::RVec< FCCAnalysesJetConstituentsFCCAnalyses::JetConstituentsUtils::get_constituents (const rv::RVec< FCCAnalysesJetConstituents > &, const rv::RVec< int > &)
 Retrieve the constituents of a collection of indexed jets in event.
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_Bz (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_pt (const rv::RVec< FCCAnalysesJetConstituents > &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_p (const rv::RVec< FCCAnalysesJetConstituents > &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_e (const rv::RVec< FCCAnalysesJetConstituents > &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_theta (const rv::RVec< FCCAnalysesJetConstituents > &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_phi (const rv::RVec< FCCAnalysesJetConstituents > &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_type (const rv::RVec< FCCAnalysesJetConstituents > &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_charge (const rv::RVec< FCCAnalysesJetConstituents > &)
 
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > FCCAnalyses::JetConstituentsUtils::jets_sorting_on_nconst (const rv::RVec< edm4hep::ReconstructedParticleData > &)
 
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > FCCAnalyses::JetConstituentsUtils::jets_sorting_on_energy (const rv::RVec< edm4hep::ReconstructedParticleData > &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_d0 (const rv::RVec< FCCAnalysesJetConstituents > &, const ROOT::VecOps::RVec< edm4hep::TrackState > &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_z0 (const rv::RVec< FCCAnalysesJetConstituents > &, const ROOT::VecOps::RVec< edm4hep::TrackState > &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_phi0 (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_omega (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_tanLambda (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::XPtoPar_dxy (const rv::RVec< FCCAnalysesJetConstituents > &, const ROOT::VecOps::RVec< edm4hep::TrackState > &, const TLorentzVector &V, const float &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::XPtoPar_dz (const rv::RVec< FCCAnalysesJetConstituents > &, const ROOT::VecOps::RVec< edm4hep::TrackState > &, const TLorentzVector &V, const float &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::XPtoPar_phi (const rv::RVec< FCCAnalysesJetConstituents > &, const ROOT::VecOps::RVec< edm4hep::TrackState > &, const TLorentzVector &V, const float &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::XPtoPar_C (const rv::RVec< FCCAnalysesJetConstituents > &, const ROOT::VecOps::RVec< edm4hep::TrackState > &, const float &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::XPtoPar_ct (const rv::RVec< FCCAnalysesJetConstituents > &, const ROOT::VecOps::RVec< edm4hep::TrackState > &, const float &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_omega_cov (const rv::RVec< FCCAnalysesJetConstituents > &, const ROOT::VecOps::RVec< edm4hep::TrackState > &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_d0_cov (const rv::RVec< FCCAnalysesJetConstituents > &, const ROOT::VecOps::RVec< edm4hep::TrackState > &)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_z0_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_phi0_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_tanlambda_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_d0_z0_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_phi0_d0_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_phi0_z0_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_tanlambda_phi0_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_tanlambda_d0_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_tanlambda_z0_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_omega_tanlambda_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_omega_phi0_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_omega_d0_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_omega_z0_cov (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_dndx (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const rv::RVec< edm4hep::Quantity > &dNdx, const rv::RVec< edm4hep::TrackData > &trackdata, const rv::RVec< FCCAnalysesJetConstituentsData > JetsConstituents_isChargedHad)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_Sip2dVal (const rv::RVec< edm4hep::ReconstructedParticleData > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_Sip2dVal_cluster (const rv::RVec< fastjet::PseudoJet > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_Sip2dVal_clusterV (const rv::RVec< fastjet::PseudoJet > &jets, const rv::RVec< FCCAnalysesJetConstituentsData > &D0, const rv::RVec< FCCAnalysesJetConstituentsData > &phi0, const float Bz)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_Sip2dSig (const rv::RVec< FCCAnalysesJetConstituentsData > &Sip2dVals, const rv::RVec< FCCAnalysesJetConstituentsData > &err2_D0)
 The functions get_Sip2dSig and get_Sip2dVal can be made independent; I passed to the former the result of the latter, avoiding the recomputation.
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_Sip3dVal (const rv::RVec< edm4hep::ReconstructedParticleData > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_Sip3dVal_cluster (const rv::RVec< fastjet::PseudoJet > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_Sip3dVal_clusterV (const rv::RVec< fastjet::PseudoJet > &jets, const rv::RVec< FCCAnalysesJetConstituentsData > &D0, const rv::RVec< FCCAnalysesJetConstituentsData > &Z0, const rv::RVec< FCCAnalysesJetConstituentsData > &phi0, const float Bz)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_Sip3dSig (const rv::RVec< FCCAnalysesJetConstituentsData > &Sip3dVals, const rv::RVec< FCCAnalysesJetConstituentsData > &err2_D0, const rv::RVec< FCCAnalysesJetConstituentsData > &err2_Z0)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_JetDistVal (const rv::RVec< edm4hep::ReconstructedParticleData > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_JetDistVal_cluster (const rv::RVec< fastjet::PseudoJet > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs, const ROOT::VecOps::RVec< edm4hep::TrackState > &tracks)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_JetDistVal_clusterV (const rv::RVec< fastjet::PseudoJet > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs, const rv::RVec< FCCAnalysesJetConstituentsData > &D0, const rv::RVec< FCCAnalysesJetConstituentsData > &Z0, const rv::RVec< FCCAnalysesJetConstituentsData > &phi0, const float Bz)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_JetDistSig (const rv::RVec< FCCAnalysesJetConstituentsData > &JetDistVal, const rv::RVec< FCCAnalysesJetConstituentsData > &err2_D0, const rv::RVec< FCCAnalysesJetConstituentsData > &err2_Z0)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_mtof (const rv::RVec< FCCAnalysesJetConstituents > &jcs, const rv::RVec< float > &track_L, const rv::RVec< edm4hep::TrackData > &trackdata, const rv::RVec< edm4hep::TrackerHit3DData > &trackerhits, const rv::RVec< edm4hep::ClusterData > &gammadata, const rv::RVec< edm4hep::ClusterData > &nhdata, const rv::RVec< edm4hep::CalorimeterHitData > &calohits, const TLorentzVector &V)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_erel_log (const rv::RVec< edm4hep::ReconstructedParticleData > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_erel_log_cluster (const rv::RVec< fastjet::PseudoJet > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_erel (const rv::RVec< edm4hep::ReconstructedParticleData > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_erel_cluster (const rv::RVec< fastjet::PseudoJet > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_thetarel (const rv::RVec< edm4hep::ReconstructedParticleData > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_thetarel_cluster (const rv::RVec< fastjet::PseudoJet > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_phirel (const rv::RVec< edm4hep::ReconstructedParticleData > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_phirel_cluster (const rv::RVec< fastjet::PseudoJet > &jets, const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_PIDs (const ROOT::VecOps::RVec< int > recin, const ROOT::VecOps::RVec< int > mcin, const rv::RVec< edm4hep::ReconstructedParticleData > &RecPart, const rv::RVec< edm4hep::MCParticleData > &Particle, const rv::RVec< edm4hep::ReconstructedParticleData > &Jets)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_PIDs_cluster (const ROOT::VecOps::RVec< int > recin, const ROOT::VecOps::RVec< int > mcin, const rv::RVec< edm4hep::ReconstructedParticleData > &RecPart, const rv::RVec< edm4hep::MCParticleData > &Particle, const std::vector< std::vector< int > > &indices)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_isEl (const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_isMu (const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_isChargedHad (const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_isNeutralHad (const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
rv::RVec< FCCAnalysesJetConstituentsDataFCCAnalyses::JetConstituentsUtils::get_isGamma (const rv::RVec< FCCAnalysesJetConstituents > &jcs)
 
int FCCAnalyses::JetConstituentsUtils::count_jets (rv::RVec< FCCAnalysesJetConstituents > jets)
 
rv::RVec< int > FCCAnalyses::JetConstituentsUtils::count_consts (rv::RVec< FCCAnalysesJetConstituents > jets)
 
rv::RVec< int > FCCAnalyses::JetConstituentsUtils::count_type (const rv::RVec< FCCAnalysesJetConstituentsData > &isType)
 
rv::RVec< TLorentzVector > FCCAnalyses::JetConstituentsUtils::compute_tlv_jets (const rv::RVec< fastjet::PseudoJet > &jets)
 
rv::RVec< TLorentzVector > FCCAnalyses::JetConstituentsUtils::sum_tlv_constituents (const rv::RVec< FCCAnalysesJetConstituents > &jets)
 
float FCCAnalyses::JetConstituentsUtils::InvariantMass (const TLorentzVector &tlv1, const TLorentzVector &tlv2)
 
rv::RVec< double > FCCAnalyses::JetConstituentsUtils::all_invariant_masses (rv::RVec< TLorentzVector > AllJets)
 all_invariant_masses takes an RVec of TLorentzVectors of jets and computes the invariant masses of all jet pairs, and returns an RVec with all invariant masses.
 
rv::RVec< double > FCCAnalyses::JetConstituentsUtils::compute_residue_energy (const rv::RVec< TLorentzVector > &tlv_jet, const rv::RVec< TLorentzVector > &sum_tlv_jcs)
 
rv::RVec< double > FCCAnalyses::JetConstituentsUtils::compute_residue_px (const rv::RVec< TLorentzVector > &tlv_jet, const rv::RVec< TLorentzVector > &sum_tlv_jcs)
 
rv::RVec< double > FCCAnalyses::JetConstituentsUtils::compute_residue_py (const rv::RVec< TLorentzVector > &tlv_jet, const rv::RVec< TLorentzVector > &sum_tlv_jcs)
 
rv::RVec< double > FCCAnalyses::JetConstituentsUtils::compute_residue_pz (const rv::RVec< TLorentzVector > &tlv_jet, const rv::RVec< TLorentzVector > &sum_tlv_jcs)
 
rv::RVec< double > FCCAnalyses::JetConstituentsUtils::compute_residue_pt (const rv::RVec< TLorentzVector > &tlv_jet, const rv::RVec< TLorentzVector > &sum_tlv_jcs)
 
rv::RVec< double > FCCAnalyses::JetConstituentsUtils::compute_residue_phi (const rv::RVec< TLorentzVector > &tlv_jet, const rv::RVec< TLorentzVector > &sum_tlv_jcs)
 
rv::RVec< double > FCCAnalyses::JetConstituentsUtils::compute_residue_theta (const rv::RVec< TLorentzVector > &tlv_jet, const rv::RVec< TLorentzVector > &sum_tlv_jcs)
 

Variables

auto FCCAnalyses::JetConstituentsUtils::cast_constituent
 recasting helper for jet constituents methods
 
auto FCCAnalyses::JetConstituentsUtils::cast_constituent_2
 This function simply applies the 2 args functions per vector of Rec Particles to a vector of vectors of Rec Particles.
 
auto FCCAnalyses::JetConstituentsUtils::cast_constituent_3
 
auto FCCAnalyses::JetConstituentsUtils::cast_constituent_4