![]() |
FairShip
|
Functions | |
| origin (sTree, it) | |
| None | makeProd () |
| 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 () |
| makeNicePrintout (list[str]|None x=None) | |
| None | readAndMergeHistos (prods) |
Variables | |
| bool | local = False |
| bool | parallel = True |
| 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" |
| xx = os.path.abspath(".").lower() | |
| str | prefix = pref + prefix |
| str | testdir = "." |
| str | path = "" |
| fgeo = None | |
| sGeo = None | |
| inputFile = None | |
| tmp = inputFile.split(".") | |
| dy = float(tmp[1] + "." + tmp[2]) | |
| inputFile1 = inputFile.replace("_D.", ".") | |
| inputFile2 = inputFile | |
| PDG = ROOT.TDatabasePDG.Instance() | |
| ShipGeo = geometry_config.create_config(Yheight=dy) | |
| run = ROOT.FairRunSim() | |
| modules = shipDet_conf.configure(run, ShipGeo) | |
| bool | otherPhysList = False |
| bool | noField = False |
| bool | passive = False |
| top = sGeo.GetTopVolume() | |
| muon = top.GetNode("MuonDetector_1") | |
| mvol = muon.GetVolume() | |
| zmuon = muon.GetMatrix().GetTranslation()[2] | |
| tuple | totl = (zmuon + mvol.GetShape().GetDZ()) / u.m |
| float | ztarget = -100.0 |
| list | fchain = [] |
| list | fchainRec = [] |
| q1 = inputFile1 in os.listdir(path + prefix + str(i)) | |
| q2 = inputFile2 in os.listdir(path + prefix + str(i)) | |
| recFile1 = inputFile1.replace(".root", "_rec.root") | |
| recFile2 = inputFile2.replace(".root", "_rec.root") | |
| r1 = recFile1 in os.listdir(path + prefix + str(i)) | |
| r2 = recFile2 in os.listdir(path + prefix + str(i)) | |
| str | fname = path + prefix + str(i) + "/" + inputFile |
| recFile = inputFile.replace(".root", "_rec.root") | |
| dict | h = {} |
| dict | histlist = {} |
| dict | txt = {} |
| dict | labels = {} |
| logVols = detMap() | |
| dict | histlistAll |
| dict | hLiSc = {1: {}} |
| dict | hMuon = {} |
| mom = ROOT.TVector3() | |
| pos = ROOT.TVector3() | |
| None ana_ShipMuon.AnaEventLoop | ( | ) |
Definition at line 944 of file ana_ShipMuon.py.
| None ana_ShipMuon.analyzeConcrete | ( | ) |
Definition at line 1032 of file ana_ShipMuon.py.
| None ana_ShipMuon.BigEventLoop | ( | ) |
Definition at line 591 of file ana_ShipMuon.py.
| None ana_ShipMuon.bookHist | ( | detName | ) |
Definition at line 519 of file ana_ShipMuon.py.
| None ana_ShipMuon.debugGeoTracks | ( | sTree | ) |
Definition at line 1311 of file ana_ShipMuon.py.
| None ana_ShipMuon.depEnergy | ( | sTree | ) |
Definition at line 1359 of file ana_ShipMuon.py.
| ana_ShipMuon.detMap | ( | ) |
Definition at line 479 of file ana_ShipMuon.py.
| None ana_ShipMuon.drawBoth | ( | str | tag, |
| hn ) |
Definition at line 1300 of file ana_ShipMuon.py.
| None ana_ShipMuon.eventsWithEntryPoints | ( | i | ) |
Definition at line 1341 of file ana_ShipMuon.py.
| None ana_ShipMuon.eventsWithStrawPoints | ( | i | ) |
Definition at line 1322 of file ana_ShipMuon.py.
| None ana_ShipMuon.executeOneFile | ( | fn, | |
| output = None, | |||
| pid = None ) |
Definition at line 675 of file ana_ShipMuon.py.
| None ana_ShipMuon.extractMuCloseByEvents | ( | single = None | ) |
Definition at line 1203 of file ana_ShipMuon.py.
| None ana_ShipMuon.extractRareEvents | ( | single = None | ) |
Definition at line 1166 of file ana_ShipMuon.py.
| None ana_ShipMuon.fitSingleGauss | ( | x, | |
| ba = None, | |||
| be = None ) |
Definition at line 489 of file ana_ShipMuon.py.
| ana_ShipMuon.makeNicePrintout | ( | list[str] | None | x = None | ) |
Definition at line 1421 of file ana_ShipMuon.py.
| None ana_ShipMuon.makePlots | ( | int | nstations | ) |
Definition at line 802 of file ana_ShipMuon.py.
| None ana_ShipMuon.makeProd | ( | ) |
Definition at line 455 of file ana_ShipMuon.py.
| None ana_ShipMuon.MergeRareEvents | ( | list[str] | None | runs = None | ) |
Definition at line 1253 of file ana_ShipMuon.py.
| None ana_ShipMuon.muDISntuple | ( | fn | ) |
Definition at line 996 of file ana_ShipMuon.py.
| ana_ShipMuon.origin | ( | sTree, | |
| it ) |
Return (r, z) of the ancestor track produced by the primary muon. Returns the sentinel (-1.0, 0.0) if the mother chain does not end at the primary muon (track 0).
Definition at line 392 of file ana_ShipMuon.py.
| None ana_ShipMuon.originOfMuon | ( | TextIOWrapper | fout, |
| int | n, | ||
| fn, | |||
| nEvents ) |
Definition at line 1374 of file ana_ShipMuon.py.
| None ana_ShipMuon.pers | ( | ) |
Definition at line 1401 of file ana_ShipMuon.py.
| None ana_ShipMuon.persistency | ( | ) |
Definition at line 1267 of file ana_ShipMuon.py.
| None ana_ShipMuon.printAndCopy | ( | str | None | prefix = None | ) |
Definition at line 1282 of file ana_ShipMuon.py.
| None ana_ShipMuon.rareEventEmulsion | ( | str | fname = "rareEmulsion.txt" | ) |
Definition at line 1110 of file ana_ShipMuon.py.
| None ana_ShipMuon.readAndMergeHistos | ( | prods | ) |
Definition at line 1507 of file ana_ShipMuon.py.
| None ana_ShipMuon.reDraw | ( | fn | ) |
Definition at line 1272 of file ana_ShipMuon.py.
Definition at line 359 of file ana_ShipMuon.py.
| list ana_ShipMuon.fchain = [] |
Definition at line 419 of file ana_ShipMuon.py.
| list ana_ShipMuon.fchainRec = [] |
Definition at line 420 of file ana_ShipMuon.py.
| ana_ShipMuon.fgeo = None |
Definition at line 345 of file ana_ShipMuon.py.
Definition at line 442 of file ana_ShipMuon.py.
| dict ana_ShipMuon.h = {} |
Definition at line 512 of file ana_ShipMuon.py.
| dict ana_ShipMuon.histlist = {} |
Definition at line 513 of file ana_ShipMuon.py.
| dict ana_ShipMuon.histlistAll |
Definition at line 552 of file ana_ShipMuon.py.
| dict ana_ShipMuon.hLiSc = {1: {}} |
Definition at line 569 of file ana_ShipMuon.py.
| dict ana_ShipMuon.hMuon = {} |
Definition at line 581 of file ana_ShipMuon.py.
| ana_ShipMuon.inputFile = None |
Definition at line 347 of file ana_ShipMuon.py.
| ana_ShipMuon.inputFile1 = inputFile.replace("_D.", ".") |
Definition at line 364 of file ana_ShipMuon.py.
| ana_ShipMuon.inputFile2 = inputFile |
Definition at line 365 of file ana_ShipMuon.py.
| dict ana_ShipMuon.labels = {} |
Definition at line 515 of file ana_ShipMuon.py.
| bool ana_ShipMuon.local = False |
Definition at line 13 of file ana_ShipMuon.py.
| ana_ShipMuon.logVols = detMap() |
Definition at line 516 of file ana_ShipMuon.py.
| ana_ShipMuon.modules = shipDet_conf.configure(run, ShipGeo) |
Definition at line 389 of file ana_ShipMuon.py.
| ana_ShipMuon.mom = ROOT.TVector3() |
Definition at line 587 of file ana_ShipMuon.py.
| ana_ShipMuon.muon = top.GetNode("MuonDetector_1") |
Definition at line 413 of file ana_ShipMuon.py.
| ana_ShipMuon.mvol = muon.GetVolume() |
Definition at line 414 of file ana_ShipMuon.py.
| bool ana_ShipMuon.noField = False |
Definition at line 409 of file ana_ShipMuon.py.
| bool ana_ShipMuon.otherPhysList = False |
Definition at line 408 of file ana_ShipMuon.py.
| 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 410 of file ana_ShipMuon.py.
| str ana_ShipMuon.path = "" |
Definition at line 340 of file ana_ShipMuon.py.
| ana_ShipMuon.PDG = ROOT.TDatabasePDG.Instance() |
Definition at line 373 of file ana_ShipMuon.py.
| ana_ShipMuon.pos = ROOT.TVector3() |
Definition at line 588 of file ana_ShipMuon.py.
| str ana_ShipMuon.pref = "muon" |
Definition at line 318 of file ana_ShipMuon.py.
| str ana_ShipMuon.prefix = pref + prefix |
Definition at line 333 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 316 of file ana_ShipMuon.py.
| list ana_ShipMuon.processes = [] |
Definition at line 22 of file ana_ShipMuon.py.
| ana_ShipMuon.q1 = inputFile1 in os.listdir(path + prefix + str(i)) |
Definition at line 430 of file ana_ShipMuon.py.
| ana_ShipMuon.q2 = inputFile2 in os.listdir(path + prefix + str(i)) |
Definition at line 431 of file ana_ShipMuon.py.
Definition at line 434 of file ana_ShipMuon.py.
Definition at line 435 of file ana_ShipMuon.py.
| ana_ShipMuon.recFile = inputFile.replace(".root", "_rec.root") |
Definition at line 443 of file ana_ShipMuon.py.
| ana_ShipMuon.recFile1 = inputFile1.replace(".root", "_rec.root") |
Definition at line 432 of file ana_ShipMuon.py.
| ana_ShipMuon.recFile2 = inputFile2.replace(".root", "_rec.root") |
Definition at line 433 of file ana_ShipMuon.py.
| ana_ShipMuon.run = ROOT.FairRunSim() |
Definition at line 388 of file ana_ShipMuon.py.
| ana_ShipMuon.sGeo = None |
Definition at line 346 of file ana_ShipMuon.py.
| ana_ShipMuon.ShipGeo = geometry_config.create_config(Yheight=dy) |
Definition at line 380 of file ana_ShipMuon.py.
| str ana_ShipMuon.testdir = "." |
Definition at line 339 of file ana_ShipMuon.py.
| ana_ShipMuon.tmp = inputFile.split(".") |
Definition at line 357 of file ana_ShipMuon.py.
| ana_ShipMuon.top = sGeo.GetTopVolume() |
Definition at line 412 of file ana_ShipMuon.py.
| tuple ana_ShipMuon.totl = (zmuon + mvol.GetShape().GetDZ()) / u.m |
Definition at line 416 of file ana_ShipMuon.py.
| dict ana_ShipMuon.txt = {} |
Definition at line 514 of file ana_ShipMuon.py.
| int ana_ShipMuon.withChain = 0 |
Definition at line 317 of file ana_ShipMuon.py.
| ana_ShipMuon.xx = os.path.abspath(".").lower() |
Definition at line 319 of file ana_ShipMuon.py.
| ana_ShipMuon.zmuon = muon.GetMatrix().GetTranslation()[2] |
Definition at line 415 of file ana_ShipMuon.py.
| float ana_ShipMuon.ztarget = -100.0 |
Definition at line 417 of file ana_ShipMuon.py.