5#ifndef INDETTRACKPERFMON_OFFLINETAUDECORATORALG_H
6#define INDETTRACKPERFMON_OFFLINETAUDECORATORALG_H
47 virtual StatusCode
execute(
const EventContext& ctx )
const override;
52 this,
"OfflineTrkParticleContainerName",
"InDetTrackParticles",
"Name of container of offline tracks" };
54 StringProperty
m_prefix {
this,
"Prefix",
"LinkedTau_",
"Decoration prefix to avoid clashes" };
56 StringProperty
m_tauType {
this,
"TauType",
"RNN",
"Type of reconstructed hadronic Tau (BDT or RNN)" };
58 UnsignedIntegerProperty
m_tauNprongs {
this,
"TauNprongs", 1,
"Number of prongs in hadronic Tau decay (1 or 3)" };
67 this,
"TauContainerName",
"TauJets",
"Name of container of offline hadronic taus" };
header file for function of same name adapted from original IDPVM implementation
An algorithm that can be simultaneously executed in multiple threads.
ElementLink implementation for ROOT usage.
ElementLink< xAOD::TrackParticleContainer > ElementTrackLink_t
virtual StatusCode initialize() override
ElementLink< xAOD::TauJetContainer > ElementTauLink_t
const std::vector< std::string > m_decor_tau_names
virtual ~OfflineTauDecoratorAlg()=default
StatusCode decorateTauTrack(const xAOD::TrackParticle &track, std::vector< IDTPM::OptionalDecoration< xAOD::TrackParticleContainer, ElementTauLink_t > > &tau_decor, const xAOD::TauJetContainer &taus) const
OfflineTauDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
Local includes.
UnsignedIntegerProperty m_tauNprongs
std::vector< IDTPM::WriteKeyAccessorPair< xAOD::TrackParticleContainer, ElementTauLink_t > > m_decor_tau
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_offlineTrkParticlesName
virtual StatusCode execute(const EventContext &ctx) const override
SG::ReadHandleKey< xAOD::TauJetContainer > m_tausName
Property holding a SG store/key/clid from which a ReadHandle is made.
std::pair< SG::WriteDecorHandle< ContainerType, VariableType >, bool > OptionalDecoration
std::pair< SG::WriteDecorHandleKey< ContainerType >, SG::AuxElement::ConstAccessor< VariableType > > WriteKeyAccessorPair
Useful declarations.
TrackParticle_v1 TrackParticle
Reference the current persistent version:
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".
TauJetContainer_v3 TauJetContainer
Definition of the current "taujet container version".