![]() |
ATLAS Offline Software
|
#include <MenuTruthThinning.h>
Public Member Functions | |
| MenuTruthThinning (const std::string &t, const std::string &n, const IInterface *p) | |
| virtual | ~MenuTruthThinning () |
| virtual StatusCode | initialize () override |
| virtual StatusCode | finalize () override |
| virtual StatusCode | doThinning () const override |
| bool | isAccepted (const xAOD::TruthParticle *) const |
| bool | matchHadronIncTau (const xAOD::TruthParticle *part) const |
| bool | matchQuarkIncTau (const xAOD::TruthParticle *part) const |
| bool | isOrphanIncTau (const xAOD::TruthParticle *part) const |
| bool | matchGenParticle (const xAOD::TruthParticle *part, std::vector< int > &targetIDs, std::vector< int > &intermediateIDs, bool targetsAreRange) const |
| bool | isLeptonFromTau (const xAOD::TruthParticle *) const |
| bool | isFromTau (const xAOD::TruthParticle *, std::unordered_set< int > &barcode_trace) const |
| bool | isFsrFromLepton (const xAOD::TruthParticle *) const |
| bool | parentIsLongLived (const xAOD::TruthParticle *) const |
Static Public Member Functions | |
| static bool | isttHFHadron (const xAOD::TruthParticle *) |
Private Attributes | |
| StringProperty | m_streamName { this, "StreamName", "", "Name of the stream being thinned" } |
| SG::ThinningHandleKey< xAOD::TruthParticleContainer > | m_particlesKey { this, "ParticlesKey", "TruthParticles", "TruthParticle container name" } |
| SG::ThinningHandleKey< xAOD::TruthVertexContainer > | m_verticesKey { this, "VerticesKey", "TruthVertices", "TruthVertex container name" } |
| bool | m_writePartons |
| Parameter: Keep partons? | |
| bool | m_writeHadrons |
| Parameter: Keep hadrons? | |
| bool | m_writeBHadrons |
| Parameter: Keep b-hadrons? | |
| bool | m_writeCHadrons |
| Parameter: Keep c-hadrons? | |
| bool | m_writeGeant |
| Parameter: Keep geant particles? | |
| float | m_geantPhotonPtThresh |
| Parameter: Write Geant photons with Pt above this threshold. | |
| bool | m_writeTauHad |
| Parameter: Keep hadronic tau decays? | |
| bool | m_writeBSM |
| Parameter: Keep BSM particles? | |
| bool | m_writeBosons |
| Parameter: Keep bosons? | |
| float | m_photonPtCut |
| float | m_partonPtThresh |
| Parameter: Write partons with Pt above this threshold. | |
| bool | m_writeEverything |
| Parameter: Write absolutely everything. | |
| bool | m_writeBosonProducts |
| Parameter: Write boson decay products. | |
| bool | m_writeBSMProducts |
| Parameter: Write BSM decay products. | |
| bool | m_writeTopAndDecays |
| Parameter: Write top and decay products. | |
| bool | m_writeAllLeptons |
| Parameter: Write all leptons. | |
| bool | m_writeLeptonsNotFromHadrons |
| Parameter: Write all leptons. | |
| bool | m_writeAllStable |
| bool | m_writeNotPhysical |
| Parameter: Write particles with status code 3. | |
| bool | m_writettHFHadrons |
| Parameter: Write particles for tt+HF classification. | |
| int | m_writeFirstN |
| Parameter: First N particles to write. | |
| bool | m_preserveDescendants |
| Parameter: preserve descendant/ancestor graph completeness. | |
| bool | m_preserveGeneratorDescendants |
| bool | m_preserveAncestors |
| bool | m_preserveImmediate |
| bool | m_preserveHadVtx |
| std::vector< int > | m_pdgIdsToKeep |
| Parameter: List of PDG IDs to always keep. | |
| std::vector< int > | m_longLivedPdgIds |
| Parameter: List of PDG IDs of long lived particles so that one can keep their children. | |
| std::atomic< unsigned int > | m_totpart |
| std::atomic< unsigned int > | m_removedpart |
| std::atomic< int > | m_eventCount {} |
Definition at line 27 of file MenuTruthThinning.h.
| DerivationFramework::MenuTruthThinning::MenuTruthThinning | ( | const std::string & | t, |
| const std::string & | n, | ||
| const IInterface * | p ) |
Definition at line 30 of file MenuTruthThinning.cxx.
|
virtual |
Definition at line 153 of file MenuTruthThinning.cxx.
|
overridevirtual |
Definition at line 185 of file MenuTruthThinning.cxx.
|
overridevirtual |
Definition at line 176 of file MenuTruthThinning.cxx.
|
overridevirtual |
Definition at line 157 of file MenuTruthThinning.cxx.
| bool DerivationFramework::MenuTruthThinning::isAccepted | ( | const xAOD::TruthParticle * | p | ) | const |
Definition at line 267 of file MenuTruthThinning.cxx.
| bool DerivationFramework::MenuTruthThinning::isFromTau | ( | const xAOD::TruthParticle * | part, |
| std::unordered_set< int > & | barcode_trace ) const |
Definition at line 540 of file MenuTruthThinning.cxx.
| bool DerivationFramework::MenuTruthThinning::isFsrFromLepton | ( | const xAOD::TruthParticle * | part | ) | const |
Definition at line 616 of file MenuTruthThinning.cxx.
| bool DerivationFramework::MenuTruthThinning::isLeptonFromTau | ( | const xAOD::TruthParticle * | part | ) | const |
Definition at line 506 of file MenuTruthThinning.cxx.
| bool DerivationFramework::MenuTruthThinning::isOrphanIncTau | ( | const xAOD::TruthParticle * | part | ) | const |
Definition at line 398 of file MenuTruthThinning.cxx.
|
static |
Definition at line 597 of file MenuTruthThinning.cxx.
| bool DerivationFramework::MenuTruthThinning::matchGenParticle | ( | const xAOD::TruthParticle * | part, |
| std::vector< int > & | targetIDs, | ||
| std::vector< int > & | intermediateIDs, | ||
| bool | targetsAreRange ) const |
Definition at line 436 of file MenuTruthThinning.cxx.
| bool DerivationFramework::MenuTruthThinning::matchHadronIncTau | ( | const xAOD::TruthParticle * | part | ) | const |
Definition at line 382 of file MenuTruthThinning.cxx.
| bool DerivationFramework::MenuTruthThinning::matchQuarkIncTau | ( | const xAOD::TruthParticle * | part | ) | const |
Definition at line 390 of file MenuTruthThinning.cxx.
| bool DerivationFramework::MenuTruthThinning::parentIsLongLived | ( | const xAOD::TruthParticle * | part | ) | const |
Definition at line 643 of file MenuTruthThinning.cxx.
|
mutableprivate |
Definition at line 138 of file MenuTruthThinning.h.
|
private |
Parameter: Write Geant photons with Pt above this threshold.
Set to < 0 to not write any.
Definition at line 77 of file MenuTruthThinning.h.
|
private |
Parameter: List of PDG IDs of long lived particles so that one can keep their children.
Definition at line 133 of file MenuTruthThinning.h.
|
private |
Definition at line 55 of file MenuTruthThinning.h.
|
private |
Parameter: Write partons with Pt above this threshold.
Definition at line 90 of file MenuTruthThinning.h.
|
private |
Parameter: List of PDG IDs to always keep.
Definition at line 130 of file MenuTruthThinning.h.
|
private |
Definition at line 87 of file MenuTruthThinning.h.
|
private |
Definition at line 125 of file MenuTruthThinning.h.
|
private |
Parameter: preserve descendant/ancestor graph completeness.
Definition at line 123 of file MenuTruthThinning.h.
|
private |
Definition at line 124 of file MenuTruthThinning.h.
|
private |
Definition at line 127 of file MenuTruthThinning.h.
|
private |
Definition at line 126 of file MenuTruthThinning.h.
|
mutableprivate |
Definition at line 137 of file MenuTruthThinning.h.
|
private |
Definition at line 53 of file MenuTruthThinning.h.
|
mutableprivate |
Definition at line 136 of file MenuTruthThinning.h.
|
private |
Definition at line 57 of file MenuTruthThinning.h.
|
private |
Parameter: Write all leptons.
Definition at line 105 of file MenuTruthThinning.h.
|
private |
Definition at line 111 of file MenuTruthThinning.h.
|
private |
Parameter: Keep b-hadrons?
Definition at line 67 of file MenuTruthThinning.h.
|
private |
Parameter: Write boson decay products.
Definition at line 96 of file MenuTruthThinning.h.
|
private |
Parameter: Keep bosons?
Definition at line 86 of file MenuTruthThinning.h.
|
private |
Parameter: Keep BSM particles?
Definition at line 83 of file MenuTruthThinning.h.
|
private |
Parameter: Write BSM decay products.
Definition at line 99 of file MenuTruthThinning.h.
|
private |
Parameter: Keep c-hadrons?
Definition at line 70 of file MenuTruthThinning.h.
|
private |
Parameter: Write absolutely everything.
Definition at line 93 of file MenuTruthThinning.h.
|
private |
Parameter: First N particles to write.
Definition at line 120 of file MenuTruthThinning.h.
|
private |
Parameter: Keep geant particles?
Definition at line 73 of file MenuTruthThinning.h.
|
private |
Parameter: Keep hadrons?
Definition at line 64 of file MenuTruthThinning.h.
|
private |
Parameter: Write all leptons.
Definition at line 108 of file MenuTruthThinning.h.
|
private |
Parameter: Write particles with status code 3.
Definition at line 114 of file MenuTruthThinning.h.
|
private |
Parameter: Keep partons?
Definition at line 61 of file MenuTruthThinning.h.
|
private |
Parameter: Keep hadronic tau decays?
Definition at line 80 of file MenuTruthThinning.h.
|
private |
Parameter: Write top and decay products.
Definition at line 102 of file MenuTruthThinning.h.
|
private |
Parameter: Write particles for tt+HF classification.
Definition at line 117 of file MenuTruthThinning.h.