5#ifndef TRIGTAUREC_TRIGTAURECMERGED_H
6#define TRIGTAUREC_TRIGTAURECMERGED_H
8#include "GaudiKernel/ToolHandle.h"
9#include "Gaudi/Parsers/Factory.h"
30 virtual StatusCode
execute(
const EventContext& ctx)
const override;
58 const ToolHandleArray<ITauToolBase>
m_commonTools {
this,
"CommonTools", {},
"List of ITauToolBase common tools"};
59 const ToolHandleArray<ITauToolBase>
m_commonToolsBeforeTF {
this,
"CommonToolsBeforeTF", {},
"List of ITauToolBase common tools to execute before the Track Finder tools"};
60 const ToolHandleArray<ITauToolBase>
m_vertexFinderTools {
this,
"VertexFinderTools", {},
"Vertex Finder tools"};
61 const ToolHandleArray<ITauToolBase>
m_trackFinderTools {
this,
"TrackFinderTools", {},
"Track Finder tools"};
62 const ToolHandleArray<ITauToolBase>
m_vertexVarsTools {
this,
"VertexVarsTools", {},
"Vertex Variables tools"};
63 const ToolHandleArray<ITauToolBase>
m_idTools {
this,
"IDTools", {},
"Vertex Variables tools"};
66 const ToolHandle<GenericMonitoringTool>
m_monTool {
this,
"MonTool",
"",
"Monitoring tool"};
67 Gaudi::Property<std::map<std::string, std::pair<std::string, std::string>>>
m_monitoredIdScores {
this,
"MonitoredIDScores", {},
"Pairs of the TauID score and signal-transformed scores for each TauID algorithm to be monitored"};
88 if(!writeHandle.isValid()) {
90 return StatusCode::FAILURE;
94 for(
const V* v : *oldContainer) {
96 writeHandle->push_back(std::make_unique<V>());
98 *writeHandle->back() = *v;
101 return StatusCode::SUCCESS;
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Helper class to provide constant type-safe access to aux data.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
const ToolHandleArray< ITauToolBase > m_idTools
StatusCode deepCopy(SG::WriteHandle< DataVector< V > > &writeHandle, const DataVector< V > *oldContainer) const
virtual StatusCode execute(const EventContext &ctx) const override
const ToolHandleArray< ITauToolBase > m_commonTools
const ToolHandle< GenericMonitoringTool > m_monTool
SG::WriteHandleKey< xAOD::TauJetContainer > m_tauJetOutputKey
bool doCaloReconstruction() const
SG::WriteHandleKey< xAOD::TauTrackContainer > m_tauTrackOutputKey
const ToolHandleArray< ITauToolBase > m_commonToolsBeforeTF
SG::ReadHandleKey< xAOD::TauTrackContainer > m_tauTrackInputKey
virtual StatusCode initialize() override
SG::WriteHandleKey< xAOD::JetContainer > m_tauSeedOutputKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexInputKey
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_clustersInputKey
const ToolHandleArray< ITauToolBase > m_vertexFinderTools
const ToolHandleArray< ITauToolBase > m_trackFinderTools
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauJetInputKey
TrigTauRecMerged(const std::string &name, ISvcLocator *pSvcLocator)
const ToolHandleArray< ITauToolBase > m_vertexVarsTools
Gaudi::Property< std::map< std::string, std::pair< std::string, std::string > > > m_monitoredIdScores
SG::ReadHandleKey< TrigRoiDescriptorCollection > m_roiInputKey
std::map< std::string, std::pair< SG::ConstAccessor< float >, SG::ConstAccessor< float > > > m_monitoredIdAccessors