Skip to content
Snippets Groups Projects
Commit dbe5e27d authored by Francesca Pastore's avatar Francesca Pastore
Browse files

merging EVcreators

parents ed82a24c c2d1330a
No related branches found
No related tags found
No related merge requests found
Showing
with 14 additions and 53 deletions
...@@ -13,10 +13,6 @@ ...@@ -13,10 +13,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
...@@ -27,6 +23,9 @@ from AthenaCommon.AppMgr import ServiceMgr as svcMgr ...@@ -27,6 +23,9 @@ from AthenaCommon.AppMgr import ServiceMgr as svcMgr
## get a handle to the ApplicationManager ## get a handle to the ApplicationManager
from AthenaCommon.AppMgr import theApp from AthenaCommon.AppMgr import theApp
# Set handler for traceback
svcMgr.CoreDumpSvc.FatalHandler = 438
#-------------------------------------------------------------- #--------------------------------------------------------------
# Load POOL support # Load POOL support
#-------------------------------------------------------------- #--------------------------------------------------------------
......
...@@ -13,10 +13,6 @@ ...@@ -13,10 +13,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
#import password for devdb10 from devdb10pwd.py #import password for devdb10 from devdb10pwd.py
from devdb10_pwd import devdb10pwd from devdb10_pwd import devdb10pwd
......
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
gbl.AthenaServices.SetFatalHandler(438)
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
from AthenaCommon.AppMgr import ServiceMgr as svcMgr from AthenaCommon.AppMgr import ServiceMgr as svcMgr
...@@ -10,6 +9,8 @@ from devdb10_pwd import devdb10pwd ...@@ -10,6 +9,8 @@ from devdb10_pwd import devdb10pwd
import IOVDbSvc.IOVDb import IOVDbSvc.IOVDb
svcMgr.CoreDumpSvc.FatalHandler = 438
from IOVDbTestAlg.IOVDbTestAlgConf import IOVDbTestAlg from IOVDbTestAlg.IOVDbTestAlgConf import IOVDbTestAlg
topSequence += IOVDbTestAlg( "IOVDbTestAlg" ) topSequence += IOVDbTestAlg( "IOVDbTestAlg" )
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
......
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
## basic job configuration ## basic job configuration
import AthenaCommon.AtlasUnixStandardJob import AthenaCommon.AtlasUnixStandardJob
# Set handler for traceback
gbl.AthenaServices.SetFatalHandler(438)
## get a handle on the default top-level algorithm sequence ## get a handle on the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
...@@ -31,6 +28,9 @@ from AthenaCommon.AppMgr import ServiceMgr as svcMgr ...@@ -31,6 +28,9 @@ from AthenaCommon.AppMgr import ServiceMgr as svcMgr
## get a handle on the ToolSvc ## get a handle on the ToolSvc
from AthenaCommon.AppMgr import ToolSvc from AthenaCommon.AppMgr import ToolSvc
# Set handler for traceback
svcMgr.CoreDumpSvc.FatalHandler = 438
#svcMgr.EventSelector.InputCollections = [ "SimplePoolFile1.root" ] #svcMgr.EventSelector.InputCollections = [ "SimplePoolFile1.root" ]
svcMgr.EventSelector.InputCollections = [ "SimpleEventPoolFile.root" ] svcMgr.EventSelector.InputCollections = [ "SimpleEventPoolFile.root" ]
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
......
...@@ -7,10 +7,6 @@ ...@@ -7,10 +7,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
......
...@@ -7,10 +7,6 @@ ...@@ -7,10 +7,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
......
...@@ -7,9 +7,6 @@ ...@@ -7,9 +7,6 @@
## basic job configuration (for generator) ## basic job configuration (for generator)
import AthenaCommon.AtlasUnixGeneratorJob import AthenaCommon.AtlasUnixGeneratorJob
# Set handler for traceback
#gbl.AthenaServices.SetFatalHandler(438)
## get a handle to the default top-level algorithm sequence ## get a handle to the default top-level algorithm sequence
from AthenaCommon.AlgSequence import AlgSequence from AthenaCommon.AlgSequence import AlgSequence
topSequence = AlgSequence() topSequence = AlgSequence()
......
...@@ -213,6 +213,9 @@ PP="$PP"'|Warning in <TInterpreter::ReadRootmapFile>: enum' ...@@ -213,6 +213,9 @@ PP="$PP"'|Warning in <TInterpreter::ReadRootmapFile>: enum'
# Ignore sourceID message from EventSelector. # Ignore sourceID message from EventSelector.
PP="$PP"'|Disconnecting input sourceID' PP="$PP"'|Disconnecting input sourceID'
# Printouts from new-style job configuration.
PP="$PP"'|Py:ComponentAccumulator +INFO '
PP="$PP"'|^[a-zA-Z0-9.]+ +: [^ ]'
if [ "$extrapatterns" != "" ]; then if [ "$extrapatterns" != "" ]; then
PP="$PP""|$extrapatterns" PP="$PP""|$extrapatterns"
......
...@@ -42,7 +42,7 @@ namespace MyAnalysisCal { ...@@ -42,7 +42,7 @@ namespace MyAnalysisCal {
/** standard Athena-Algorithm method */ /** standard Athena-Algorithm method */
virtual StatusCode initialize() override; virtual StatusCode initialize() override;
/** standard Athena-Algorithm method */ /** standard Athena-Algorithm method */
virtual StatusCode execute_r(const EventContext& ctx) const override; virtual StatusCode execute(const EventContext& ctx) const override;
/** standard Athena-Algorithm method */ /** standard Athena-Algorithm method */
virtual StatusCode finalize() override; virtual StatusCode finalize() override;
private: private:
......
...@@ -51,7 +51,7 @@ namespace MyAnalysisCal { ...@@ -51,7 +51,7 @@ namespace MyAnalysisCal {
} }
//__________________________________________________________________________ //__________________________________________________________________________
StatusCode AnalysisCal::execute_r (const EventContext& ctx) const StatusCode AnalysisCal::execute (const EventContext& ctx) const
{ {
//............................................. //.............................................
......
...@@ -43,7 +43,7 @@ StatusCode do_declare (ToolWithConstantsMixin* self, ...@@ -43,7 +43,7 @@ StatusCode do_declare (ToolWithConstantsMixin* self,
if (AlgTool* x = dynamic_cast<AlgTool*> (self)) { if (AlgTool* x = dynamic_cast<AlgTool*> (self)) {
x->declareProperty (name, c); x->declareProperty (name, c);
return StatusCode::SUCCESS; return StatusCode::SUCCESS;
} else if (Algorithm* x = dynamic_cast<Algorithm*> (self)) { } else if (Gaudi::Algorithm* x = dynamic_cast<Gaudi::Algorithm*> (self)) {
x->declareProperty (name, c); x->declareProperty (name, c);
return StatusCode::SUCCESS; return StatusCode::SUCCESS;
} else if (Service* x = dynamic_cast<Service*> (self)) { } else if (Service* x = dynamic_cast<Service*> (self)) {
......
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