User:Barison

From Atlas Wiki
Revision as of 12:52, 19 November 2007 by Barison (talk | contribs) (→‎19/11/2007)
Jump to navigation Jump to search

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.

The same goes for TauInserter: the config tags are now "FullReco,TauRec" and "FullReco,Tau1p3p".

These problems are solved in the tag TopView-00-12-14-02, so I am checking it out and see if it can work with r13.

I see that indeed I miss these packages:

  1. CMT> Warning: package TopTools TopTools-* PhysicsAnalysis/TopPhys not found (requested by TopView)
  2. CMT> Warning: package ElectronPhotonIDEvent ElectronPhotonIDEvent-* PhysicsAnalysis/ElectronPhotonID not found (requested by TopView)
  3. CMT> Warning: package TauIDEvent TauIDEvent-* PhysicsAnalysis/TauID not found (requested by TopView)

TauIDEvent probably obsolete: changed #include "TauIDEvent/TauJetContainer.h" to #include "tauEvent/TauJetContainer.h"