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

Classes

struct  recoilBuilder
 Build the recoil from an arbitrary list of input resonances at the specified center of mass energy. More...
 
struct  resonanceBuilder
 Build two particle resonances from an arbitrary list of input reconstructed particles. More...
 
struct  selAbsPDG
 Analyzer to select reconstructed particles associated with MC particle with the specified absolute value of the PDG ID. More...
 
struct  selGenStatus
 Analyzer to select reconstructed particles associated with the MC particle of the desired generator status. More...
 
struct  selPDG
 Analyzer to select reconstructed particles associated with MC particle of the specified PDG ID. More...
 
struct  selPt
 Select reconstructed particles with transverse momentum greater than a minimum value [GeV]. More...
 
struct  selUpTo
 Analyzer to select specified number of reconstructed particles. More...
 

Functions

ROOT::VecOps::RVec< float > getP (const edm4hep::ReconstructedParticleCollection &inColl)
 Get momenta of the input reconstructed particles.
 
ROOT::VecOps::RVec< float > getPt (const edm4hep::ReconstructedParticleCollection &inColl)
 Get transverse momenta (pT) of the input particles.
 
ROOT::VecOps::RVec< float > getY (const edm4hep::ReconstructedParticleCollection &inColl)
 Get rapidity (y) of the input reconstructed particles.
 
ROOT::VecOps::RVec< float > getE (const edm4hep::ReconstructedParticleCollection &inColl)
 Get energy (E) of the input reconstructed particles.
 
ROOT::VecOps::RVec< float > getMass (const edm4hep::ReconstructedParticleCollection &inColl)
 Get mass of the input reconstructed particles.
 
ROOT::VecOps::RVec< float > getCharge (const edm4hep::ReconstructedParticleCollection &inColl)
 Get charge of the input reconstructed particles.
 
edm4hep::ReconstructedParticleCollection sortByPt (const edm4hep::ReconstructedParticleCollection &inColl)
 Sort input particles by pT.
 
edm4hep::ReconstructedParticleCollection remove (const edm4hep::ReconstructedParticleCollection &inColl, const edm4hep::ReconstructedParticle &inPartToBeRemoved, const bool matching=false)
 Remove a particle from a collection.
 
edm4hep::ReconstructedParticleCollection remove (const edm4hep::ReconstructedParticleCollection &inColl, const edm4hep::ReconstructedParticleCollection &inPartsToBeRemoved, const bool matching=false)
 Remove multiple particles from a collection.
 
edm4hep::ReconstructedParticleCollection merge (const edm4hep::ReconstructedParticleCollection &inColl1, const edm4hep::ReconstructedParticleCollection &inColl2)
 Merge two particle collections together.
 

Function Documentation

◆ getCharge()

ROOT::VecOps::RVec< float > FCCAnalyses ::PodioSource ::ReconstructedParticle::getCharge ( const edm4hep::ReconstructedParticleCollection & inColl)

Get charge of the input reconstructed particles.

Parameters
[in]inCollInput particle collection.
[out]resultVector of particle charges.

◆ getE()

ROOT::VecOps::RVec< float > FCCAnalyses ::PodioSource ::ReconstructedParticle::getE ( const edm4hep::ReconstructedParticleCollection & inColl)

Get energy (E) of the input reconstructed particles.

Parameters
[in]inCollInput particle collection.
[out]resultVector of particle energies.

◆ getMass()

ROOT::VecOps::RVec< float > FCCAnalyses ::PodioSource ::ReconstructedParticle::getMass ( const edm4hep::ReconstructedParticleCollection & inColl)

Get mass of the input reconstructed particles.

Parameters
[in]inCollInput particle collection.
[out]resultVector of particle masses.

◆ getP()

ROOT::VecOps::RVec< float > FCCAnalyses ::PodioSource ::ReconstructedParticle::getP ( const edm4hep::ReconstructedParticleCollection & inColl)

Get momenta of the input reconstructed particles.

Parameters
[in]inCollInput particle collection.
[out]resultVector of particle momenta.

◆ getPt()

ROOT::VecOps::RVec< float > FCCAnalyses ::PodioSource ::ReconstructedParticle::getPt ( const edm4hep::ReconstructedParticleCollection & inColl)

Get transverse momenta (pT) of the input particles.

Parameters
[in]inCollInput particle collection.
[out]resultVector of particle pTs.

◆ getY()

ROOT::VecOps::RVec< float > FCCAnalyses ::PodioSource ::ReconstructedParticle::getY ( const edm4hep::ReconstructedParticleCollection & inColl)

Get rapidity (y) of the input reconstructed particles.

Parameters
[in]inCollInput particle collection.
[out]resultVector of particle rapidities.

◆ merge()

edm4hep::ReconstructedParticleCollection FCCAnalyses ::PodioSource ::ReconstructedParticle::merge ( const edm4hep::ReconstructedParticleCollection & inColl1,
const edm4hep::ReconstructedParticleCollection & inColl2 )

Merge two particle collections together.

Parameters
[in]inColl1First collection of input particles.
[in]inColl2Second collection of input particles.
Returns
Particles in merged collection.

◆ remove() [1/2]

edm4hep::ReconstructedParticleCollection FCCAnalyses ::PodioSource ::ReconstructedParticle::remove ( const edm4hep::ReconstructedParticleCollection & inColl,
const edm4hep::ReconstructedParticle & inPartToBeRemoved,
const bool matching = false )

Remove a particle from a collection.

If the matching parameter is false them only the particle with the same ID will be removed from the collection. If the matching parameter is true then ID is ignored and any particle matching with the one provided will be removed.

Parameters
[in]inCollCollection of input particles.
[in]inPartToBeRemovedInput particle to be removed.
[in]matchingUse matching instead of IDs/
Returns
Particles remaining.

◆ remove() [2/2]

edm4hep::ReconstructedParticleCollection FCCAnalyses ::PodioSource ::ReconstructedParticle::remove ( const edm4hep::ReconstructedParticleCollection & inColl,
const edm4hep::ReconstructedParticleCollection & inPartsToBeRemoved,
const bool matching = false )

Remove multiple particles from a collection.

If the matching parameter is false them only the particles with the same IDs will be removed from the collection. If the matching parameter is true then ID is ignored and any particle matching with the particles provided in the remove collection will be removed.

Parameters
[in]inCollCollection of input particles.
[in]inPartsToBeRemovedCollection of input particles to be removed.
[in]matchingUse matching instead of IDs/
Returns
Particles remaining.

◆ sortByPt()

edm4hep::ReconstructedParticleCollection FCCAnalyses ::PodioSource ::ReconstructedParticle::sortByPt ( const edm4hep::ReconstructedParticleCollection & inColl)

Sort input particles by pT.

Parameters
[in]inCollInput particles.
[out]resultSorted collection of particles.