SND@LHC Software
|
Variables | |
parser = ArgumentParser() | |
dest | |
help | |
required | |
action | |
default | |
type | |
str | |
False | |
int | |
options = parser.parse_args() | |
x = options.inputFile | |
filename = x[x.rfind('/')+1:] | |
runN = x[x.rfind('/run_')+5:x.rfind('/run_')+11] | |
path = x[:x.rfind('/run_')+1] | |
outFileName = options.outPath+filename.replace('.root','_'+runN+'_muonReco.root') | |
geoFile | |
geo = SndlhcGeo.GeoInterface(options.geoFile) | |
lsOfGlobals = ROOT.gROOT.GetListOfGlobals() | |
fullPath = options.inputFile | |
F = ROOT.TFile.Open(fullPath) | |
outFile = ROOT.TFile(outFileName, 'RECREATE') | |
treename = None | |
fairRootManager = ROOT.FairRootManager.Instance() | |
run = ROOT.FairRunAna() | |
source = ROOT.FairFileSource(F) | |
sink = ROOT.FairRootFileSink(outFile) | |
muon_reco_task = SndlhcMuonReco.MuonReco() | |
w = ROOT.TStopwatch() | |
nEvents = min( options.nEvents, source.GetEntries()) | |
run_muonRecoSND.action |
Definition at line 10 of file run_muonRecoSND.py.
run_muonRecoSND.default |
Definition at line 10 of file run_muonRecoSND.py.
run_muonRecoSND.dest |
Definition at line 8 of file run_muonRecoSND.py.
run_muonRecoSND.F = ROOT.TFile.Open(fullPath) |
Definition at line 69 of file run_muonRecoSND.py.
run_muonRecoSND.fairRootManager = ROOT.FairRootManager.Instance() |
Definition at line 85 of file run_muonRecoSND.py.
run_muonRecoSND.False |
Definition at line 12 of file run_muonRecoSND.py.
run_muonRecoSND.filename = x[x.rfind('/')+1:] |
Definition at line 22 of file run_muonRecoSND.py.
run_muonRecoSND.fullPath = options.inputFile |
Definition at line 66 of file run_muonRecoSND.py.
run_muonRecoSND.geo = SndlhcGeo.GeoInterface(options.geoFile) |
Definition at line 61 of file run_muonRecoSND.py.
run_muonRecoSND.geoFile |
Definition at line 39 of file run_muonRecoSND.py.
run_muonRecoSND.help |
Definition at line 8 of file run_muonRecoSND.py.
run_muonRecoSND.int |
Definition at line 15 of file run_muonRecoSND.py.
run_muonRecoSND.lsOfGlobals = ROOT.gROOT.GetListOfGlobals() |
Definition at line 62 of file run_muonRecoSND.py.
run_muonRecoSND.muon_reco_task = SndlhcMuonReco.MuonReco() |
Definition at line 100 of file run_muonRecoSND.py.
run_muonRecoSND.nEvents = min( options.nEvents, source.GetEntries()) |
Definition at line 120 of file run_muonRecoSND.py.
run_muonRecoSND.options = parser.parse_args() |
Definition at line 19 of file run_muonRecoSND.py.
run_muonRecoSND.outFile = ROOT.TFile(outFileName, 'RECREATE') |
Definition at line 72 of file run_muonRecoSND.py.
Definition at line 29 of file run_muonRecoSND.py.
run_muonRecoSND.parser = ArgumentParser() |
Definition at line 7 of file run_muonRecoSND.py.
run_muonRecoSND.path = x[:x.rfind('/run_')+1] |
Definition at line 25 of file run_muonRecoSND.py.
run_muonRecoSND.required |
Definition at line 8 of file run_muonRecoSND.py.
run_muonRecoSND.run = ROOT.FairRunAna() |
Definition at line 88 of file run_muonRecoSND.py.
Definition at line 24 of file run_muonRecoSND.py.
run_muonRecoSND.sink = ROOT.FairRootFileSink(outFile) |
Definition at line 94 of file run_muonRecoSND.py.
run_muonRecoSND.source = ROOT.FairFileSource(F) |
Definition at line 91 of file run_muonRecoSND.py.
run_muonRecoSND.str |
Definition at line 11 of file run_muonRecoSND.py.
run_muonRecoSND.treename = None |
Definition at line 76 of file run_muonRecoSND.py.
run_muonRecoSND.type |
Definition at line 11 of file run_muonRecoSND.py.
run_muonRecoSND.w = ROOT.TStopwatch() |
Definition at line 104 of file run_muonRecoSND.py.
run_muonRecoSND.x = options.inputFile |
Definition at line 21 of file run_muonRecoSND.py.