Skip to content
Snippets Groups Projects
Commit d09319a2 authored by Vakhtang Tsulaia's avatar Vakhtang Tsulaia
Browse files

Merge branch 'cluster.tauRecTools-20201112' into 'master'

tauRecTools: Protect against null cluster pointers.

See merge request atlas/athena!38162
parents 59517094 4ea922bd
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ StatusCode TauClusterFinder::execute(xAOD::TauJet& tau) const {
for (const xAOD::CaloCluster* cluster : clusterList) {
// Clusters with negative energy will be thinned, and the elementlinks to these
// clusters will not be valid.
if (cluster->e() <=0) continue;
if (!cluster || cluster->e() <=0) continue;
ElementLink<xAOD::IParticleContainer> linkToCluster;
linkToCluster.toContainedElement(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment