User:Barison
TopView -> 13 Logbook
15/11/2007
I copied the Analysis_topOptions.py file to the run dir and tried running it.
Uncommenting "from TopView import *" produces:
File "/afs/cern.ch/atlas/software/builds/AtlasCore/13.0.30/InstallArea/share/bin/athena.py", line 352, in ? include( script ) File "./mytry.py", line 13, in ? from TopView import * File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 39, in ? init() File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 26, in init c = __import__( mod ) File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/MergeMuonAndJetTag_module.py", line 3, in ? class MergeMuonAndJetTag(EVModule): TypeError: Error when calling the metaclass bases module.__init__() takes at most 2 arguments (3 given)</nowiki>
and:
File "/afs/cern.ch/atlas/software/builds/AtlasCore/13.0.30/InstallArea/share/bin/athena.py", line 352, in ? include( script ) File "./LocalOverride.py", line 23, in ? include("Analysis_topOptions.py") File "./Analysis_topOptions.py", line 17, in ? from TopView import * File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 39, in ? init() File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/__init__.py", line 26, in init c = __import__( mod ) File "/afs/cern.ch/user/m/mbarison/s0/13.0.30-test/AtlasOffline-13.0.30/InstallArea/python/TopView/SubtractElecFromJet_module.py", line 3, in ? class SubtractElecFromJet(EVModule): TypeError: Error when calling the metaclass bases module.__init__() takes at most 2 arguments (3 given)
This is quite easy to solve: open MergeMuonAndJetTag_module.py and SubtractElecFromJet_module.py and replace
from EventViewConfiguration import *
with:
from EventViewConfiguration.EVModule import *
But then I get:
File "/afs/cern.ch/atlas/software/builds/AtlasCore/13.0.30/InstallArea/share/bin/athena.py", line 352, in ? include( script ) File "./LocalOverride.py", line 23, in ? include("Analysis_topOptions.py") File "./Analysis_topOptions.py", line 21, in ? theApp.Dlls += ["TopTools"] File "/afs/cern.ch/atlas/offline/external/GAUDI/v19r4p3/GaudiPython/python/gaudimodule.py", line 149, in __setattr__ prop.fromString( value ) RuntimeError: (file "", line 0) Failed to load DLLs. (C++ exception)
This is caused because TopTools cannot be found: cmt show packages | grep TopTools returns no results
19/11/2007
I removed the loading of TopTools and SUSYView from the jobOptions file, and went on debugging...
Now I have a problem with the MuonInserter, as it doesn't recognize the "FullReco" configuration label. In HighPtMuonInserter you have now two labels: "FullReco,Muid" and "FullReco,Staco"
There are two possible solutions to fix this: change HighPtView to use "FullReco" as an alias for "FullReco,Staco" or do it in TopView. I think I'll do it in TopView for the time being.