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

Classes

struct  angular_separationBuilder
 return the angular separations (min / max / average) between a collection of particles More...
 
struct  recoilBuilder
 Build the recoil from an arbitrary list of input ReconstructedPartilces and the center of mass energy. More...
 
struct  resonanceBuilder
 Build the two particle resonances from an arbitrary list of input ReconstructedPartilces. More...
 
struct  sel_absType
 select ReconstructedParticles by type absolute value Note: type might not correspond to PDG ID More...
 
struct  sel_axis
 select a list of reconstructed particles depending on the angle cosTheta axis More...
 
struct  sel_charge
 select ReconstructedParticles with charge equal or in asolute value More...
 
struct  sel_eta
 select ReconstructedParticles with absolute pseudorapidity less than a maximum absolute value More...
 
struct  sel_p
 select ReconstructedParticles with momentum greater than a minimum value [GeV] More...
 
struct  sel_pt
 select ReconstructedParticles with transverse momentum greater than a minimum value [GeV] More...
 
struct  sel_tag
 select a list of reconstructed particles depending on the status of a certain boolean flag More...
 
struct  sel_type
 select ReconstructedParticles by type Note: type might not correspond to PDG ID More...
 

Functions

ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > get (ROOT::VecOps::RVec< int > indexes, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > inParticles)
 Retrieve subset collection of reconstructed particles.
 
