FCCAnalyses
Loading...
Searching...
No Matches
FCCAnalyses::MCParticle::get_indices Struct Reference

return a list of indices that correspond to a given MC decay. The list contains the index of the mother, followed by the indices of the daughters, in the order specified. If m_inclusiveDecay is true, the list of daughters is the minimum required for the mother's decay (otherwise, the list is the exact daughters required for the mother's decay). In case there are several such decays in the event, keep only the first one. More...

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

Inheritance diagram for FCCAnalyses::MCParticle::get_indices:
Collaboration diagram for FCCAnalyses::MCParticle::get_indices:

Public Member Functions

 get_indices (int pdg_mother, std::vector< int > pdg_daughters, bool stableDaughters, bool chargeConjugateMother, bool chargeConjugateDaughters, bool inclusiveDecay)
 
ROOT::VecOps::RVec< int > operator() (ROOT::VecOps::RVec< edm4hep::MCParticleData > in, ROOT::VecOps::RVec< int > ind)
 

Public Attributes

int m_pdg_mother
 
std::vector< int > m_pdg_daughters
 
bool m_stableDaughters
 
bool m_chargeConjugateMother
 
bool m_chargeConjugateDaughters
 
bool m_inclusiveDecay
 

Detailed Description

return a list of indices that correspond to a given MC decay. The list contains the index of the mother, followed by the indices of the daughters, in the order specified. If m_inclusiveDecay is true, the list of daughters is the minimum required for the mother's decay (otherwise, the list is the exact daughters required for the mother's decay). In case there are several such decays in the event, keep only the first one.

Constructor & Destructor Documentation

◆ get_indices()

FCCAnalyses::MCParticle::get_indices::get_indices ( int pdg_mother,
std::vector< int > pdg_daughters,
bool stableDaughters,
bool chargeConjugateMother,
bool chargeConjugateDaughters,
bool inclusiveDecay )

Member Function Documentation

◆ operator()()

ROOT::VecOps::RVec< int > FCCAnalyses::MCParticle::get_indices::operator() ( ROOT::VecOps::RVec< edm4hep::MCParticleData > in,
ROOT::VecOps::RVec< int > ind )

Member Data Documentation

◆ m_chargeConjugateDaughters

bool FCCAnalyses::MCParticle::get_indices::m_chargeConjugateDaughters

◆ m_chargeConjugateMother

bool FCCAnalyses::MCParticle::get_indices::m_chargeConjugateMother

◆ m_inclusiveDecay

bool FCCAnalyses::MCParticle::get_indices::m_inclusiveDecay

◆ m_pdg_daughters

std::vector<int> FCCAnalyses::MCParticle::get_indices::m_pdg_daughters

◆ m_pdg_mother

int FCCAnalyses::MCParticle::get_indices::m_pdg_mother

◆ m_stableDaughters

bool FCCAnalyses::MCParticle::get_indices::m_stableDaughters

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