|
SND@LHC Software
|
Go to the source code of this file.
Namespaces | |
| namespace | run_digiSND |
Functions | |
| run_digiSND.pyExit () | |
| run_digiSND.mem_monitor () | |
Variables | |
| int | run_digiSND.firstEvent = 0 |
| run_digiSND.parser = ArgumentParser() | |
| run_digiSND.dest | |
| run_digiSND.help | |
| run_digiSND.required | |
| run_digiSND.type | |
| run_digiSND.int | |
| run_digiSND.default | |
| run_digiSND.float | |
| run_digiSND.action | |
| run_digiSND.options = parser.parse_args() | |
| run_digiSND.makeClusterScifi = not options.noClusterScifi | |
| run_digiSND.timer = ROOT.TStopwatch() | |
| run_digiSND.tmp = options.inputFile.split('/') | |
| run_digiSND.outFile = tmp[len(tmp)-1].replace('.root','_dig.root') | |
| run_digiSND.inputFile | |
| run_digiSND.geoFile | |
| run_digiSND.snd_geo = SndlhcGeo.GeoInterface(options.geoFile) | |
| run_digiSND.lsOfGlobals = ROOT.gROOT.GetListOfGlobals() | |
| run_digiSND.scifiDet = lsOfGlobals.FindObject('Scifi') | |
| run_digiSND.mufiDet = lsOfGlobals.FindObject('MuFilter') | |
| bool | run_digiSND.better_update = False |
| The lines below aim to reproduce the original digitization case, but urge the user to regenerate the sample shall it be outdated from before the removal of the 1MeV production cut, which coincides with MuFi digi const update. | |
| run_digiSND.run = ROOT.FairRunAna() | |
| run_digiSND.ioman = ROOT.FairRootManager.Instance() | |
| run_digiSND.fileSource = ROOT.FairFileSource(options.inputFile) | |
| run_digiSND.outfile = ROOT.FairRootFileSink(outFile.replace('.root','CPP.root')) | |
| run_digiSND.inRootFile = ROOT.TFile.Open(options.inputFile) | |
| run_digiSND.inTree = inRootFile.Get('cbmsim') | |
| run_digiSND.nEventsInFile = inTree.GetEntries() | |
| run_digiSND.nEvents = min(nEventsInFile, options.nEvents) | |
| run_digiSND.rtdb = run.GetRuntimeDb() | |
| run_digiSND.DigiTask = ROOT.DigiTaskSND() | |
| run_digiSND.Sndlhc = SndlhcDigi.SndlhcDigi(outFile,makeClusterScifi) | |
| run_digiSND.iEvent | |
| run_digiSND.rc = Sndlhc.sTree.GetEvent(iEvent) | |
| run_digiSND.rtime = timer.RealTime() | |
| run_digiSND.ctime = timer.CpuTime() | |