Skip to content
Snippets Groups Projects
Commit f46cd7aa authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'CaloThinCellsByClusterAlg_check_valid' into 'master'

CaloThinCellsByClusterAlg and isValid check for serial run. Trying to fix e/gamma ART

See merge request !30001
parents c9bb39cd d59a1e89
No related branches found
No related tags found
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!30001CaloThinCellsByClusterAlg and isValid check for serial run. Trying to fix e/gamma ART
......@@ -40,6 +40,10 @@ StatusCode CaloThinCellsByClusterAlg::execute (const EventContext& ctx) const
cells.thinAll();
SG::ReadHandle<xAOD::CaloClusterContainer> clusters (m_clusters, ctx);
if(!clusters.isValid()){
ATH_MSG_WARNING( "Collection " << m_clusters.key()<<" is not valid");
return StatusCode::SUCCESS;
}
for (const xAOD::CaloCluster* clust : *clusters) {
const CaloClusterCellLink* cellLinks = clust->getCellLinks();
if (!cellLinks) {
......
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