ATLAS Offline Software
Loading...
Searching...
No Matches
TauRunnerAlg Class Reference

Main class for tau candidate processing. More...

#include <TauRunnerAlg.h>

Inheritance diagram for TauRunnerAlg:
Collaboration diagram for TauRunnerAlg:

Public Member Functions

 TauRunnerAlg (const std::string &name, ISvcLocator *pSvcLocator)
 ~TauRunnerAlg ()
virtual StatusCode initialize () override
virtual StatusCode execute (const EventContext &ctx) const override
virtual StatusCode sysInitialize () override
 Override sysInitialize.
virtual bool isClonable () const override
 Specify if the algorithm is clonable.
virtual unsigned int cardinality () const override
 Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.
virtual StatusCode sysExecute (const EventContext &ctx) override
 Execute an algorithm.
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies.
virtual bool filterPassed (const EventContext &ctx) const
virtual void setFilterPassed (bool state, const EventContext &ctx) const
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual StatusCode sysStart () override
 Handle START transition.
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles.
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles.
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T, V, H > &t)
void updateVHKA (Gaudi::Details::PropertyBase &)
MsgStream & msg () const
bool msgLvl (const MSG::Level lvl) const

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed.

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey>

Private Attributes

ToolHandleArray< ITauToolBasem_tools {this, "Tools", {}, "Tools building taus"}
SG::ReadHandleKey< xAOD::TauJetContainerm_tauInputContainer {this,"Key_tauInputContainer","tmp_TauJets","input temp tau key"}
SG::ReadHandleKey< xAOD::CaloClusterContainerm_pi0ClusterInputContainer {this,"Key_Pi0ClusterInputContainer", "TauPi0Clusters", "input pi0 cluster"}
SG::WriteHandleKey< xAOD::TauJetContainerm_tauOutputContainer {this,"Key_tauOutputContainer","TauJets","output tau data key"}
SG::WriteHandleKey< xAOD::PFOContainerm_neutralPFOOutputContainer {this,"Key_neutralPFOOutputContainer", "TauNeutralParticleFlowObjects", "tau neutral pfo out key"}
SG::WriteHandleKey< xAOD::PFOContainerm_hadronicPFOOutputContainer {this,"Key_hadronicPFOOutputContainer", "TauHadronicParticleFlowObjects", "tau hadronic pfo out key"}
SG::WriteHandleKey< xAOD::VertexContainerm_vertexOutputContainer {this,"Key_vertexOutputContainer", "TauSecondaryVertices", "input vertex container key"}
SG::WriteHandleKey< xAOD::PFOContainerm_chargedPFOOutputContainer {this,"Key_chargedPFOOutputContainer", "TauChargedParticleFlowObjects", "tau charged pfo out key"}
SG::WriteHandleKey< xAOD::ParticleContainerm_pi0Container {this,"Key_pi0Container", "TauFinalPi0s", "tau final pi0s output"}
SG::WriteHandleKey< xAOD::CaloClusterContainerm_tauShotClusOutputContainer {this,"Key_tauShotClusOutputContainer", "TauShotClusters", "tau shot clusters out key"}
SG::WriteHandleKey< CaloClusterCellLinkContainerm_tauShotClusLinkContainer {this,"Key_tauShotClusLinkContainer", "TauShotClusters_links", "tau shot clusters out key"}
SG::WriteHandleKey< xAOD::PFOContainerm_tauShotPFOOutputContainer {this,"Key_tauShotPFOOutputContainer", "TauShotParticleFlowObjects", "tau pfo out key"}
DataObjIDColl m_extendedExtraObjects
 Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default)
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default)
std::vector< SG::VarHandleKeyArray * > m_vhka
bool m_varHandleArraysDeclared

Detailed Description

Main class for tau candidate processing.

Definition at line 30 of file TauRunnerAlg.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TauRunnerAlg()

TauRunnerAlg::TauRunnerAlg ( const std::string & name,
ISvcLocator * pSvcLocator )

Definition at line 26 of file TauRunnerAlg.cxx.

27 :
28 AthReentrantAlgorithm(name, pSvcLocator) {
29}

◆ ~TauRunnerAlg()

TauRunnerAlg::~TauRunnerAlg ( )
default

Member Function Documentation

