FCCAnalyses
Loading...
Searching...
No Matches
FCCAnalyses ::PodioSource ::Track::selPDG Struct Reference

Analyzer to select tracks associated with a MC particle of a specified PDG ID. More...

#include <analyzers/dataframe/FCCAnalyses/TrackSource.h>

Public Member Functions

 selPDG (const int pdgID, const bool chargeConjugateAllowed=false)
 
edm4hep::TrackCollection operator() (const edm4hep::TrackMCParticleLinkCollection &inLinkColl)
 

Public Attributes

const int m_pdg
 
const bool m_chargeConjugateAllowed
 

Detailed Description

Analyzer to select tracks associated with a MC particle of a specified PDG ID.

Parameters
pdgIDDesired PDG ID of the MC particle.
chargeConjugateAllowedWhether to allow also charge conjugate PDG ID. Default value false — charge conjugate not allowed.

Constructor & Destructor Documentation

◆ selPDG()

FCCAnalyses ::PodioSource ::Track::selPDG::selPDG ( const int pdgID,
const bool chargeConjugateAllowed = false )
explicit

Member Function Documentation

◆ operator()()

edm4hep::TrackCollection FCCAnalyses ::PodioSource ::Track::selPDG::operator() ( const edm4hep::TrackMCParticleLinkCollection & inLinkColl)

Member Data Documentation

◆ m_chargeConjugateAllowed

const bool FCCAnalyses ::PodioSource ::Track::selPDG::m_chargeConjugateAllowed

◆ m_pdg

const int FCCAnalyses ::PodioSource ::Track::selPDG::m_pdg

The documentation for this struct was generated from the following files: