|
FairShip
|
Functions | |
| None | origin (sTree, it) |
| None | makeProd () |
| def | detMap () |
| None | fitSingleGauss (x, ba=None, be=None) |
| None | bookHist (detName) |
| None | BigEventLoop () |
| None | executeOneFile (fn, output=None, pid=None) |
| None | makePlots (int nstations) |
| None | AnaEventLoop () |
| None | muDISntuple (fn) |
| None | analyzeConcrete () |
| None | rareEventEmulsion (str fname="rareEmulsion.txt") |
| None | extractRareEvents (single=None) |
| None | extractMuCloseByEvents (single=None) |
| None | MergeRareEvents (list[str]|None runs=None) |
| None | persistency () |
| None | reDraw (fn) |
| None | printAndCopy (str|None prefix=None) |
| None | drawBoth (str tag, hn) |
| None | debugGeoTracks (sTree) |
| None | eventsWithStrawPoints (i) |
| None | eventsWithEntryPoints (i) |
| None | depEnergy (sTree) |
| None | originOfMuon (TextIOWrapper fout, int n, fn, nEvents) |
| None | pers () |
| def | makeNicePrintout (list[str]|None x=None) |
| None | readAndMergeHistos (prods) |
Variables | |
| bool | local = False |
| bool | parallel = True |
| mp | output = mp.Queue() |
| list | processes = [] |
| list | prefixes = [] |
| makeProd("muon812",10,False,True) # –< 831 copied back, done 16.3.2015 makeProd("muon822",10,True,True) makeProd("muon821",10,True,True) makeProd("muon822",10,True,True) | |
| int | withChain = 0 |
| str | pref = "muon" |
| os | xx = os.path.abspath(".").lower() |
| str | prefix = pref + prefix |
| else : | |
| str | testdir = "." |
| str | path = "" |
| ROOT | fgeo = ROOT.TFile(testdir + "/" + f) |
| ROOT | sGeo = fgeo.Get("FAIRGeom") |
| f | inputFile = f.replace("geofile_full", "ship") |
| f | tmp = inputFile.split(".") |
| try : | |
| float | dy = float(tmp[1] + "." + tmp[2]) |
| f | inputFile1 = inputFile.replace("_D.", ".") |
| f | inputFile2 = inputFile |
| ROOT | PDG = ROOT.TDatabasePDG.Instance() |
| geometry_config | ShipGeo = geometry_config.create_config(Yheight=dy) |
| ROOT | run = ROOT.FairRunSim() |
| shipDet_conf | modules = shipDet_conf.configure(run, ShipGeo) |
| float | rz_inter = -1.0, 0.0 |
| bool | otherPhysList = False |
| bool | noField = False |
| bool | passive = False |
| ROOT | top = sGeo.GetTopVolume() |
| ROOT | muon = top.GetNode("MuonDetector_1") |
| ROOT | mvol = muon.GetVolume() |
| ROOT | zmuon = muon.GetMatrix().GetTranslation()[2] |
| tuple | totl = (zmuon + mvol.GetShape().GetDZ()) / u.m |
| float | ztarget = -100.0 |
| list | fchain = [] |
| list | fchainRec = [] |
| f | q1 = inputFile1 in os.listdir(path + prefix + str(i)) |
| f | q2 = inputFile2 in os.listdir(path + prefix + str(i)) |
| f | recFile1 = inputFile1.replace(".root", "_rec.root") |
| f | recFile2 = inputFile2.replace(".root", "_rec.root") |
| f | r1 = recFile1 in os.listdir(path + prefix + str(i)) |
| f | r2 = recFile2 in os.listdir(path + prefix + str(i)) |
| str | fname = path + prefix + str(i) + "/" + inputFile |
| f | recFile = inputFile.replace(".root", "_rec.root") |
| dict | h = {} |
| dict | histlist = {} |
| dict | txt = {} |
| dict | labels = {} |
| def | logVols = detMap() |
| dict | histlistAll |
| dict | hLiSc = {1: {}} |
| dict | hMuon = {} |
| ROOT | mom = ROOT.TVector3() |
| ROOT | pos = ROOT.TVector3() |
| None ana_ShipMuon.AnaEventLoop | ( | ) |
Definition at line 933 of file ana_ShipMuon.py.
| None ana_ShipMuon.analyzeConcrete | ( | ) |
Definition at line 1021 of file ana_ShipMuon.py.
| None ana_ShipMuon.BigEventLoop | ( | ) |
Definition at line 585 of file ana_ShipMuon.py.
| None ana_ShipMuon.bookHist | ( | detName | ) |
Definition at line 513 of file ana_ShipMuon.py.
| None ana_ShipMuon.debugGeoTracks | ( | sTree | ) |
Definition at line 1300 of file ana_ShipMuon.py.
| None ana_ShipMuon.depEnergy | ( | sTree | ) |
Definition at line 1344 of file ana_ShipMuon.py.
| def ana_ShipMuon.detMap | ( | ) |
Definition at line 473 of file ana_ShipMuon.py.
| None ana_ShipMuon.drawBoth | ( | str | tag, |
| hn | |||
| ) |
Definition at line 1289 of file ana_ShipMuon.py.
| None ana_ShipMuon.eventsWithEntryPoints | ( | i | ) |
Definition at line 1328 of file ana_ShipMuon.py.
| None ana_ShipMuon.eventsWithStrawPoints | ( | i | ) |
Definition at line 1311 of file ana_ShipMuon.py.
| None ana_ShipMuon.executeOneFile | ( | fn, | |
output = None, |
|||
pid = None |
|||
| ) |
Definition at line 668 of file ana_ShipMuon.py.
| None ana_ShipMuon.extractMuCloseByEvents | ( | single = None | ) |
Definition at line 1192 of file ana_ShipMuon.py.
| None ana_ShipMuon.extractRareEvents | ( | single = None | ) |
Definition at line 1155 of file ana_ShipMuon.py.
| None ana_ShipMuon.fitSingleGauss | ( | x, | |
ba = None, |
|||
be = None |
|||
| ) |
Definition at line 483 of file ana_ShipMuon.py.
| def ana_ShipMuon.makeNicePrintout | ( | list[str] | None | x = None | ) |
Definition at line 1406 of file ana_ShipMuon.py.
| None ana_ShipMuon.makePlots | ( | int | nstations | ) |
Definition at line 793 of file ana_ShipMuon.py.
| None ana_ShipMuon.makeProd | ( | ) |
Definition at line 449 of file ana_ShipMuon.py.
| None ana_ShipMuon.MergeRareEvents | ( | list[str] | None | runs = None | ) |
Definition at line 1242 of file ana_ShipMuon.py.
| None ana_ShipMuon.muDISntuple | ( | fn | ) |
Definition at line 985 of file ana_ShipMuon.py.
| None ana_ShipMuon.origin | ( | sTree, | |
| it | |||
| ) |
Definition at line 389 of file ana_ShipMuon.py.
| None ana_ShipMuon.originOfMuon | ( | TextIOWrapper | fout, |
| int | n, | ||
| fn, | |||
| nEvents | |||
| ) |
Definition at line 1359 of file ana_ShipMuon.py.
| None ana_ShipMuon.pers | ( | ) |
Definition at line 1386 of file ana_ShipMuon.py.
| None ana_ShipMuon.persistency | ( | ) |
Definition at line 1256 of file ana_ShipMuon.py.
| None ana_ShipMuon.printAndCopy | ( | str | None | prefix = None | ) |
Definition at line 1271 of file ana_ShipMuon.py.
| None ana_ShipMuon.rareEventEmulsion | ( | str | fname = "rareEmulsion.txt" | ) |
Definition at line 1099 of file ana_ShipMuon.py.
| None ana_ShipMuon.readAndMergeHistos | ( | prods | ) |
Definition at line 1486 of file ana_ShipMuon.py.
| None ana_ShipMuon.reDraw | ( | fn | ) |
Definition at line 1261 of file ana_ShipMuon.py.
Definition at line 353 of file ana_ShipMuon.py.
| ana_ShipMuon.else : |
Definition at line 335 of file ana_ShipMuon.py.
| list ana_ShipMuon.fchain = [] |
Definition at line 413 of file ana_ShipMuon.py.
| list ana_ShipMuon.fchainRec = [] |
Definition at line 414 of file ana_ShipMuon.py.
| ROOT ana_ShipMuon.fgeo = ROOT.TFile(testdir + "/" + f) |
Definition at line 346 of file ana_ShipMuon.py.
Definition at line 436 of file ana_ShipMuon.py.
| dict ana_ShipMuon.h = {} |
Definition at line 506 of file ana_ShipMuon.py.
| dict ana_ShipMuon.histlist = {} |
Definition at line 507 of file ana_ShipMuon.py.
| dict ana_ShipMuon.histlistAll |
Definition at line 546 of file ana_ShipMuon.py.
| dict ana_ShipMuon.hLiSc = {1: {}} |
Definition at line 563 of file ana_ShipMuon.py.
| dict ana_ShipMuon.hMuon = {} |
Definition at line 575 of file ana_ShipMuon.py.
| f ana_ShipMuon.inputFile = f.replace("geofile_full", "ship") |
Definition at line 348 of file ana_ShipMuon.py.
| f ana_ShipMuon.inputFile1 = inputFile.replace("_D.", ".") |
Definition at line 358 of file ana_ShipMuon.py.
| f ana_ShipMuon.inputFile2 = inputFile |
Definition at line 359 of file ana_ShipMuon.py.
| dict ana_ShipMuon.labels = {} |
Definition at line 509 of file ana_ShipMuon.py.
| bool ana_ShipMuon.local = False |
Definition at line 13 of file ana_ShipMuon.py.
| def ana_ShipMuon.logVols = detMap() |
Definition at line 510 of file ana_ShipMuon.py.
| shipDet_conf ana_ShipMuon.modules = shipDet_conf.configure(run, ShipGeo) |
Definition at line 383 of file ana_ShipMuon.py.
| ROOT ana_ShipMuon.mom = ROOT.TVector3() |
Definition at line 581 of file ana_ShipMuon.py.
| ROOT ana_ShipMuon.muon = top.GetNode("MuonDetector_1") |
Definition at line 407 of file ana_ShipMuon.py.
| ROOT ana_ShipMuon.mvol = muon.GetVolume() |
Definition at line 408 of file ana_ShipMuon.py.
| bool ana_ShipMuon.noField = False |
Definition at line 403 of file ana_ShipMuon.py.
| bool ana_ShipMuon.otherPhysList = False |
Definition at line 402 of file ana_ShipMuon.py.
| mp ana_ShipMuon.output = mp.Queue() |
Definition at line 20 of file ana_ShipMuon.py.
| bool ana_ShipMuon.parallel = True |
Definition at line 17 of file ana_ShipMuon.py.
| bool ana_ShipMuon.passive = False |
Definition at line 404 of file ana_ShipMuon.py.
| str ana_ShipMuon.path = "" |
Definition at line 339 of file ana_ShipMuon.py.
| ROOT ana_ShipMuon.PDG = ROOT.TDatabasePDG.Instance() |
Definition at line 367 of file ana_ShipMuon.py.
| ROOT ana_ShipMuon.pos = ROOT.TVector3() |
Definition at line 582 of file ana_ShipMuon.py.
| str ana_ShipMuon.pref = "muon" |
Definition at line 317 of file ana_ShipMuon.py.
| str ana_ShipMuon.prefix = pref + prefix |
Definition at line 332 of file ana_ShipMuon.py.
| list ana_ShipMuon.prefixes = [] |
makeProd("muon812",10,False,True) # –< 831 copied back, done 16.3.2015 makeProd("muon822",10,True,True) makeProd("muon821",10,True,True) makeProd("muon822",10,True,True)
makeProd("muon813",10,False,True) # makeProd("muon823",10,True,True)
Definition at line 315 of file ana_ShipMuon.py.
| list ana_ShipMuon.processes = [] |
Definition at line 21 of file ana_ShipMuon.py.
| f ana_ShipMuon.q1 = inputFile1 in os.listdir(path + prefix + str(i)) |
Definition at line 424 of file ana_ShipMuon.py.
| f ana_ShipMuon.q2 = inputFile2 in os.listdir(path + prefix + str(i)) |
Definition at line 425 of file ana_ShipMuon.py.
Definition at line 428 of file ana_ShipMuon.py.
Definition at line 429 of file ana_ShipMuon.py.
| f ana_ShipMuon.recFile = inputFile.replace(".root", "_rec.root") |
Definition at line 437 of file ana_ShipMuon.py.
| f ana_ShipMuon.recFile1 = inputFile1.replace(".root", "_rec.root") |
Definition at line 426 of file ana_ShipMuon.py.
| f ana_ShipMuon.recFile2 = inputFile2.replace(".root", "_rec.root") |
Definition at line 427 of file ana_ShipMuon.py.
| ROOT ana_ShipMuon.run = ROOT.FairRunSim() |
Definition at line 382 of file ana_ShipMuon.py.
| float ana_ShipMuon.rz_inter = -1.0, 0.0 |
Definition at line 386 of file ana_ShipMuon.py.
| ROOT ana_ShipMuon.sGeo = fgeo.Get("FAIRGeom") |
Definition at line 347 of file ana_ShipMuon.py.
| load_from_root_file ana_ShipMuon.ShipGeo = geometry_config.create_config(Yheight=dy) |
Definition at line 374 of file ana_ShipMuon.py.
| str ana_ShipMuon.testdir = "." |
Definition at line 338 of file ana_ShipMuon.py.
| f ana_ShipMuon.tmp = inputFile.split(".") |
Definition at line 351 of file ana_ShipMuon.py.
| ROOT ana_ShipMuon.top = sGeo.GetTopVolume() |
Definition at line 406 of file ana_ShipMuon.py.
| tuple ana_ShipMuon.totl = (zmuon + mvol.GetShape().GetDZ()) / u.m |
Definition at line 410 of file ana_ShipMuon.py.
| ana_ShipMuon.try : |
Definition at line 352 of file ana_ShipMuon.py.
| dict ana_ShipMuon.txt = {} |
Definition at line 508 of file ana_ShipMuon.py.
| int ana_ShipMuon.withChain = 0 |
Definition at line 316 of file ana_ShipMuon.py.
| os ana_ShipMuon.xx = os.path.abspath(".").lower() |
Definition at line 318 of file ana_ShipMuon.py.
| ROOT ana_ShipMuon.zmuon = muon.GetMatrix().GetTranslation()[2] |
Definition at line 409 of file ana_ShipMuon.py.
| float ana_ShipMuon.ztarget = -100.0 |
Definition at line 411 of file ana_ShipMuon.py.