|
FairShip
|
Classes | |
| class | DrawTracks |
| class | DrawVetoDigi |
| class | EventLoop |
| class | IO |
| class | Rulers |
Functions | |
| bool | _file_accessible (str path) |
| None | evExit () |
| None | printMCTrack (int n, MCTrack) |
| None | dump (float pcut=0) |
| None | printFittedTracks () |
| None | printParticles () |
| None | projection () |
| None | projection_prescale () |
| None | storeCameraSetting (str fname="camSetting.root") |
| None | readCameraSetting (str fname="camSetting.root") |
| None | speedUp () |
| None | DisplayNuDetector () |
| None | switchOff (tag) |
| None | switchOn (tag) |
| None | hidePlasticScintillator () |
| None | switchOffRock () |
| None | switchOffAll (exc) |
| None | switchOnAll (exc) |
| def | select (pattern) |
| None | search (lvdict, tag) |
| None | rename (str name="ship.TGeant4.root") |
| None | mydebug () |
| None | debugStraw (n) |
| None | DrawCharmTracks () |
| None | DrawSimpleMCTracks () |
| None | positionText (r, float x, float y, z, angle, str txt, int size=200, color=ROOT.kBlue, mode=ROOT.TGLFont.kExtrude, light=ROOT.kTRUE) |
| None | PRVersion () |
Variables | |
| None | fMan = None |
| None | fRun = None |
| ROOT | pdg = ROOT.TDatabasePDG.Instance() |
| ROOT | g = ROOT.gROOT |
| ROOT | gEnv = ROOT.gEnv |
| str | mcEngine = "TGeant4" |
| str | simEngine = "Pythia8" |
| bool | withGeo = False |
| bool | withMCTracks = True |
| dict | transparentMaterials |
| ArgumentParser | parser = ArgumentParser() |
| dest | |
| help | |
| required | |
| default | |
| action | |
| ArgumentParser | options = parser.parse_args() |
| recoFile | |
| InputFile | |
| else : | |
| ArgumentParser | candidate = options.InputFile.replace(".root", "_rec.root") |
| ROOT | inFile = ROOT.FairFileSource(options.InputFile) |
| OutputFile | |
| None | rtdb = fRun.GetRuntimeDb() |
| ROOT | parInput1 = ROOT.FairParRootFileIo() |
| int | verbose = 0 |
| ROOT | Track = ROOT.FairMCTracksDraw("Monte-Carlo Tracks") |
| ROOT | GTrack = ROOT.FairGeoTracksDraw("GeoTracks") |
| load_from_root_file | ShipGeo = load_from_root_file(fRun.GetGeoFile(), "ShipGeo") |
| ROOT | _tmpFile = ROOT.TFile.Open(options.InputFile) |
| ROOT | _tmpTree = _tmpFile.Get("cbmsim") if _tmpFile else None |
| dict | mcHits = {} |
| dict | _candidates |
| ROOT | source = ROOT.VectorMCPointSource[branch](branch) |
| ROOT | fRman = ROOT.FairRootManager.Instance() |
| ROOT | sTree = fRman.GetInChain() |
| ROOT | lsOfGlobals = ROOT.gROOT.GetListOfGlobals() |
| ROOT | sGeo = ROOT.gGeoManager |
| ROOT | top = sGeo.GetTopVolume() |
| ROOT | gEve = ROOT.gEve |
| geomGeant4 | fieldMaker = geomGeant4.addVMCFields(ShipGeo, "", True, withVirtualMC=False) |
| ROOT | bfield = ROOT.genfit.FairShipFields() |
| ROOT | bellField |
| ROOT | compField = ROOT.ShipCompField("compfield", bellField) |
| ROOT | geoMat = ROOT.genfit.TGeoMaterialInterface() |
| ROOT | fM = ROOT.genfit.FieldManager.getInstance() |
| ROOT | br = gEve.GetBrowser() |
| Rulers | rulers = Rulers() |
| EventLoop | SHiPDisplay = EventLoop() |
|
protected |
Check whether a file exists (local or remote via XRootD).
Definition at line 26 of file eventDisplay.py.
| None eventDisplay.debugStraw | ( | n | ) |
Definition at line 1152 of file eventDisplay.py.
| None eventDisplay.DisplayNuDetector | ( | ) |
Definition at line 876 of file eventDisplay.py.
| None eventDisplay.DrawCharmTracks | ( | ) |
Definition at line 1299 of file eventDisplay.py.
| None eventDisplay.DrawSimpleMCTracks | ( | ) |
Definition at line 1312 of file eventDisplay.py.
| None eventDisplay.dump | ( | float | pcut = 0 | ) |
Definition at line 153 of file eventDisplay.py.
| None eventDisplay.evExit | ( | ) |
Prevent double delete due to a FairRoot bug.
Definition at line 40 of file eventDisplay.py.
| None eventDisplay.hidePlasticScintillator | ( | ) |
Definition at line 911 of file eventDisplay.py.
| None eventDisplay.mydebug | ( | ) |
Definition at line 1103 of file eventDisplay.py.
| None eventDisplay.positionText | ( | r, | |
| float | x, | ||
| float | y, | ||
| z, | |||
| angle, | |||
| str | txt, | ||
| int | size = 200, |
||
color = ROOT.kBlue, |
|||
mode = ROOT.TGLFont.kExtrude, |
|||
light = ROOT.kTRUE |
|||
| ) |
Definition at line 1349 of file eventDisplay.py.
| None eventDisplay.printFittedTracks | ( | ) |
Definition at line 163 of file eventDisplay.py.
| None eventDisplay.printMCTrack | ( | int | n, |
| MCTrack | |||
| ) |
Definition at line 135 of file eventDisplay.py.
| None eventDisplay.printParticles | ( | ) |
Definition at line 185 of file eventDisplay.py.
| None eventDisplay.projection | ( | ) |
Definition at line 795 of file eventDisplay.py.
| None eventDisplay.projection_prescale | ( | ) |
Definition at line 814 of file eventDisplay.py.
| None eventDisplay.PRVersion | ( | ) |
Definition at line 1371 of file eventDisplay.py.
| None eventDisplay.readCameraSetting | ( | str | fname = "camSetting.root" | ) |
Definition at line 846 of file eventDisplay.py.
| None eventDisplay.rename | ( | str | name = "ship.TGeant4.root" | ) |
Definition at line 983 of file eventDisplay.py.
| None eventDisplay.search | ( | lvdict, | |
| tag | |||
| ) |
Definition at line 977 of file eventDisplay.py.
| def eventDisplay.select | ( | pattern | ) |
Definition at line 968 of file eventDisplay.py.
| None eventDisplay.speedUp | ( | ) |
Definition at line 855 of file eventDisplay.py.
| None eventDisplay.storeCameraSetting | ( | str | fname = "camSetting.root" | ) |
Definition at line 839 of file eventDisplay.py.
| None eventDisplay.switchOff | ( | tag | ) |
Definition at line 888 of file eventDisplay.py.
| None eventDisplay.switchOffAll | ( | exc | ) |
Definition at line 934 of file eventDisplay.py.
| None eventDisplay.switchOffRock | ( | ) |
Definition at line 925 of file eventDisplay.py.
| None eventDisplay.switchOn | ( | tag | ) |
Definition at line 899 of file eventDisplay.py.
| None eventDisplay.switchOnAll | ( | exc | ) |
Definition at line 951 of file eventDisplay.py.
|
protected |
Definition at line 1207 of file eventDisplay.py.
|
protected |
Definition at line 1203 of file eventDisplay.py.
Definition at line 1204 of file eventDisplay.py.
| eventDisplay.action |
Definition at line 101 of file eventDisplay.py.
| ROOT eventDisplay.bellField |
Definition at line 1255 of file eventDisplay.py.
| ROOT eventDisplay.bfield = ROOT.genfit.FairShipFields() |
Definition at line 1252 of file eventDisplay.py.
| ROOT eventDisplay.br = gEve.GetBrowser() |
Definition at line 1268 of file eventDisplay.py.
| ArgumentParser eventDisplay.candidate = options.InputFile.replace(".root", "_rec.root") |
Definition at line 130 of file eventDisplay.py.
| ROOT eventDisplay.compField = ROOT.ShipCompField("compfield", bellField) |
Definition at line 1258 of file eventDisplay.py.
| eventDisplay.default |
Definition at line 94 of file eventDisplay.py.
| eventDisplay.dest |
Definition at line 83 of file eventDisplay.py.
| eventDisplay.else : |
Definition at line 129 of file eventDisplay.py.
| geomGeant4 eventDisplay.fieldMaker = geomGeant4.addVMCFields(ShipGeo, "", True, withVirtualMC=False) |
Definition at line 1251 of file eventDisplay.py.
| ROOT eventDisplay.fM = ROOT.genfit.FieldManager.getInstance() |
Definition at line 1263 of file eventDisplay.py.
| ROOT eventDisplay.fMan = None |
Definition at line 50 of file eventDisplay.py.
| ROOT eventDisplay.fRman = ROOT.FairRootManager.Instance() |
Definition at line 1233 of file eventDisplay.py.
| ROOT eventDisplay.fRun = None |
Definition at line 51 of file eventDisplay.py.
| ROOT eventDisplay.g = ROOT.gROOT |
Definition at line 53 of file eventDisplay.py.
| ROOT eventDisplay.gEnv = ROOT.gEnv |
Definition at line 54 of file eventDisplay.py.
| ROOT eventDisplay.geoMat = ROOT.genfit.TGeoMaterialInterface() |
Definition at line 1261 of file eventDisplay.py.
| ROOT eventDisplay.gEve = ROOT.gEve |
Definition at line 1243 of file eventDisplay.py.
| ROOT eventDisplay.GTrack = ROOT.FairGeoTracksDraw("GeoTracks") |
Definition at line 1195 of file eventDisplay.py.
| eventDisplay.help |
Definition at line 83 of file eventDisplay.py.
| ROOT eventDisplay.inFile = ROOT.FairFileSource(options.InputFile) |
Definition at line 1173 of file eventDisplay.py.
| eventDisplay.InputFile |
Definition at line 128 of file eventDisplay.py.
| ROOT eventDisplay.lsOfGlobals = ROOT.gROOT.GetListOfGlobals() |
Definition at line 1237 of file eventDisplay.py.
| str eventDisplay.mcEngine = "TGeant4" |
Definition at line 57 of file eventDisplay.py.
| dict eventDisplay.mcHits = {} |
Definition at line 1206 of file eventDisplay.py.
| ArgumentParser eventDisplay.options = parser.parse_args() |
Definition at line 119 of file eventDisplay.py.
| eventDisplay.OutputFile |
Definition at line 1176 of file eventDisplay.py.
| ROOT eventDisplay.parInput1 = ROOT.FairParRootFileIo() |
Definition at line 1181 of file eventDisplay.py.
| ArgumentParser eventDisplay.parser = ArgumentParser() |
Definition at line 81 of file eventDisplay.py.
| ROOT eventDisplay.pdg = ROOT.TDatabasePDG.Instance() |
Definition at line 52 of file eventDisplay.py.
| eventDisplay.recoFile |
Definition at line 127 of file eventDisplay.py.
| eventDisplay.required |
Definition at line 83 of file eventDisplay.py.
| None eventDisplay.rtdb = fRun.GetRuntimeDb() |
Definition at line 1180 of file eventDisplay.py.
Definition at line 1275 of file eventDisplay.py.
| ROOT eventDisplay.sGeo = ROOT.gGeoManager |
Definition at line 1239 of file eventDisplay.py.
| eventDisplay.SHiPDisplay = EventLoop() |
Definition at line 1276 of file eventDisplay.py.
| load_from_root_file eventDisplay.ShipGeo = load_from_root_file(fRun.GetGeoFile(), "ShipGeo") |
Definition at line 1200 of file eventDisplay.py.
| str eventDisplay.simEngine = "Pythia8" |
Definition at line 58 of file eventDisplay.py.
| ROOT eventDisplay.source = ROOT.VectorMCPointSource[branch](branch) |
Definition at line 1217 of file eventDisplay.py.
| ROOT eventDisplay.sTree = fRman.GetInChain() |
Definition at line 1234 of file eventDisplay.py.
| ROOT eventDisplay.top = sGeo.GetTopVolume() |
Definition at line 1240 of file eventDisplay.py.
| ROOT eventDisplay.Track = ROOT.FairMCTracksDraw("Monte-Carlo Tracks") |
Definition at line 1194 of file eventDisplay.py.
| dict eventDisplay.transparentMaterials |
Definition at line 63 of file eventDisplay.py.
| int eventDisplay.verbose = 0 |
Definition at line 1192 of file eventDisplay.py.
| bool eventDisplay.withGeo = False |
Definition at line 59 of file eventDisplay.py.
| bool eventDisplay.withMCTracks = True |
Definition at line 60 of file eventDisplay.py.