SND@LHC Software
Loading...
Searching...
No Matches
run_muonRecoSND.py File Reference

Go to the source code of this file.

Namespaces

namespace  run_muonRecoSND
 

Variables

 run_muonRecoSND.parser = ArgumentParser()
 
 run_muonRecoSND.dest
 
 run_muonRecoSND.help
 
 run_muonRecoSND.required
 
 run_muonRecoSND.action
 
 run_muonRecoSND.default
 
 run_muonRecoSND.type
 
 run_muonRecoSND.str
 
 run_muonRecoSND.False
 
 run_muonRecoSND.int
 
 run_muonRecoSND.options = parser.parse_args()
 
 run_muonRecoSND.x = options.inputFile
 
 run_muonRecoSND.filename = x[x.rfind('/')+1:]
 
 run_muonRecoSND.runN = x[x.rfind('/run_')+5:x.rfind('/run_')+11]
 
 run_muonRecoSND.path = x[:x.rfind('/run_')+1]
 
 run_muonRecoSND.outFileName = options.outPath+filename.replace('.root','_'+runN+'_muonReco.root')
 
 run_muonRecoSND.geoFile
 
 run_muonRecoSND.geo = SndlhcGeo.GeoInterface(options.geoFile)
 
 run_muonRecoSND.lsOfGlobals = ROOT.gROOT.GetListOfGlobals()
 
 run_muonRecoSND.fullPath = options.inputFile
 
 run_muonRecoSND.F = ROOT.TFile.Open(fullPath)
 
 run_muonRecoSND.outFile = ROOT.TFile(outFileName, 'RECREATE')
 
 run_muonRecoSND.treename = None
 
 run_muonRecoSND.fairRootManager = ROOT.FairRootManager.Instance()
 
 run_muonRecoSND.run = ROOT.FairRunAna()
 
 run_muonRecoSND.source = ROOT.FairFileSource(F)
 
 run_muonRecoSND.sink = ROOT.FairRootFileSink(outFile)
 
 run_muonRecoSND.muon_reco_task = SndlhcMuonReco.MuonReco()
 
 run_muonRecoSND.w = ROOT.TStopwatch()
 
 run_muonRecoSND.nEvents = min( options.nEvents, source.GetEntries())