Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 13 additions & 2 deletions StandardConfig/production/ILDReconstruction.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
PodioInput,
PodioOutput,
k4DataSvc,
AuditorSvc,
AlgTimingAuditor,
)
from Gaudi.Configuration import INFO
from k4FWCore.parseArgs import parser
Expand Down Expand Up @@ -162,7 +164,6 @@ def get_compact_file_path(detector_model: str):
geoSvc.EnableGeant4Geo = False
svcList.append(geoSvc)


CONSTANTS = {
"CMSEnergy": str(reco_args.cmsEnergy),
"BeamCalCalibrationFactor": str(reco_args.beamCalCalibFactor),
Expand Down Expand Up @@ -388,6 +389,16 @@ def create_reader(input_files):
algList.append(MyLCIOOutputProcessor)
algList.append(DSTOutput)

ApplicationMgr(

# Use Gaudi Auditor service to get timing information on algorithm execution
auditorSvc = AuditorSvc()
svcList.append(auditorSvc)
auditorSvc.Auditors = [AlgTimingAuditor()]

app_mgr = ApplicationMgr(
TopAlg=algList, EvtSel="NONE", EvtMax=3, ExtSvc=svcList, OutputLevel=INFO
)

app_mgr.AuditAlgorithms = True
app_mgr.AuditTools = True
app_mgr.AuditServices = True