diff --git a/PhysicsAnalysis/AnalysisCommon/PileupReweighting/share/generatePRW_jobOptions.py b/PhysicsAnalysis/AnalysisCommon/PileupReweighting/share/generatePRW_jobOptions.py index 415ae2d07fb1532594dc11dbe44caa82bd3fbb56..65955658a9457434efb34f81a2ff00b2e473a243 100644 --- a/PhysicsAnalysis/AnalysisCommon/PileupReweighting/share/generatePRW_jobOptions.py +++ b/PhysicsAnalysis/AnalysisCommon/PileupReweighting/share/generatePRW_jobOptions.py @@ -1,5 +1,8 @@ theApp.EvtMax=-1 #says how many events to run over. Set to -1 for all events +#Include error handler for safety purposes +theApp.CreateSvc += ["AthROOTErrorHandlerSvc"] + #import AthenaPoolCnvSvc.ReadAthenaPool #sets up reading of POOL files (e.g. xAODs) import AthenaRootComps.ReadAthenaxAODHybrid svcMgr.EventSelector.AccessMode=1 #use class access mode ... I know it's wrong, but it should be ok just for the EventInfo information