|
ATLAS Offline Software
|
Go to the documentation of this file.
25 const std::string&
name, ISvcLocator* loc )
63 return StatusCode::SUCCESS;
94 for (
const auto&
electron : el_vector ) {
99 if (!truth_link || !truth_link.isValid()) {
108 const auto *truth = *truth_link;
112 dec_origin_label(*
electron) = acc_origin_label(*truth);
118 dec_vertex_index(*
electron) = acc_vertex_index(*truth);
119 dec_type_label(*
electron) = acc_type_label(*truth);
120 dec_source_label(*
electron) = acc_source_label(*truth);
122 dec_parent_barcode(*
electron) = acc_parent_barcode(*truth);
125 return StatusCode::SUCCESS;
SoftElectronTruthDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
This file contains "getter" functions used for accessing tagger inputs from the EDM.
virtual StatusCode execute(const EventContext &) const override
const std::set< int > m_valid_types
const std::string & key() const
Return the StoreGate ID for the referenced object.
SG::ReadHandleKey< xAOD::ElectronContainer > m_ElectronContainerKey
An algorithm that can be simultaneously executed in multiple threads.
Handle class for reading a decoration on an object.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
Handle class for adding a decoration to an object.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
ElectronContainer_v1 ElectronContainer
Definition of the current "electron container version".
constexpr int UNDEFINED_ID
WDHK m_dec_parent_barcode
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
RDHK m_acc_parent_barcode
Handle class for reading a decoration on an object.
const float EC[NC]
Energy levels for Carbon.
virtual StatusCode initialize() override
Acc< ElementLink< xAOD::TruthParticleContainer > > m_truthParticleLink
Acc< unsigned int > m_classifierParticleType