SND@LHC Software
|
Classes | |
class | DrawDigi |
class | DrawEcalCluster |
class | DrawTracks |
class | DrawVetoDigi |
class | EventLoop |
class | IO |
class | Rulers |
Functions | |
evExit () | |
printMCTrack (n, MCTrack) | |
dump (pcut=0) | |
printFittedTracks () | |
printParticles () | |
projection () | |
projection_prescale () | |
storeCameraSetting (fname='camSetting.root') | |
readCameraSetting (fname='camSetting.root') | |
speedUp () | |
DisplayNuDetector () | |
ecalYellow () | |
switchOf (tag) | |
switchOn (tag) | |
hidePlasticScintillator () | |
switchOfRock () | |
switchOfAll (exc) | |
switchOnAll (exc) | |
select (pattern) | |
search (lvdict, tag) | |
rename (name='ship.TGeant4.root') | |
mydebug () | |
debugStraw (n) | |
DrawCharmTracks () | |
DrawSimpleMCTracks () | |
SNDLHC () | |
positionText (r, x, y, z, angle, txt, size=200, color=ROOT.kBlue, mode=ROOT.TGLFont.kExtrude, light=ROOT.kTRUE) | |
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 |
bool | withAllMCTracks = False |
dict | transparentMaterials |
parser = ArgumentParser() | |
dest | |
help | |
required | |
False | |
default | |
action | |
options = parser.parse_args() | |
geoFile | |
InputFile | |
inFile = ROOT.FairFileSource(options.InputFile) | |
OutputFile | |
rtdb = fRun.GetRuntimeDb() | |
parInput1 = ROOT.FairParRootFileIo() | |
int | verbose = 0 |
Track = ROOT.FairMCTracks("Monte-Carlo Tracks",verbose) | |
GTrack = ROOT.FairMCTracks("GeoTracks",verbose) | |
ecalGeoFile = ShipGeo.ecal.File | |
ShipGeo = ConfigRegistry.loadpy("$FAIRSHIP/geometry/geometry_config.py", Yheight = float(dy), EcalGeoFile = ecalGeoFile) | |
upkl = Unpickler( fRun.GetGeoFile() ) | |
dict | mcHits = {} |
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() | |
geoMat = ROOT.genfit.TGeoMaterialInterface() | |
fM = ROOT.genfit.FieldManager.getInstance() | |
br = gEve.GetBrowser() | |
rulers = Rulers() | |
SHiPDisplay = EventLoop() | |
G = open('eveGlobal.py','w') | |
type | |
float | |
str | |
ioman = ROOT.FairRootManager.Instance() | |
f = ROOT.TFile.Open(options.InputFile) | |
bool | isMC = True |
outFile = ROOT.TMemFile('dummy','CREATE') | |
source = ROOT.FairFileSource(f) | |
sink = ROOT.FairRootFileSink(outFile) | |
muon_reco_task = SndlhcMuonReco.MuonReco() | |
trackTask = SndlhcTracking.Tracking() | |
xrdb = ROOT.FairRuntimeDb.instance() | |
geo = SndlhcGeo.GeoInterface(options.geoFile) | |
modules = geo.modules | |
Digi_MuFilterHits | |
eventDisplay.debugStraw | ( | n | ) |
Definition at line 951 of file eventDisplay.py.
eventDisplay.DisplayNuDetector | ( | ) |
Definition at line 710 of file eventDisplay.py.
eventDisplay.DrawCharmTracks | ( | ) |
Definition at line 1103 of file eventDisplay.py.
eventDisplay.DrawSimpleMCTracks | ( | ) |
Definition at line 1113 of file eventDisplay.py.
eventDisplay.dump | ( | pcut = 0 | ) |
Definition at line 58 of file eventDisplay.py.
eventDisplay.ecalYellow | ( | ) |
Definition at line 720 of file eventDisplay.py.
eventDisplay.evExit | ( | ) |
Definition at line 15 of file eventDisplay.py.
eventDisplay.hidePlasticScintillator | ( | ) |
Definition at line 749 of file eventDisplay.py.
eventDisplay.mydebug | ( | ) |
Definition at line 917 of file eventDisplay.py.
eventDisplay.positionText | ( | r, | |
x, | |||
y, | |||
z, | |||
angle, | |||
txt, | |||
size = 200 , |
|||
color = ROOT.kBlue , |
|||
mode = ROOT.TGLFont.kExtrude , |
|||
light = ROOT.kTRUE |
|||
) |
Definition at line 1172 of file eventDisplay.py.
eventDisplay.printFittedTracks | ( | ) |
Definition at line 65 of file eventDisplay.py.
eventDisplay.printMCTrack | ( | n, | |
MCTrack | |||
) |
Definition at line 54 of file eventDisplay.py.
eventDisplay.printParticles | ( | ) |
Definition at line 76 of file eventDisplay.py.
eventDisplay.projection | ( | ) |
Definition at line 633 of file eventDisplay.py.
eventDisplay.projection_prescale | ( | ) |
Definition at line 651 of file eventDisplay.py.
eventDisplay.PRVersion | ( | ) |
Definition at line 1181 of file eventDisplay.py.
eventDisplay.readCameraSetting | ( | fname = 'camSetting.root' | ) |
Definition at line 679 of file eventDisplay.py.
eventDisplay.rename | ( | name = 'ship.TGeant4.root' | ) |
Definition at line 805 of file eventDisplay.py.
eventDisplay.search | ( | lvdict, | |
tag | |||
) |
Definition at line 802 of file eventDisplay.py.
eventDisplay.select | ( | pattern | ) |
Definition at line 796 of file eventDisplay.py.
eventDisplay.SNDLHC | ( | ) |
Definition at line 1147 of file eventDisplay.py.
eventDisplay.speedUp | ( | ) |
Definition at line 686 of file eventDisplay.py.
eventDisplay.storeCameraSetting | ( | fname = 'camSetting.root' | ) |
Definition at line 674 of file eventDisplay.py.
eventDisplay.switchOf | ( | tag | ) |
Definition at line 730 of file eventDisplay.py.
eventDisplay.switchOfAll | ( | exc | ) |
Definition at line 769 of file eventDisplay.py.
eventDisplay.switchOfRock | ( | ) |
Definition at line 762 of file eventDisplay.py.
eventDisplay.switchOn | ( | tag | ) |
Definition at line 739 of file eventDisplay.py.
eventDisplay.switchOnAll | ( | exc | ) |
Definition at line 782 of file eventDisplay.py.
eventDisplay.action |
Definition at line 47 of file eventDisplay.py.
eventDisplay.bfield = ROOT.genfit.FairShipFields() |
Definition at line 1065 of file eventDisplay.py.
eventDisplay.br = gEve.GetBrowser() |
Definition at line 1075 of file eventDisplay.py.
eventDisplay.default |
Definition at line 46 of file eventDisplay.py.
eventDisplay.dest |
Definition at line 44 of file eventDisplay.py.
eventDisplay.Digi_MuFilterHits |
Definition at line 681 of file eventDisplay.py.
eventDisplay.ecalGeoFile = ShipGeo.ecal.File |
Definition at line 1000 of file eventDisplay.py.
eventDisplay.f = ROOT.TFile.Open(options.InputFile) |
Definition at line 614 of file eventDisplay.py.
eventDisplay.False |
Definition at line 46 of file eventDisplay.py.
eventDisplay.fieldMaker = geomGeant4.addVMCFields(ShipGeo, '', True, withVirtualMC = False) |
Definition at line 1064 of file eventDisplay.py.
eventDisplay.float |
Definition at line 37 of file eventDisplay.py.
eventDisplay.fM = ROOT.genfit.FieldManager.getInstance() |
Definition at line 1071 of file eventDisplay.py.
eventDisplay.fMan = None |
Definition at line 22 of file eventDisplay.py.
eventDisplay.fRman = ROOT.FairRootManager.Instance() |
Definition at line 1049 of file eventDisplay.py.
eventDisplay.fRun = None |
Definition at line 23 of file eventDisplay.py.
eventDisplay.g = ROOT.gROOT |
Definition at line 25 of file eventDisplay.py.
eventDisplay.G = open('eveGlobal.py','w') |
Definition at line 12 of file eventDisplay.py.
eventDisplay.gEnv = ROOT.gEnv |
Definition at line 26 of file eventDisplay.py.
eventDisplay.geo = SndlhcGeo.GeoInterface(options.geoFile) |
Definition at line 643 of file eventDisplay.py.
eventDisplay.geoFile |
Definition at line 964 of file eventDisplay.py.
eventDisplay.geoMat = ROOT.genfit.TGeoMaterialInterface() |
Definition at line 1069 of file eventDisplay.py.
eventDisplay.gEve = ROOT.gEve |
Definition at line 1057 of file eventDisplay.py.
eventDisplay.GTrack = ROOT.FairMCTracks("GeoTracks",verbose) |
Definition at line 993 of file eventDisplay.py.
eventDisplay.help |
Definition at line 44 of file eventDisplay.py.
eventDisplay.inFile = ROOT.FairFileSource(options.InputFile) |
Definition at line 969 of file eventDisplay.py.
eventDisplay.InputFile |
Definition at line 967 of file eventDisplay.py.
eventDisplay.ioman = ROOT.FairRootManager.Instance() |
Definition at line 606 of file eventDisplay.py.
bool eventDisplay.isMC = True |
Definition at line 616 of file eventDisplay.py.
eventDisplay.lsOfGlobals = ROOT.gROOT.GetListOfGlobals() |
Definition at line 1051 of file eventDisplay.py.
str eventDisplay.mcEngine = "TGeant4" |
Definition at line 29 of file eventDisplay.py.
dict eventDisplay.mcHits = {} |
Definition at line 1010 of file eventDisplay.py.
eventDisplay.modules = geo.modules |
Definition at line 644 of file eventDisplay.py.
eventDisplay.muon_reco_task = SndlhcMuonReco.MuonReco() |
Definition at line 629 of file eventDisplay.py.
eventDisplay.options = parser.parse_args() |
Definition at line 51 of file eventDisplay.py.
eventDisplay.outFile = ROOT.TMemFile('dummy','CREATE') |
Definition at line 621 of file eventDisplay.py.
eventDisplay.OutputFile |
Definition at line 974 of file eventDisplay.py.
eventDisplay.parInput1 = ROOT.FairParRootFileIo() |
Definition at line 979 of file eventDisplay.py.
eventDisplay.parser = ArgumentParser() |
Definition at line 42 of file eventDisplay.py.
eventDisplay.pdg = ROOT.TDatabasePDG.Instance() |
Definition at line 24 of file eventDisplay.py.
eventDisplay.required |
Definition at line 44 of file eventDisplay.py.
eventDisplay.rtdb = fRun.GetRuntimeDb() |
Definition at line 978 of file eventDisplay.py.
eventDisplay.rulers = Rulers() |
Definition at line 1081 of file eventDisplay.py.
eventDisplay.sGeo = ROOT.gGeoManager |
Definition at line 1053 of file eventDisplay.py.
eventDisplay.SHiPDisplay = EventLoop() |
Definition at line 1082 of file eventDisplay.py.
eventDisplay.ShipGeo = ConfigRegistry.loadpy("$FAIRSHIP/geometry/geometry_config.py", Yheight = float(dy), EcalGeoFile = ecalGeoFile) |
Definition at line 1002 of file eventDisplay.py.
str eventDisplay.simEngine = "Pythia8" |
Definition at line 30 of file eventDisplay.py.
eventDisplay.sink = ROOT.FairRootFileSink(outFile) |
Definition at line 624 of file eventDisplay.py.
eventDisplay.source = ROOT.FairFileSource(f) |
Definition at line 622 of file eventDisplay.py.
eventDisplay.str |
Definition at line 38 of file eventDisplay.py.
eventDisplay.sTree = fRman.GetInChain() |
Definition at line 1050 of file eventDisplay.py.
eventDisplay.top = sGeo.GetTopVolume() |
Definition at line 1054 of file eventDisplay.py.
eventDisplay.Track = ROOT.FairMCTracks("Monte-Carlo Tracks",verbose) |
Definition at line 992 of file eventDisplay.py.
eventDisplay.trackTask = SndlhcTracking.Tracking() |
Definition at line 633 of file eventDisplay.py.
dict eventDisplay.transparentMaterials |
Definition at line 35 of file eventDisplay.py.
eventDisplay.type |
Definition at line 37 of file eventDisplay.py.
eventDisplay.upkl = Unpickler( fRun.GetGeoFile() ) |
Definition at line 1005 of file eventDisplay.py.
int eventDisplay.verbose = 0 |
Definition at line 990 of file eventDisplay.py.
bool eventDisplay.withAllMCTracks = False |
Definition at line 33 of file eventDisplay.py.
eventDisplay.withGeo = False |
Definition at line 31 of file eventDisplay.py.
bool eventDisplay.withMCTracks = True |
Definition at line 32 of file eventDisplay.py.
eventDisplay.xrdb = ROOT.FairRuntimeDb.instance() |
Definition at line 638 of file eventDisplay.py.