Commit 98626efc authored by Bertrand Martin's avatar Bertrand Martin
Browse files

tauRec: implement timing cut on cells that seed pi0 topoclustering

Hello,

This MR is implementing a timing cut on the cells that seed the pi0 topoclustering, as discussed [at the reconstruction meeting](https://indico.cern.ch/event/1086705/contributions/4568518/attachments/2330839/3972063/RIG_timeCut_19_10_21.pdf).
The timing cut for our standalone topoclustering is controlled with the same CaloRec flags as for standard topoclustering, with the exception of the hardcoded `TimeCutUpperLimit` value (currently, `TimeCutUpperLimit` is also hardcoded wherever used, this might be harmonised by introducing a new CaloRec flag is a same value suits all clients).

The MR was tested with q431 and q221 on 40 events.
By default, as the timing cut is not enabled, the tau reconstruction output is unchanged.
When switching it on (`--preExec "RAWtoESD:from CaloRec.CaloTopoClusterFlags import jobproperties; jobproperties.CaloTopoClusterFlags.doTimeCut=True; jobproperties.CaloTopoClusterFlags.extendTimeCut=True; jobpropert...
parent 2dd5f689
...@@ -231,6 +231,12 @@ TopoClusterForTaus.SeedCutsInAbsE = True ...@@ -231,6 +231,12 @@ TopoClusterForTaus.SeedCutsInAbsE = True
TopoClusterForTaus.ClusterEtorAbsEtCut = 0.5*GeV # 0.0*MeV in standard CaloCalTopoCluster JobOptions! TopoClusterForTaus.ClusterEtorAbsEtCut = 0.5*GeV # 0.0*MeV in standard CaloCalTopoCluster JobOptions!
TopoClusterForTaus.TwoGaussianNoise = jobproperties.CaloTopoClusterFlags.doTwoGaussianNoise() TopoClusterForTaus.TwoGaussianNoise = jobproperties.CaloTopoClusterFlags.doTwoGaussianNoise()
# timing cut on seed cell
TopoClusterForTaus.SeedCutsInT = jobproperties.CaloTopoClusterFlags.doTimeCut()
TopoClusterForTaus.CutOOTseed = jobproperties.CaloTopoClusterFlags.extendTimeCut() and jobproperties.CaloTopoClusterFlags.doTimeCut()
TopoClusterForTaus.UseTimeCutUpperLimit = jobproperties.CaloTopoClusterFlags.useUpperLimitForTimeCut()
# may have to be tuned for EM clusters and/or LLP->tau reconstruction
TopoClusterForTaus.TimeCutUpperLimit = 20.0
TopoSplitterForTaus = CaloTopoClusterSplitter("TauPi0TopoSplitter") TopoSplitterForTaus = CaloTopoClusterSplitter("TauPi0TopoSplitter")
# cells from the following samplings will be able to form local # cells from the following samplings will be able to form local
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment