FCCAnalyses
Loading...
Searching...
No Matches
Classes | Functions
FCCAnalyses::Algorithms Namespace Reference

Various algorithms. More...

Classes

struct  calculate_thrust
 Calculates the thrust axis by looping over all possible combinations. More...
 
struct  getAxisCharge
 Get the weighted charge in a given hemisphere (defined by it's angle wrt to axis). For definition see eq1 https://arxiv.org/pdf/1209.2421.pdf. More...
 
struct  getAxisEnergy
 Get the energy in a given hemisphere (defined by it's angle wrt to axis). Returns 3 values: total, charged, neutral energies. More...
 
struct  getAxisMass
 Get the invariant mass in a given hemisphere (defined by it's angle wrt to axis). More...
 
struct  getAxisN
 Get the number of particles in a given hemisphere (defined by it's angle wrt to axis). Returns 3 values: total, charged, neutral multiplicity. More...
 
struct  getThrustPointing
 Make the thrust axis points to hemisphere with maximum or minimum energy. More...
 
struct  jets_TwoHemispheres
 make "jets" by splitting the events into two hemisphere transverse to the thrust axis. More...
 
struct  minimize_sphericity
 Calculates the sphericity axis based on a list of px, py, pz. More...
 
struct  minimize_thrust
 Finds the thrust axis based on a list of px, py, pz. More...
 
struct  sphericityFit
 Function that runs the fit for the sphericity axis determination. More...
 
struct  thrustFit
 Function that runs the fit for the thrust axis determination. More...
 

Functions

ROOT::VecOps::RVec< float > getAxisCosTheta (const ROOT::VecOps::RVec< float > &axis, const ROOT::VecOps::RVec< float > &px, const ROOT::VecOps::RVec< float > &py, const ROOT::VecOps::RVec< float > &pz)
 Get the angle cosTheta between particles and an axis.
 
float getAxisCosTheta (const ROOT::VecOps::RVec< float > &axis, float px, float py, float pz)
 Get the angle cosTheta between one particle and an axis.
 
float getMass (const ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &in)
 Get the invariant mass from a list of reconstructed particles.
 

Detailed Description

Various algorithms.

This represents a set functions and utilities to perform algorithmics in FCCAnalyses.

Function Documentation

◆ getAxisCosTheta() [1/2]

ROOT::VecOps::RVec< float > FCCAnalyses::Algorithms::getAxisCosTheta ( const ROOT::VecOps::RVec< float > &  axis,
const ROOT::VecOps::RVec< float > &  px,
const ROOT::VecOps::RVec< float > &  py,
const ROOT::VecOps::RVec< float > &  pz 
)

Get the angle cosTheta between particles and an axis.

◆ getAxisCosTheta() [2/2]

float FCCAnalyses::Algorithms::getAxisCosTheta ( const ROOT::VecOps::RVec< float > &  axis,
float  px,
float  py,
float  pz 
)

Get the angle cosTheta between one particle and an axis.

◆ getMass()

float FCCAnalyses::Algorithms::getMass ( const ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &  in)

Get the invariant mass from a list of reconstructed particles.