![]() |
ATLAS Offline Software
|
#include <TruthIsolationTool.h>
Public Member Functions | |
TruthIsolationTool (const std::string &t, const std::string &n, const IInterface *p) | |
~TruthIsolationTool () | |
virtual StatusCode | initialize () override |
virtual StatusCode | addBranches () const override |
Private Member Functions | |
void | calcIsos (const xAOD::TruthParticle *particle, const std::vector< const xAOD::TruthParticle * > &, std::vector< float > &) const |
Static Private Member Functions | |
static float | calculateDeltaR2 (const xAOD::IParticle *p1, float eta2, float phi2) |
Private Attributes | |
SG::ReadHandleKey< xAOD::TruthParticleContainer > | m_isoParticlesKey {this, "isoParticlesKey", "TruthParticles", "Name of TruthParticle key for input"} |
Parameter: input collection key. More... | |
SG::ReadHandleKey< xAOD::TruthParticleContainer > | m_allParticlesKey {this, "allParticlesKey", "TruthParticles", "Name of Truthparticle key to find in iso cone"} |
Parameter: input collection key for particles used in calculation. More... | |
SG::WriteDecorHandleKeyArray< xAOD::TruthParticleContainer, float > | m_isoDecorKeys {this, "DoNotSet_isoDecorKeys", {}, "WriteDecorHandleKeyArray - set internally but must be property"} |
Decor handle key array. More... | |
Gaudi::Property< std::vector< float > > | m_coneSizes {this, "IsolationConeSizes", {0.2}, "Vector of sizes of dR cone in which to include particles"} |
Parameter: Cone size for Isolation. More... | |
Gaudi::Property< bool > | m_chargedOnly {this, "ChargedParticlesOnly", false, "Only keep charged particles in isolation cone"} |
Parameter: only use charged particles for iso? More... | |
Gaudi::Property< std::vector< int > > | m_listOfPIDs {this, "particleIDsToCalculate", {11,13,22}, "List of the pdgIDs of particles for which to calculate isolation"} |
Parameter: List of pdgIDs of particles to dress. More... | |
Gaudi::Property< std::vector< int > > | m_excludeFromCone {this, "excludeIDsFromCone", {}, "List of the pdgIDs of particles to exclude from the cone when calculating isolation"} |
Parameter: List of pdgIDs to exclude from cone calculation. More... | |
Gaudi::Property< std::string > | m_isoVarNamePrefix {this, "IsolationVarNamePrefix", "", "Prefix of name of the variable to add to output xAOD"} |
Parameter: name of output variable. More... | |
Gaudi::Property< bool > | m_includeNonInteracting {this, "IncludeNonInteracting", false, "Include non-interacting particles in the isolation definition"} |
Parameter: Include non-interacting particles? More... | |
Gaudi::Property< bool > | m_variableR {this, "VariableR", false, "Use radius that shrinks with pT in isolation"} |
Parameter: Use variable radius? More... | |
std::vector< float > | m_coneSizesSort |
Definition at line 21 of file DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/TruthIsolationTool.h.
TruthIsolationTool::TruthIsolationTool | ( | const std::string & | t, |
const std::string & | n, | ||
const IInterface * | p | ||
) |
Definition at line 17 of file DerivationFramework/DerivationFrameworkMCTruth/src/TruthIsolationTool.cxx.
TruthIsolationTool::~TruthIsolationTool | ( | ) |
Definition at line 25 of file DerivationFramework/DerivationFrameworkMCTruth/src/TruthIsolationTool.cxx.
|
overridevirtual |
Even if this is with some dummy value
Definition at line 53 of file DerivationFramework/DerivationFrameworkMCTruth/src/TruthIsolationTool.cxx.
|
private |
Definition at line 108 of file DerivationFramework/DerivationFrameworkMCTruth/src/TruthIsolationTool.cxx.
|
staticprivate |
Definition at line 146 of file DerivationFramework/DerivationFrameworkMCTruth/src/TruthIsolationTool.cxx.
|
overridevirtual |
Definition at line 29 of file DerivationFramework/DerivationFrameworkMCTruth/src/TruthIsolationTool.cxx.
|
private |
Parameter: input collection key for particles used in calculation.
Definition at line 33 of file DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/TruthIsolationTool.h.
|
private |
Parameter: only use charged particles for iso?
Definition at line 42 of file DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/TruthIsolationTool.h.
|
private |
Parameter: Cone size for Isolation.
Definition at line 39 of file DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/TruthIsolationTool.h.
|
private |
Definition at line 60 of file DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/TruthIsolationTool.h.
|
private |
Parameter: List of pdgIDs to exclude from cone calculation.
Definition at line 48 of file DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/TruthIsolationTool.h.
|
private |
Parameter: Include non-interacting particles?
Definition at line 54 of file DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/TruthIsolationTool.h.
|
private |
Decor handle key array.
Definition at line 36 of file DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/TruthIsolationTool.h.
|
private |
Parameter: input collection key.
Definition at line 30 of file DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/TruthIsolationTool.h.
|
private |
Parameter: name of output variable.
Definition at line 51 of file DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/TruthIsolationTool.h.
|
private |
Parameter: List of pdgIDs of particles to dress.
Definition at line 45 of file DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/TruthIsolationTool.h.
|
private |
Parameter: Use variable radius?
Definition at line 57 of file DerivationFramework/DerivationFrameworkMCTruth/DerivationFrameworkMCTruth/TruthIsolationTool.h.