Skip to content
Snippets Groups Projects
Commit bab7ca6e authored by Bertrand Martin's avatar Bertrand Martin
Browse files

tauRec: TauCommonPi0Cells thinning (first version)

Hello,

As discussed in ATLASRECTS-5684 and ATLTAU-1733, this MR is implementing the easiest mechanism we have to decrease the size of the tau pi0 cell container in the xAOD.
We simply keep the cells that belong to pi0 topoclusters.
It is not the optimal solution, though, but merging TauCommonPi0Cells and AllCalo will require more work.
This is under study.

Cheers,
Bertrand
parent 95c7729b
No related branches found
No related tags found
No related merge requests found
...@@ -1284,6 +1284,14 @@ if ( rec.doAOD() or rec.doWriteAOD()) and not rec.readAOD() : ...@@ -1284,6 +1284,14 @@ if ( rec.doAOD() or rec.doWriteAOD()) and not rec.readAOD() :
if rec.readESD() or recAlgs.doTrackParticleCellAssociation(): if rec.readESD() or recAlgs.doTrackParticleCellAssociation():
addClusterToCaloCellAOD("InDetTrackParticlesAssociatedClusters") addClusterToCaloCellAOD("InDetTrackParticlesAssociatedClusters")
if rec.readESD() and rec.doTau:
from CaloRec.CaloRecConf import CaloThinCellsByClusterAlg
alg = CaloThinCellsByClusterAlg('CaloThinCellsByClusterAlg_TauInitialPi0Clusters',
StreamName = 'StreamAOD',
Clusters = 'TauInitialPi0Clusters',
Cells = 'TauCommonPi0Cells')
topSequence += alg
except Exception: except Exception:
treatException("Could not make AOD cells" ) treatException("Could not make AOD cells" )
......
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