Difference between revisions of "User:Barison"

From Atlas Wiki
Jump to navigation Jump to search
 
Line 105: Line 105:
  
 
== 10/01/2008 ==
 
== 10/01/2008 ==
 +
 +
Basic set-up for 13.0.30.3 (recommended)
 +
To use the release you need to do the following. As usual create your working directory and then do the default set-up for 13.0.30 as for example explained in the WorkBook. For 13.0.30.3 we need to add the cache on top of release 13. More detailed information on how to use the cache can be found here.
 +
 +
source /afs/cern.ch/sw/contrib/CMT/v1r20p20070720/mgr/setup.sh
 +
cmt config
 +
source setup.sh -tag=13.0.30,gcc323
 +
export CMTPATH=<myWorkDir>:/afs/cern.ch/atlas/software/releases/13.0.30/AtlasProduction/13.0.30.3
 +
. /afs/cern.ch/atlas/software/releases/13.0.30/AtlasProduction/13.0.30.3/AtlasProductionRunTime/cmt/setup.sh
 +
mkdir AtlasProduction-13.0.30
 +
cd AtlasProduction-13.0.30
 +
mkdir  run
 +
cd  run
 +
RecExCommon_links.sh
 +
 +
 
CTP flags should be in:
 
CTP flags should be in:
  

Latest revision as of 13:29, 10 January 2008

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" Same applies for Electron/Photons and Muons

To circumvent the need for TopTools, I have disabled EVHitFitTool.


21/11/2007

 AttributeError: '<class 'EventViewBuilderAlgs.EventViewBuilderAlgsConf.EVMultipleOutputToolLooper'>' object has no attribute 'morph'


23/11/2007

  • Finally Running!*

But I have double of everything!


29/11/2007

I should remove the do1mm bug flag, as it gives an error at: "ElectronPhotonAlgs/ElectronPhotonCorrector_jobOptions.py"


10/01/2008

Basic set-up for 13.0.30.3 (recommended) To use the release you need to do the following. As usual create your working directory and then do the default set-up for 13.0.30 as for example explained in the WorkBook. For 13.0.30.3 we need to add the cache on top of release 13. More detailed information on how to use the cache can be found here.

source /afs/cern.ch/sw/contrib/CMT/v1r20p20070720/mgr/setup.sh cmt config source setup.sh -tag=13.0.30,gcc323 export CMTPATH=<myWorkDir>:/afs/cern.ch/atlas/software/releases/13.0.30/AtlasProduction/13.0.30.3 . /afs/cern.ch/atlas/software/releases/13.0.30/AtlasProduction/13.0.30.3/AtlasProductionRunTime/cmt/setup.sh mkdir AtlasProduction-13.0.30 cd AtlasProduction-13.0.30 mkdir run cd run RecExCommon_links.sh


CTP flags should be in:

204 include("TrigEgammaHypo/TriggerConfig_Egamma_flags.py") 205 include("TrigTauHypo/TriggerConfig_Tau_flags.py") 206 include("TrigJetHypo/TriggerConfig_Jet_flags.py") 207 include("TrigBjetHypo/TriggerConfig_Bjet_flags.py") 208 include("TrigMissingETHypo/TriggerConfig_MET_flags.py") 209 include("TrigMuonHypo/TriggerConfig_Muon_flags.py") 210 include("TrigBphysHypo/TriggerConfig_Bphysics_flags.py") 211 include("TrigL2CosmicMuonHypo/TriggerConfig_Cosmic_flags.py")