◆ cardinality()

unsigned int AthCommonReentrantAlgorithm< Gaudi::Algorithm >::cardinality ( ) const
overridevirtualinherited

Cardinality (Maximum number of clones that can exist) special value 0 means that algorithm is reentrant.

Override this to return 0 for reentrant algorithms.

Definition at line 75 of file AthCommonReentrantAlgorithm.cxx.

64{
65 return 0;
66}

◆ declareGaudiProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareGaudiProperty ( Gaudi::Property< T, V, H > & hndl,
const SG::VarHandleKeyType &  )
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158 {
160 hndl.value(),
161 hndl.documentation());
162
163 }
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)

◆ declareProperty()

Gaudi::Details::PropertyBase & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty ( Gaudi::Property< T, V, H > & t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145 {
146 typedef typename SG::HandleClassifier<T>::type htype;
148 }
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T, V, H > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>

◆ detStore()

const ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

◆ evtStore()

ServiceHandle< StoreGateSvc > & AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

◆ execute()

StatusCode TauRunnerAlg::execute ( const EventContext & ctx) const
overridevirtual

Definition at line 90 of file TauRunnerAlg.cxx.

90 {
91
92 // write neutral PFO container
93 SG::WriteHandle<xAOD::PFOContainer> neutralPFOHandle(m_neutralPFOOutputContainer, ctx);
94 ATH_CHECK(neutralPFOHandle.record(std::make_unique<xAOD::PFOContainer>(), std::make_unique<xAOD::PFOAuxContainer>()));
95 xAOD::PFOContainer* neutralPFOContainer = neutralPFOHandle.ptr();
96
97 // write hadronic cluster PFO container
98 SG::WriteHandle<xAOD::PFOContainer> hadronicPFOHandle(m_hadronicPFOOutputContainer, ctx);
99 ATH_CHECK(hadronicPFOHandle.record(std::make_unique<xAOD::PFOContainer>(), std::make_unique<xAOD::PFOAuxContainer>()));
100 xAOD::PFOContainer* hadronicClusterPFOContainer = hadronicPFOHandle.ptr();
101
102 // write secondary vertices
103 SG::WriteHandle<xAOD::VertexContainer> vertOutHandle(m_vertexOutputContainer, ctx);
104 ATH_CHECK(vertOutHandle.record(std::make_unique<xAOD::VertexContainer>(), std::make_unique<xAOD::VertexAuxContainer>()));
105 xAOD::VertexContainer* pSecVtxContainer = vertOutHandle.ptr();
106
107 // write charged PFO container
108 SG::WriteHandle<xAOD::PFOContainer> chargedPFOHandle(m_chargedPFOOutputContainer, ctx);
109 ATH_CHECK(chargedPFOHandle.record(std::make_unique<xAOD::PFOContainer>(), std::make_unique<xAOD::PFOAuxContainer>()));
110 xAOD::PFOContainer* chargedPFOContainer = chargedPFOHandle.ptr();
111
112 // write pi0 container
113 SG::WriteHandle<xAOD::ParticleContainer> pi0Handle(m_pi0Container, ctx);
114 ATH_CHECK(pi0Handle.record(std::make_unique<xAOD::ParticleContainer>(), std::make_unique<xAOD::ParticleAuxContainer>()));
115 xAOD::ParticleContainer* pi0Container = pi0Handle.ptr();
116
117 SG::WriteHandle<xAOD::CaloClusterContainer> tauShotClusHandle( m_tauShotClusOutputContainer, ctx );
118 ATH_CHECK(tauShotClusHandle.record(std::make_unique<xAOD::CaloClusterContainer>(), std::make_unique<xAOD::CaloClusterAuxContainer>()));
119 xAOD::CaloClusterContainer* tauShotClusContainer = tauShotClusHandle.ptr();
120
121 SG::WriteHandle<xAOD::PFOContainer> tauShotPFOHandle( m_tauShotPFOOutputContainer, ctx );
122 ATH_CHECK(tauShotPFOHandle.record(std::make_unique<xAOD::PFOContainer>(), std::make_unique<xAOD::PFOAuxContainer>()));
123 xAOD::PFOContainer* tauShotPFOContainer = tauShotPFOHandle.ptr();
124
125 // Read the CaloClusterContainer created by the CaloClusterMaker
126 SG::ReadHandle<xAOD::CaloClusterContainer> pi0ClusterInHandle(m_pi0ClusterInputContainer, ctx);
127 if (!pi0ClusterInHandle.isValid()) {
128 ATH_MSG_ERROR ("Could not retrieve HiveDataObj with key " << pi0ClusterInHandle.key());
129 return StatusCode::FAILURE;
130 }
131 const xAOD::CaloClusterContainer * pi0ClusterContainer = pi0ClusterInHandle.cptr();
132
133 // Read in temporary tau jets
134 SG::ReadHandle<xAOD::TauJetContainer> tauInputHandle(m_tauInputContainer, ctx);
135 if (!tauInputHandle.isValid()) {
136 ATH_MSG_ERROR ("Could not retrieve HiveDataObj with key " << tauInputHandle.key());
137 return StatusCode::FAILURE;
138 }
139 const xAOD::TauJetContainer* pTauContainer = tauInputHandle.cptr();
140
141 // Write the output tau jets, which is a deep copy of the input ones
142 SG::WriteHandle<xAOD::TauJetContainer> outputTauHandle(m_tauOutputContainer, ctx);
143 ATH_CHECK(outputTauHandle.record(std::make_unique<xAOD::TauJetContainer>(), std::make_unique<xAOD::TauJetAuxContainer>()));
144 xAOD::TauJetContainer* newTauCon = outputTauHandle.ptr();
145
146 for (const xAOD::TauJet* tau : *pTauContainer) {
147 xAOD::TauJet* newTau = new xAOD::TauJet();
148 newTauCon->push_back(newTau);
149 *newTau = *tau;
150 }
151
152 // iterate over the copy
153 for (xAOD::TauJet* pTau : *newTauCon) {
154 //-----------------------------------------------------------------
155 // Loop stops when Failure indicated by one of the tools
156 //-----------------------------------------------------------------
158
159 for (const ToolHandle<ITauToolBase>& tool : m_tools) {
160 ATH_MSG_DEBUG("RunnerAlg Invoking tool " << tool->name());
161 if ( tool->type() == "TauPi0ClusterCreator"){
162 sc = tool->executePi0ClusterCreator(*pTau, *neutralPFOContainer, *hadronicClusterPFOContainer, *pi0ClusterContainer);
163 }
164 else if ( tool->type() == "TauVertexVariables"){
165 sc = tool->executeVertexVariables(*pTau, *pSecVtxContainer);
166 }
167 else if (tool->type() == "TauShotFinder") {
168 sc = tool->executeShotFinder(*pTau, *tauShotClusContainer,
169 *tauShotPFOContainer);
170 }
171 else if ( tool->type() == "TauPi0ClusterScaler"){
172 sc = tool->executePi0ClusterScaler(*pTau, *neutralPFOContainer, *chargedPFOContainer);
173 }
174 else if ( tool->type() == "TauPi0ScoreCalculator"){
175 sc = tool->executePi0nPFO(*pTau, *neutralPFOContainer);
176 }
177 else if ( tool->type() == "TauPi0Selector"){
178 sc = tool->executePi0nPFO(*pTau, *neutralPFOContainer);
179 }
180 else if ( tool->type() == "PanTau::PanTauProcessor"){
181 sc = tool->executePanTau(*pTau, *pi0Container, *neutralPFOContainer);
182 }
183 else {
184 sc = tool->execute(*pTau);
185 }
186 if (sc.isFailure()) break;
187 }
188 if (sc.isSuccess()) {
189 ATH_MSG_VERBOSE("The tau candidate has been modified successfully by all the invoked tools.");
190 }
191 } // end iterator over shallow copy
192
193 // build cell link container for shot clusters
194 SG::WriteHandle<CaloClusterCellLinkContainer> tauShotClusLinkHandle( m_tauShotClusLinkContainer, ctx );
195 ATH_CHECK(CaloClusterStoreHelper::finalizeClusters (tauShotClusLinkHandle, tauShotClusContainer));
196
197 // sort taus by decreasing pt
198 auto sortByPt = [](const xAOD::TauJet* tau1, const xAOD::TauJet* tau2 ) { return tau1->pt() > tau2->pt(); };
199 newTauCon->sort( sortByPt );
200
201 ATH_MSG_VERBOSE("The tau container has been processed");
202
203 return StatusCode::SUCCESS;
204}
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_ERROR(x)
#define ATH_MSG_VERBOSE(x)
#define ATH_MSG_DEBUG(x)
static Double_t sc
static StatusCode finalizeClusters(SG::WriteHandle< CaloClusterCellLinkContainer > &h, xAOD::CaloClusterContainer *pClusterColl)
Finalize clusters (move CaloClusterCellLink to a separate container).
value_type push_back(value_type pElem)
Add an element to the end of the collection.
SG::ReadHandleKey< xAOD::CaloClusterContainer > m_pi0ClusterInputContainer
SG::WriteHandleKey< xAOD::PFOContainer > m_neutralPFOOutputContainer
SG::WriteHandleKey< xAOD::ParticleContainer > m_pi0Container
SG::WriteHandleKey< xAOD::VertexContainer > m_vertexOutputContainer
SG::WriteHandleKey< xAOD::TauJetContainer > m_tauOutputContainer
SG::WriteHandleKey< xAOD::PFOContainer > m_tauShotPFOOutputContainer
SG::WriteHandleKey< xAOD::PFOContainer > m_hadronicPFOOutputContainer
SG::ReadHandleKey< xAOD::TauJetContainer > m_tauInputContainer
SG::WriteHandleKey< xAOD::PFOContainer > m_chargedPFOOutputContainer
SG::WriteHandleKey< CaloClusterCellLinkContainer > m_tauShotClusLinkContainer
ToolHandleArray< ITauToolBase > m_tools
SG::WriteHandleKey< xAOD::CaloClusterContainer > m_tauShotClusOutputContainer
virtual double pt() const
The transverse momentum ( ) of the particle.
::StatusCode StatusCode
StatusCode definition for legacy code.
PFOContainer_v1 PFOContainer
Definition of the current "pfo container version".
ParticleContainer_v1 ParticleContainer
Define the latest version of the particle class.
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
TauJet_v3 TauJet
Definition of the current "tau version".
CaloClusterContainer_v1 CaloClusterContainer
Define the latest version of the calorimeter cluster container.
TauJetContainer_v3 TauJetContainer
Definition of the current "taujet container version".

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase & ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ extraOutputDeps()

const DataObjIDColl & AthCommonReentrantAlgorithm< Gaudi::Algorithm >::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 94 of file AthCommonReentrantAlgorithm.cxx.

90{
91 // If we didn't find any symlinks to add, just return the collection
92 // from the base class. Otherwise, return the extended collection.
93 if (!m_extendedExtraObjects.empty()) {
95 }
97}
An algorithm that can be simultaneously executed in multiple threads.

◆ filterPassed()

virtual bool AthCommonReentrantAlgorithm< Gaudi::Algorithm >::filterPassed ( const EventContext & ctx) const
inlinevirtualinherited

Definition at line 96 of file AthCommonReentrantAlgorithm.h.

96 {
97 return execState( ctx ).filterPassed();
98 }
virtual bool filterPassed(const EventContext &ctx) const

◆ initialize()

StatusCode TauRunnerAlg::initialize ( )
overridevirtual

Definition at line 39 of file TauRunnerAlg.cxx.

39 {
40
41 //-------------------------------------------------------------------------
42 // No tools allocated!
43 //-------------------------------------------------------------------------
44 if (m_tools.empty()) {
45 ATH_MSG_ERROR("no tools given!");
46 return StatusCode::FAILURE;
47 }
48
49 ATH_CHECK( m_tauInputContainer.initialize() );
51
52 ATH_CHECK( m_tauOutputContainer.initialize() );
55 ATH_CHECK( m_vertexOutputContainer.initialize() );
57 ATH_CHECK( m_pi0Container.initialize() );
58
62
63 //-------------------------------------------------------------------------
64 // Allocate tools
65 //-------------------------------------------------------------------------
66 ATH_CHECK( m_tools.retrieve() );
67
68 ATH_MSG_INFO("List of tools in execution sequence:");
69 ATH_MSG_INFO("------------------------------------");
70 unsigned int tool_count = 0;
71 for (ToolHandle<ITauToolBase>& tool : m_tools) {
72 ++tool_count;
73 ATH_MSG_INFO(tool->type() << " - " << tool->name());
74 }
75 ATH_MSG_INFO(" ");
76 ATH_MSG_INFO("------------------------------------");
77
78 if (tool_count == 0) {
79 ATH_MSG_ERROR("could not allocate any tool!");
80 return StatusCode::FAILURE;
81 }
82
83 return StatusCode::SUCCESS;
84}
#define ATH_MSG_INFO(x)

◆ inputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ isClonable()

◆ msg()

MsgStream & AthCommonMsg< Gaudi::Algorithm >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24 {
25 return this->msgStream();
26 }

◆ msgLvl()

bool AthCommonMsg< Gaudi::Algorithm >::msgLvl ( const MSG::Level lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30 {
31 return this->msgLevel(lvl);
32 }

◆ outputHandles()

virtual std::vector< Gaudi::DataHandle * > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ renounce()

std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounce ( T & h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381 {
382 h.renounce();
384 }
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce(T &h)

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::renounceArray ( SG::VarHandleKeyArray & handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364 {
366 }

◆ setFilterPassed()

virtual void AthCommonReentrantAlgorithm< Gaudi::Algorithm >::setFilterPassed ( bool state,
const EventContext & ctx ) const
inlinevirtualinherited

Definition at line 100 of file AthCommonReentrantAlgorithm.h.

100 {
102 }
virtual void setFilterPassed(bool state, const EventContext &ctx) const

◆ sysExecute()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysExecute ( const EventContext & ctx)
overridevirtualinherited

Execute an algorithm.

We override this in order to work around an issue with the Algorithm base class storing the event context in a member variable that can cause crashes in MT jobs.

Definition at line 85 of file AthCommonReentrantAlgorithm.cxx.

77{
78 return BaseAlg::sysExecute (ctx);
79}

◆ sysInitialize()

StatusCode AthCommonReentrantAlgorithm< Gaudi::Algorithm >::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >.

Reimplemented in HypoBase, and InputMakerBase.

Definition at line 61 of file AthCommonReentrantAlgorithm.cxx.

107 {
109
110 if (sc.isFailure()) {
111 return sc;
112 }
113
114 ServiceHandle<ICondSvc> cs("CondSvc",name());
115 for (auto h : outputHandles()) {
116 if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
117 // do this inside the loop so we don't create the CondSvc until needed
118 if ( cs.retrieve().isFailure() ) {
119 ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
120 return StatusCode::SUCCESS;
121 }
122 if (cs->regHandle(this,*h).isFailure()) {
124 ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
125 << " with CondSvc");
126 }
127 }
128 }
129 return sc;
130}
#define ATH_MSG_WARNING(x)
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::updateVHKA ( Gaudi::Details::PropertyBase & )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308 {
309 // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310 // << " size: " << m_vhka.size() << endmsg;
311 for (auto &a : m_vhka) {
313 for (auto k : keys) {
314 k->setOwner(this);
315 }
316 }
317 }

Member Data Documentation

◆ m_chargedPFOOutputContainer

SG::WriteHandleKey<xAOD::PFOContainer> TauRunnerAlg::m_chargedPFOOutputContainer {this,"Key_chargedPFOOutputContainer", "TauChargedParticleFlowObjects", "tau charged pfo out key"}
private

Definition at line 56 of file TauRunnerAlg.h.

56{this,"Key_chargedPFOOutputContainer", "TauChargedParticleFlowObjects", "tau charged pfo out key"};

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthCommonReentrantAlgorithm< Gaudi::Algorithm >::m_extendedExtraObjects
privateinherited

Extra output dependency collection, extended by AthAlgorithmDHUpdate to add symlinks.

Empty if no symlinks were found.

Definition at line 114 of file AthCommonReentrantAlgorithm.h.

◆ m_hadronicPFOOutputContainer

SG::WriteHandleKey<xAOD::PFOContainer> TauRunnerAlg::m_hadronicPFOOutputContainer {this,"Key_hadronicPFOOutputContainer", "TauHadronicParticleFlowObjects", "tau hadronic pfo out key"}
private

Definition at line 54 of file TauRunnerAlg.h.

54{this,"Key_hadronicPFOOutputContainer", "TauHadronicParticleFlowObjects", "tau hadronic pfo out key"};

◆ m_neutralPFOOutputContainer

SG::WriteHandleKey<xAOD::PFOContainer> TauRunnerAlg::m_neutralPFOOutputContainer {this,"Key_neutralPFOOutputContainer", "TauNeutralParticleFlowObjects", "tau neutral pfo out key"}
private

Definition at line 53 of file TauRunnerAlg.h.

53{this,"Key_neutralPFOOutputContainer", "TauNeutralParticleFlowObjects", "tau neutral pfo out key"};

◆ m_pi0ClusterInputContainer

SG::ReadHandleKey<xAOD::CaloClusterContainer> TauRunnerAlg::m_pi0ClusterInputContainer {this,"Key_Pi0ClusterInputContainer", "TauPi0Clusters", "input pi0 cluster"}
private

Definition at line 50 of file TauRunnerAlg.h.

50{this,"Key_Pi0ClusterInputContainer", "TauPi0Clusters", "input pi0 cluster"};

◆ m_pi0Container

SG::WriteHandleKey<xAOD::ParticleContainer> TauRunnerAlg::m_pi0Container {this,"Key_pi0Container", "TauFinalPi0s", "tau final pi0s output"}
private

Definition at line 57 of file TauRunnerAlg.h.

57{this,"Key_pi0Container", "TauFinalPi0s", "tau final pi0s output"};

◆ m_tauInputContainer

SG::ReadHandleKey<xAOD::TauJetContainer> TauRunnerAlg::m_tauInputContainer {this,"Key_tauInputContainer","tmp_TauJets","input temp tau key"}
private

Definition at line 49 of file TauRunnerAlg.h.

49{this,"Key_tauInputContainer","tmp_TauJets","input temp tau key"};

◆ m_tauOutputContainer

SG::WriteHandleKey<xAOD::TauJetContainer> TauRunnerAlg::m_tauOutputContainer {this,"Key_tauOutputContainer","TauJets","output tau data key"}
private

Definition at line 52 of file TauRunnerAlg.h.

52{this,"Key_tauOutputContainer","TauJets","output tau data key"};

◆ m_tauShotClusLinkContainer

SG::WriteHandleKey<CaloClusterCellLinkContainer> TauRunnerAlg::m_tauShotClusLinkContainer {this,"Key_tauShotClusLinkContainer", "TauShotClusters_links", "tau shot clusters out key"}
private

Definition at line 59 of file TauRunnerAlg.h.

59{this,"Key_tauShotClusLinkContainer", "TauShotClusters_links", "tau shot clusters out key"};

◆ m_tauShotClusOutputContainer

SG::WriteHandleKey<xAOD::CaloClusterContainer> TauRunnerAlg::m_tauShotClusOutputContainer {this,"Key_tauShotClusOutputContainer", "TauShotClusters", "tau shot clusters out key"}
private

Definition at line 58 of file TauRunnerAlg.h.

58{this,"Key_tauShotClusOutputContainer", "TauShotClusters", "tau shot clusters out key"};

◆ m_tauShotPFOOutputContainer

SG::WriteHandleKey<xAOD::PFOContainer> TauRunnerAlg::m_tauShotPFOOutputContainer {this,"Key_tauShotPFOOutputContainer", "TauShotParticleFlowObjects", "tau pfo out key"}
private

Definition at line 60 of file TauRunnerAlg.h.

60{this,"Key_tauShotPFOOutputContainer", "TauShotParticleFlowObjects", "tau pfo out key"};

◆ m_tools

ToolHandleArray<ITauToolBase> TauRunnerAlg::m_tools {this, "Tools", {}, "Tools building taus"}
private

Definition at line 47 of file TauRunnerAlg.h.

47{this, "Tools", {}, "Tools building taus"};

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vertexOutputContainer

SG::WriteHandleKey<xAOD::VertexContainer> TauRunnerAlg::m_vertexOutputContainer {this,"Key_vertexOutputContainer", "TauSecondaryVertices", "input vertex container key"}
private

Definition at line 55 of file TauRunnerAlg.h.

55{this,"Key_vertexOutputContainer", "TauSecondaryVertices", "input vertex container key"};

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files: