FairShip
Loading...
Searching...
No Matches
eventDisplay.py File Reference

Go to the source code of this file.

Classes

class  eventDisplay.DrawVetoDigi
class  eventDisplay.DrawTracks
class  eventDisplay.IO
class  eventDisplay.EventLoop
class  eventDisplay.Rulers

Namespaces

namespace  eventDisplay

Functions

float eventDisplay.z_end_of_detector (ShipGeo)
bool eventDisplay._file_accessible (str path)
None eventDisplay.evExit ()
None eventDisplay.printMCTrack (int n, MCTrack)
None eventDisplay.dump (float pcut=0)
None eventDisplay.printFittedTracks ()
None eventDisplay.printParticles ()
None eventDisplay.projection ()
None eventDisplay.projection_prescale ()
None eventDisplay.storeCameraSetting (str fname="camSetting.root")
None eventDisplay.readCameraSetting (str fname="camSetting.root")
None eventDisplay.speedUp ()
None eventDisplay.DisplayNuDetector ()
None eventDisplay.switchOff (tag)
None eventDisplay.switchOn (tag)
None eventDisplay.hidePlasticScintillator ()
None eventDisplay.switchOffRock ()
None eventDisplay.switchOffAll (exc)
None eventDisplay.switchOnAll (exc)
 eventDisplay.select (pattern)
None eventDisplay.search (lvdict, tag)
None eventDisplay.rename (str name="ship.TGeant4.root")
None eventDisplay.mydebug ()
None eventDisplay.debugStraw (n)
None eventDisplay.DrawCharmTracks ()
None eventDisplay.DrawSimpleMCTracks ()
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)
None eventDisplay.PRVersion ()

Variables

 eventDisplay.fMan = None
 eventDisplay.fRun = None
 eventDisplay.pdg = ROOT.TDatabasePDG.Instance()
 eventDisplay.g = ROOT.gROOT
 eventDisplay.gEnv = ROOT.gEnv
str eventDisplay.mcEngine = "TGeant4"
str eventDisplay.simEngine = "Pythia8"
bool eventDisplay.withGeo = False
bool eventDisplay.withMCTracks = True
dict eventDisplay.transparentMaterials
 eventDisplay.parser = ArgumentParser()
 eventDisplay.dest
 eventDisplay.help
 eventDisplay.required
 eventDisplay.default
 eventDisplay.action
 eventDisplay.type
 eventDisplay.options = parser.parse_args()
 eventDisplay.recoFile
 eventDisplay.InputFile
 eventDisplay.candidate = options.InputFile.replace(".root", "_rec.root")
 eventDisplay.inFile = ROOT.FairFileSource(options.InputFile)
 eventDisplay.OutputFile
 eventDisplay.suffix
 eventDisplay.sink = ROOT.FairRootFileSink(options.OutputFile)
 eventDisplay.rtdb = fRun.GetRuntimeDb()
 eventDisplay.parInput1 = ROOT.FairParRootFileIo()
int eventDisplay.verbose = 0
 eventDisplay.Track = ROOT.FairMCTracksDraw("Monte-Carlo Tracks")
 eventDisplay.GTrack = ROOT.FairGeoTracksDraw("GeoTracks")
 eventDisplay.ShipGeo = load_from_root_file(fRun.GetGeoFile(), "ShipGeo")
 eventDisplay._tmpFile = ROOT.TFile.Open(options.InputFile)
 eventDisplay._tmpTree = _tmpFile.Get("cbmsim") if _tmpFile else None
dict eventDisplay.mcHits = {}
dict eventDisplay._candidates
 eventDisplay.source = ROOT.VectorMCPointSource[branch](branch)
 eventDisplay.fRman = ROOT.FairRootManager.Instance()
 eventDisplay.sTree = fRman.GetInChain()
 eventDisplay.lsOfGlobals = ROOT.gROOT.GetListOfGlobals()
 eventDisplay.sGeo = ROOT.gGeoManager
 eventDisplay.top = sGeo.GetTopVolume()
 eventDisplay.gEve = ROOT.gEve
 eventDisplay.fieldMaker = geomGeant4.addVMCFields(ShipGeo, "", True, withVirtualMC=False)
 eventDisplay.bfield = ROOT.genfit.FairShipFields()
 eventDisplay.bellField
 eventDisplay.compField = ROOT.ShipCompField("compfield", bellField)
 eventDisplay.geoMat = ROOT.genfit.TGeoMaterialInterface()
 eventDisplay.fM = ROOT.genfit.FieldManager.getInstance()
 eventDisplay.br = gEve.GetBrowser()
 eventDisplay.rulers = Rulers()
 eventDisplay.SHiPDisplay = EventLoop()