ROOT::VecOps::RVec< float > get_pt (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the transverse momenta of the input ReconstructedParticles
 
ROOT::VecOps::RVec< float > get_p (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the momenta of the input ReconstructedParticles
 
ROOT::VecOps::RVec< float > get_px (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the momenta of the input ReconstructedParticles
 
ROOT::VecOps::RVec< float > get_py (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the momenta of the input ReconstructedParticles
 
ROOT::VecOps::RVec< float > get_pz (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the momenta of the input ReconstructedParticles
 
ROOT::VecOps::RVec< float > get_eta (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the pseudo-rapidity of the input ReconstructedParticles
 
ROOT::VecOps::RVec< float > get_y (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the rapidity of the input ReconstructedParticles
 
ROOT::VecOps::RVec< float > get_theta (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the theta of the input ReconstructedParticles
 
ROOT::VecOps::RVec< float > get_phi (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the phi of the input ReconstructedParticles
 
ROOT::VecOps::RVec< float > get_e (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the energy of the input ReconstructedParticles
 
ROOT::VecOps::RVec< float > get_mass (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the masses of the input ReconstructedParticles
 
ROOT::VecOps::RVec< float > get_charge (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the charges of the input ReconstructedParticles
 
ROOT::VecOps::RVec< int > get_type (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the type of the input ReconstructedParticles
 
ROOT::VecOps::RVec< TLorentzVector > get_tlv (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return the TlorentzVector of the input ReconstructedParticles
 
TLorentzVector get_tlv (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in, int index)
 return the TlorentzVector of the indexed input ReconstructedParticles
 
TLorentzVector get_tlv (edm4hep::ReconstructedParticleData in)
 return the TlorentzVector of the one input ReconstructedParticle
 
TLorentzVector get_P4vis (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)
 return visible 4-momentum vector
 
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > merge (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > x, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > y)
 concatenate both input vectors and return the resulting vector
 
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > remove (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > x, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > y)
 remove elements of vector y from vector x
 
int get_n (ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > inParticles)
 Return the size of the input collection.
 
ROOT::VecOps::RVec< bool > getJet_btag (ROOT::VecOps::RVec< int > index, ROOT::VecOps::RVec< edm4hep::ParticleIDData > pid, ROOT::VecOps::RVec< float > values)
 Returns the b-jet mask (vector of bools).
 
int getJet_ntags (ROOT::VecOps::RVec< bool > inBJetMask)
 Get number of b-jets.
 

Function Documentation

◆ get()

ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > FCCAnalyses ::ReconstructedParticle::get ( ROOT::VecOps::RVec< int > indexes,
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > inParticles )

Retrieve subset collection of reconstructed particles.

Parameters
[in]indexesIndexes of the particles belonging to the subset collection.
[in]inParticlesCollection of original particles.
Returns
subset collection.

◆ get_charge()

ROOT::VecOps::RVec< float > FCCAnalyses ::ReconstructedParticle::get_charge ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the charges of the input ReconstructedParticles

◆ get_e()

ROOT::VecOps::RVec< float > FCCAnalyses ::ReconstructedParticle::get_e ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the energy of the input ReconstructedParticles

◆ get_eta()

ROOT::VecOps::RVec< float > FCCAnalyses ::ReconstructedParticle::get_eta ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the pseudo-rapidity of the input ReconstructedParticles

◆ get_mass()

ROOT::VecOps::RVec< float > FCCAnalyses ::ReconstructedParticle::get_mass ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the masses of the input ReconstructedParticles

◆ get_n()

int FCCAnalyses ::ReconstructedParticle::get_n ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > inParticles)

Return the size of the input collection.

◆ get_p()

ROOT::VecOps::RVec< float > FCCAnalyses ::ReconstructedParticle::get_p ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the momenta of the input ReconstructedParticles

◆ get_P4vis()

TLorentzVector FCCAnalyses ::ReconstructedParticle::get_P4vis ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return visible 4-momentum vector

◆ get_phi()

ROOT::VecOps::RVec< float > FCCAnalyses ::ReconstructedParticle::get_phi ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the phi of the input ReconstructedParticles

◆ get_pt()

ROOT::VecOps::RVec< float > FCCAnalyses ::ReconstructedParticle::get_pt ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the transverse momenta of the input ReconstructedParticles

◆ get_px()

ROOT::VecOps::RVec< float > FCCAnalyses ::ReconstructedParticle::get_px ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the momenta of the input ReconstructedParticles

◆ get_py()

ROOT::VecOps::RVec< float > FCCAnalyses ::ReconstructedParticle::get_py ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the momenta of the input ReconstructedParticles

◆ get_pz()

ROOT::VecOps::RVec< float > FCCAnalyses ::ReconstructedParticle::get_pz ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the momenta of the input ReconstructedParticles

◆ get_theta()

ROOT::VecOps::RVec< float > FCCAnalyses ::ReconstructedParticle::get_theta ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the theta of the input ReconstructedParticles

◆ get_tlv() [1/3]

TLorentzVector FCCAnalyses ::ReconstructedParticle::get_tlv ( edm4hep::ReconstructedParticleData in)

return the TlorentzVector of the one input ReconstructedParticle

◆ get_tlv() [2/3]

ROOT::VecOps::RVec< TLorentzVector > FCCAnalyses ::ReconstructedParticle::get_tlv ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the TlorentzVector of the input ReconstructedParticles

◆ get_tlv() [3/3]

TLorentzVector FCCAnalyses ::ReconstructedParticle::get_tlv ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in,
int index )

return the TlorentzVector of the indexed input ReconstructedParticles

◆ get_type()

ROOT::VecOps::RVec< int > FCCAnalyses ::ReconstructedParticle::get_type ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the type of the input ReconstructedParticles

◆ get_y()

ROOT::VecOps::RVec< float > FCCAnalyses ::ReconstructedParticle::get_y ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > in)

return the rapidity of the input ReconstructedParticles

◆ getJet_btag()

ROOT::VecOps::RVec< bool > FCCAnalyses ::ReconstructedParticle::getJet_btag ( ROOT::VecOps::RVec< int > index,
ROOT::VecOps::RVec< edm4hep::ParticleIDData > pid,
ROOT::VecOps::RVec< float > values )

Returns the b-jet mask (vector of bools).

◆ getJet_ntags()

int FCCAnalyses ::ReconstructedParticle::getJet_ntags ( ROOT::VecOps::RVec< bool > inBJetMask)

Get number of b-jets.

◆ merge()

ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > FCCAnalyses ::ReconstructedParticle::merge ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > x,
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > y )

concatenate both input vectors and return the resulting vector

◆ remove()

ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > FCCAnalyses ::ReconstructedParticle::remove ( ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > x,
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > y )

remove elements of vector y from vector x