Skip to content
Snippets Groups Projects

Reduce routine printouts

Merged Eric Torrence requested to merge faserrec-procdev into master
1 file
+ 13
2
Compare changes
  • Side-by-side
  • Inline
@@ -194,7 +194,6 @@ from TrackerSpacePointFormation.TrackerSpacePointFormationConfig import TrackerS
acc.merge(TrackerSpacePointFinderCfg(ConfigFlags))
# Try Dave's new fitter
print("Configuring TrackerSegmentFit (new)")
from TrackerSegmentFit.TrackerSegmentFitConfig import SegmentFitAlgCfg
acc.merge(SegmentFitAlgCfg(ConfigFlags,
SharedHitFraction=0.61,
@@ -239,7 +238,14 @@ if args.isMC:
# Add MC information here
itemList.extend( ["McEventCollection#*", "TrackerSimDataCollection#*"] )
acc.merge(OutputStreamCfg(ConfigFlags, "xAOD", itemList))
# Output stream
acc.merge(OutputStreamCfg(ConfigFlags, "xAOD", itemList, disableEventTag=True))
# Try to turn off annoying INFO message, as we don't use this
# disableEventTag=True doesn't seem to work...
tagBuilder = CompFactory.EventInfoTagBuilder()
tagBuilder.PropagateInput=False
acc.addEventAlgo(tagBuilder)
# Waveform reconstruction output
from WaveRecAlgs.WaveRecAlgsConfig import WaveformReconstructionOutputCfg
@@ -268,6 +274,11 @@ if args.verbose:
else:
acc.foreach_component("*").OutputLevel = INFO
# Reduce event loop printout
eventLoop = CompFactory.AthenaEventLoopMgr()
eventLoop.EventPrintoutInterval = 100
acc.addService(eventLoop)
acc.foreach_component("*ClassID*").OutputLevel = INFO
acc.getService("MessageSvc").Format = "% F%40W%S%7W%R%T %0W%M"
Loading