![]() |
FairShip
|
Classes | |
| class | DrawVetoDigi |
| class | DrawTracks |
| class | IO |
| class | EventLoop |
| class | Rulers |
Functions | |
| float | z_end_of_detector (ShipGeo) |
| 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) |
| 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 | |
| fMan = None | |
| fRun = None | |
| pdg = ROOT.TDatabasePDG.Instance() | |
| g = ROOT.gROOT | |
| gEnv = ROOT.gEnv | |
| str | mcEngine = "TGeant4" |
| str | simEngine = "Pythia8" |
| bool | withGeo = False |
| bool | withMCTracks = True |
| dict | transparentMaterials |
| parser = ArgumentParser() | |
| dest | |
| help | |
| required | |
| default | |
| action | |
| type | |
| options = parser.parse_args() | |
| recoFile | |
| InputFile | |
| candidate = options.InputFile.replace(".root", "_rec.root") | |
| inFile = ROOT.FairFileSource(options.InputFile) | |
| OutputFile | |
| suffix | |
| sink = ROOT.FairRootFileSink(options.OutputFile) | |
| rtdb = fRun.GetRuntimeDb() | |
| parInput1 = ROOT.FairParRootFileIo() | |
| int | verbose = 0 |
| Track = ROOT.FairMCTracksDraw("Monte-Carlo Tracks") | |
| GTrack = ROOT.FairGeoTracksDraw("GeoTracks") | |
| ShipGeo = load_from_root_file(fRun.GetGeoFile(), "ShipGeo") | |
| _tmpFile = ROOT.TFile.Open(options.InputFile) | |
| _tmpTree = _tmpFile.Get("cbmsim") if _tmpFile else None | |
| dict | mcHits = {} |
| dict | _candidates |
| source = ROOT.VectorMCPointSource[branch](branch) | |
| fRman = ROOT.FairRootManager.Instance() | |
| sTree = fRman.GetInChain() | |
| lsOfGlobals = ROOT.gROOT.GetListOfGlobals() | |
| sGeo = ROOT.gGeoManager | |
| top = sGeo.GetTopVolume() | |
| gEve = ROOT.gEve | |
| fieldMaker = geomGeant4.addVMCFields(ShipGeo, "", True, withVirtualMC=False) | |
| bfield = ROOT.genfit.FairShipFields() | |
| bellField | |
| compField = ROOT.ShipCompField("compfield", bellField) | |
| geoMat = ROOT.genfit.TGeoMaterialInterface() | |
| fM = ROOT.genfit.FieldManager.getInstance() | |
| br = gEve.GetBrowser() | |
| rulers = Rulers() | |
| SHiPDisplay = EventLoop() | |
|
protected |
Check whether a file exists (local or remote via XRootD).
Definition at line 38 of file eventDisplay.py.
| None eventDisplay.debugStraw | ( | n | ) |
Definition at line 1178 of file eventDisplay.py.
| None eventDisplay.DisplayNuDetector | ( | ) |
Definition at line 902 of file eventDisplay.py.
| None eventDisplay.DrawCharmTracks | ( | ) |
Definition at line 1330 of file eventDisplay.py.
| None eventDisplay.DrawSimpleMCTracks | ( | ) |
Definition at line 1343 of file eventDisplay.py.
| None eventDisplay.dump | ( | float | pcut = 0 | ) |
Definition at line 166 of file eventDisplay.py.
| None eventDisplay.evExit | ( | ) |
Prevent double delete due to a FairRoot bug.
Definition at line 52 of file eventDisplay.py.
| None eventDisplay.hidePlasticScintillator | ( | ) |
Definition at line 937 of file eventDisplay.py.
| None eventDisplay.mydebug | ( | ) |
Definition at line 1129 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 1380 of file eventDisplay.py.
| None eventDisplay.printFittedTracks | ( | ) |
Definition at line 176 of file eventDisplay.py.
| None eventDisplay.printMCTrack | ( | int | n, |
| MCTrack ) |
Definition at line 148 of file eventDisplay.py.
| None eventDisplay.printParticles | ( | ) |
Definition at line 198 of file eventDisplay.py.
| None eventDisplay.projection | ( | ) |
Definition at line 821 of file eventDisplay.py.
| None eventDisplay.projection_prescale | ( | ) |
Definition at line 840 of file eventDisplay.py.
| None eventDisplay.PRVersion | ( | ) |
Definition at line 1402 of file eventDisplay.py.
| None eventDisplay.readCameraSetting | ( | str | fname = "camSetting.root" | ) |
Definition at line 872 of file eventDisplay.py.
| None eventDisplay.rename | ( | str | name = "ship.TGeant4.root" | ) |
Definition at line 1009 of file eventDisplay.py.
| None eventDisplay.search | ( | lvdict, | |
| tag ) |
Definition at line 1003 of file eventDisplay.py.
| eventDisplay.select | ( | pattern | ) |
Definition at line 994 of file eventDisplay.py.
| None eventDisplay.speedUp | ( | ) |
Definition at line 881 of file eventDisplay.py.
| None eventDisplay.storeCameraSetting | ( | str | fname = "camSetting.root" | ) |
Definition at line 865 of file eventDisplay.py.
| None eventDisplay.switchOff | ( | tag | ) |
Definition at line 914 of file eventDisplay.py.
| None eventDisplay.switchOffAll | ( | exc | ) |
Definition at line 960 of file eventDisplay.py.
| None eventDisplay.switchOffRock | ( | ) |
Definition at line 951 of file eventDisplay.py.
| None eventDisplay.switchOn | ( | tag | ) |
Definition at line 925 of file eventDisplay.py.
| None eventDisplay.switchOnAll | ( | exc | ) |
Definition at line 977 of file eventDisplay.py.
| float eventDisplay.z_end_of_detector | ( | ShipGeo | ) |
Downstream reference for the rulers. The scoring plane, or the former MuonStation3 position in geometry files made before the SplitCal removal.
Definition at line 27 of file eventDisplay.py.
|
protected |
Definition at line 1238 of file eventDisplay.py.
|
protected |
Definition at line 1234 of file eventDisplay.py.
Definition at line 1235 of file eventDisplay.py.
| eventDisplay.action |
Definition at line 113 of file eventDisplay.py.
| eventDisplay.bellField |
Definition at line 1286 of file eventDisplay.py.
| eventDisplay.bfield = ROOT.genfit.FairShipFields() |
Definition at line 1283 of file eventDisplay.py.
| eventDisplay.br = gEve.GetBrowser() |
Definition at line 1299 of file eventDisplay.py.
| eventDisplay.candidate = options.InputFile.replace(".root", "_rec.root") |
Definition at line 143 of file eventDisplay.py.
| eventDisplay.compField = ROOT.ShipCompField("compfield", bellField) |
Definition at line 1289 of file eventDisplay.py.
| eventDisplay.default |
Definition at line 106 of file eventDisplay.py.
| eventDisplay.dest |
Definition at line 95 of file eventDisplay.py.
| eventDisplay.fieldMaker = geomGeant4.addVMCFields(ShipGeo, "", True, withVirtualMC=False) |
Definition at line 1282 of file eventDisplay.py.
| eventDisplay.fM = ROOT.genfit.FieldManager.getInstance() |
Definition at line 1294 of file eventDisplay.py.
| eventDisplay.fMan = None |
Definition at line 62 of file eventDisplay.py.
| eventDisplay.fRman = ROOT.FairRootManager.Instance() |
Definition at line 1265 of file eventDisplay.py.
| eventDisplay.fRun = None |
Definition at line 63 of file eventDisplay.py.
| eventDisplay.g = ROOT.gROOT |
Definition at line 65 of file eventDisplay.py.
| eventDisplay.gEnv = ROOT.gEnv |
Definition at line 66 of file eventDisplay.py.
| eventDisplay.geoMat = ROOT.genfit.TGeoMaterialInterface() |
Definition at line 1292 of file eventDisplay.py.
| eventDisplay.gEve = ROOT.gEve |
Definition at line 1275 of file eventDisplay.py.
| eventDisplay.GTrack = ROOT.FairGeoTracksDraw("GeoTracks") |
Definition at line 1226 of file eventDisplay.py.
| eventDisplay.help |
Definition at line 95 of file eventDisplay.py.
| eventDisplay.inFile = ROOT.FairFileSource(options.InputFile) |
Definition at line 1199 of file eventDisplay.py.
| eventDisplay.InputFile |
Definition at line 141 of file eventDisplay.py.
| eventDisplay.lsOfGlobals = ROOT.gROOT.GetListOfGlobals() |
Definition at line 1269 of file eventDisplay.py.
| str eventDisplay.mcEngine = "TGeant4" |
Definition at line 69 of file eventDisplay.py.
| dict eventDisplay.mcHits = {} |
Definition at line 1237 of file eventDisplay.py.
| eventDisplay.options = parser.parse_args() |
Definition at line 132 of file eventDisplay.py.
| eventDisplay.OutputFile |
Definition at line 1205 of file eventDisplay.py.
| eventDisplay.parInput1 = ROOT.FairParRootFileIo() |
Definition at line 1212 of file eventDisplay.py.
| eventDisplay.parser = ArgumentParser() |
Definition at line 93 of file eventDisplay.py.
| eventDisplay.pdg = ROOT.TDatabasePDG.Instance() |
Definition at line 64 of file eventDisplay.py.
| eventDisplay.recoFile |
Definition at line 140 of file eventDisplay.py.
| eventDisplay.required |
Definition at line 95 of file eventDisplay.py.
| eventDisplay.rtdb = fRun.GetRuntimeDb() |
Definition at line 1211 of file eventDisplay.py.
| eventDisplay.rulers = Rulers() |
Definition at line 1306 of file eventDisplay.py.
| eventDisplay.sGeo = ROOT.gGeoManager |
Definition at line 1271 of file eventDisplay.py.
| eventDisplay.SHiPDisplay = EventLoop() |
Definition at line 1307 of file eventDisplay.py.
| eventDisplay.ShipGeo = load_from_root_file(fRun.GetGeoFile(), "ShipGeo") |
Definition at line 1231 of file eventDisplay.py.
| str eventDisplay.simEngine = "Pythia8" |
Definition at line 70 of file eventDisplay.py.
| eventDisplay.sink = ROOT.FairRootFileSink(options.OutputFile) |
Definition at line 1206 of file eventDisplay.py.
| eventDisplay.source = ROOT.VectorMCPointSource[branch](branch) |
Definition at line 1249 of file eventDisplay.py.
| eventDisplay.sTree = fRman.GetInChain() |
Definition at line 1266 of file eventDisplay.py.
| eventDisplay.suffix |
Definition at line 1205 of file eventDisplay.py.
| eventDisplay.top = sGeo.GetTopVolume() |
Definition at line 1272 of file eventDisplay.py.
| eventDisplay.Track = ROOT.FairMCTracksDraw("Monte-Carlo Tracks") |
Definition at line 1225 of file eventDisplay.py.
| dict eventDisplay.transparentMaterials |
Definition at line 75 of file eventDisplay.py.
| eventDisplay.type |
Definition at line 128 of file eventDisplay.py.
| int eventDisplay.verbose = 0 |
Definition at line 1223 of file eventDisplay.py.
| bool eventDisplay.withGeo = False |
Definition at line 71 of file eventDisplay.py.
| bool eventDisplay.withMCTracks = True |
Definition at line 72 of file eventDisplay.py.