|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef DERIVATIONFRAMEWORK_TRUTHCOLLECTIONMAKER_H
6 #define DERIVATIONFRAMEWORK_TRUTHCOLLECTIONMAKER_H
11 #include "Gaudi/Property.h"
13 #include "GaudiKernel/ToolHandle.h"
14 #include "GaudiKernel/ServiceHandle.h"
41 {
this,
"ParticlesKey",
"TruthParticles",
"ReadHandleKey for input TruthParticleContainer"};
43 {
this,
"NewCollectionName",
"OutputTruthCollection",
"WriteHandleKey for new TruthParticleContainer"};
46 {
this,
"ParticleSelectionString",
"",
"ExpressionEvaluation string for particle selection"};
48 {
this,
"Do_Compress",
false,
"Removes particles with the same pdgId in a decay chain (but keeps first and last)"};
50 {
this,
"Do_Sherpa",
false,
"Checks if there are truth W bosons in the current record. If not, tries to combine W daughters to create one"};
52 {
this,
"KeepNavigationInfo",
true,
"m_do_sherpa currently only works for W+jets"};
55 {
this,
"originalTruthParticle",
m_outputParticlesKey,
"originalTruthParticle",
"Name of the decoration linking to the original truth particle"};
57 {
this,
"classifierParticleOrigin",
m_outputParticlesKey,
"classifierParticleOrigin",
"Name of the decoration which records the particle origin as determined by the MCTruthClassifier"};
59 {
this,
"classifierParticleType",
m_outputParticlesKey,
"classifierParticleType",
"Name of the decoration which records the particle type as determined by the MCTruthClassifier"};
61 {
this,
"classifierParticleOutCome",
m_outputParticlesKey,
"classifierParticleOutCome",
"Name of the decoration which records the particle outcome as determined by the MCTruthClassifier"};
63 {
this,
"Classification",
m_outputParticlesKey,
"Classification",
"Name of the decoration which records the particle classification as determined by the MCTruthClassifier"};
65 {
this,
"motherID",
m_outputParticlesKey,
"motherID",
"Name of the decoration which records the ID of the particle's mother"};
67 {
this,
"daughterID",
m_outputParticlesKey,
"daughterID",
"Name of the decoration which records the ID of the particle's daughter"};
69 {
this,
"TopHadronOriginFlag",
m_outputParticlesKey,
"TopHadronOriginFlag",
"Name of the decoration which records the origin of hadrons from top decays"};
74 {
this,
"inputClassifierParticleOrigin",
m_particlesKey,
"classifierParticleOrigin",
"Particle origin"};
76 {
this,
"inputClassifierParticleType",
m_particlesKey,
"classifierParticleType",
"Particle type"};
78 {
this,
"inputClassifierParticleOutCome",
m_particlesKey,
"classifierParticleOutCome",
"Particle outcome"};
80 {
this,
"inputClassification",
m_particlesKey,
"Classification",
"Classification code"};
86 #endif // DERIVATIONFRAMEWORK_TRUTHCOLLECTIONMAKER_H
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_daughterIDDecoratorKey
Gaudi::Property< bool > m_do_sherpa
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_outcomeDecoratorKey
Gaudi::Property< bool > m_do_compress
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_typeReadDecorKey
SG::ReadHandleKey< xAOD::TruthParticleContainer > m_particlesKey
virtual StatusCode addBranches() const
Pass the thinning service
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_hadronOriginDecoratorKey
std::atomic< unsigned int > m_npasspart
TruthCollectionMaker(const std::string &t, const std::string &n, const IInterface *p)
Handle class for recording to StoreGate.
The Athena Transient Store API.
Property holding a SG store/key/clid from which a WriteHandle is made.
Property holding a SG store/key/clid/attr name from which a WriteDecorHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_classificationDecoratorKey
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_typeDecoratorKey
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_originReadDecorKey
std::atomic< unsigned int > m_ntotpart
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_linkDecoratorKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Gaudi::Property< bool > m_keep_navigation_info
SG::WriteHandleKey< xAOD::TruthParticleContainer > m_outputParticlesKey
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_outcomeReadDecorKey
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_originDecoratorKey
ServiceHandle< StoreGateSvc > m_metaStore
Handle on the metadata store for init.
SG::WriteDecorHandleKey< xAOD::TruthParticleContainer > m_motherIDDecoratorKey
SG::ReadDecorHandleKey< xAOD::TruthParticleContainer > m_classificationReadDecorKey
Gaudi::Property< std::string > m_partString