ATHENA software
ATHENA tutoriály
PseudoEventDisplay? voláním pythonu z rootu
# after running root -l
TPython::Exec("execfile('chain.py')");
PseudoEventDisplay ped;
ped.setJetKey("Kt4ECTopoJets", 0.4,20e3);
ped.plot(CollectionTree_trans, 0);
import user
import ROOT
import PyCintex
import AthenaROOTAccess.transientTree
CollectionTree = ROOT.AthenaROOTAccess.TChainROOTAccess('CollectionTree')
CollectionTree.Add('SkimmedThin.AOD.pool.root')
tt = AthenaROOTAccess.transientTree.makeTree(CollectionTree)
- změna nastavení filtru z JobOption? .py - v jobo.py
místo
job += ttbarFilter()
přidáme do hlavního streamu
job += ttbarFilter(JetMinEt=40*Units.GeV)
PyAthena? interaktivně
# after running athena -i jobo.py
theApp.initialize()
sg = PyAthena.py_svc('StoreGateSvc') # but we have to have an event
sg.dump()
theApp.nextEvent()
elecs = sg.retrieve('ElectronContainer','ElectronAODCollection')
elecs.size()
ele = elecs.at(0)
ele.e()
ele.eta()
c = ele.cluster()
c.eta()
c.e()
EventView?
cmt co PhysicsAnalysis/EventViewBuilder/EventViewInserters
newEVTool MyEVTool
- edit PhysicsAnalysis? /EventViewBuilder/EventViewInserters/src/MyEVTool.cxx and compile
Tutorials at ATLAS TWiki