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

Go to the source code of this file.

Namespaces

namespace  ana_ShipMuon

Functions

 ana_ShipMuon.origin (sTree, it)
None ana_ShipMuon.makeProd ()
 ana_ShipMuon.detMap ()
None ana_ShipMuon.fitSingleGauss (x, ba=None, be=None)
None ana_ShipMuon.bookHist (detName)
None ana_ShipMuon.BigEventLoop ()
None ana_ShipMuon.executeOneFile (fn, output=None, pid=None)
None ana_ShipMuon.makePlots (int nstations)
None ana_ShipMuon.AnaEventLoop ()
None ana_ShipMuon.muDISntuple (fn)
None ana_ShipMuon.analyzeConcrete ()
None ana_ShipMuon.rareEventEmulsion (str fname="rareEmulsion.txt")
None ana_ShipMuon.extractRareEvents (single=None)
None ana_ShipMuon.extractMuCloseByEvents (single=None)
None ana_ShipMuon.MergeRareEvents (list[str]|None runs=None)
None ana_ShipMuon.persistency ()
None ana_ShipMuon.reDraw (fn)
None ana_ShipMuon.printAndCopy (str|None prefix=None)
None ana_ShipMuon.drawBoth (str tag, hn)
None ana_ShipMuon.debugGeoTracks (sTree)
None ana_ShipMuon.eventsWithStrawPoints (i)
None ana_ShipMuon.eventsWithEntryPoints (i)
None ana_ShipMuon.depEnergy (sTree)
None ana_ShipMuon.originOfMuon (TextIOWrapper fout, int n, fn, nEvents)
None ana_ShipMuon.pers ()
 ana_ShipMuon.makeNicePrintout (list[str]|None x=None)
None ana_ShipMuon.readAndMergeHistos (prods)

Variables

bool ana_ShipMuon.local = False
bool ana_ShipMuon.parallel = True
 ana_ShipMuon.output = mp.Queue()
list ana_ShipMuon.processes = []
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)
int ana_ShipMuon.withChain = 0
str ana_ShipMuon.pref = "muon"
 ana_ShipMuon.xx = os.path.abspath(".").lower()
str ana_ShipMuon.prefix = pref + prefix
str ana_ShipMuon.testdir = "."
str ana_ShipMuon.path = ""
 ana_ShipMuon.fgeo = None
 ana_ShipMuon.sGeo = None
 ana_ShipMuon.inputFile = None
 ana_ShipMuon.tmp = inputFile.split(".")
 ana_ShipMuon.dy = float(tmp[1] + "." + tmp[2])
 ana_ShipMuon.inputFile1 = inputFile.replace("_D.", ".")
 ana_ShipMuon.inputFile2 = inputFile
 ana_ShipMuon.PDG = ROOT.TDatabasePDG.Instance()
 ana_ShipMuon.ShipGeo = geometry_config.create_config(Yheight=dy)
 ana_ShipMuon.run = ROOT.FairRunSim()
 ana_ShipMuon.modules = shipDet_conf.configure(run, ShipGeo)
bool ana_ShipMuon.otherPhysList = False
bool ana_ShipMuon.noField = False
bool ana_ShipMuon.passive = False
 ana_ShipMuon.top = sGeo.GetTopVolume()
 ana_ShipMuon.muon = top.GetNode("MuonDetector_1")
 ana_ShipMuon.mvol = muon.GetVolume()
 ana_ShipMuon.zmuon = muon.GetMatrix().GetTranslation()[2]
tuple ana_ShipMuon.totl = (zmuon + mvol.GetShape().GetDZ()) / u.m
float ana_ShipMuon.ztarget = -100.0
list ana_ShipMuon.fchain = []
list ana_ShipMuon.fchainRec = []
 ana_ShipMuon.q1 = inputFile1 in os.listdir(path + prefix + str(i))
 ana_ShipMuon.q2 = inputFile2 in os.listdir(path + prefix + str(i))
 ana_ShipMuon.recFile1 = inputFile1.replace(".root", "_rec.root")
 ana_ShipMuon.recFile2 = inputFile2.replace(".root", "_rec.root")
 ana_ShipMuon.r1 = recFile1 in os.listdir(path + prefix + str(i))
 ana_ShipMuon.r2 = recFile2 in os.listdir(path + prefix + str(i))
str ana_ShipMuon.fname = path + prefix + str(i) + "/" + inputFile
 ana_ShipMuon.recFile = inputFile.replace(".root", "_rec.root")
dict ana_ShipMuon.h = {}
dict ana_ShipMuon.histlist = {}
dict ana_ShipMuon.txt = {}
dict ana_ShipMuon.labels = {}
 ana_ShipMuon.logVols = detMap()
dict ana_ShipMuon.histlistAll
dict ana_ShipMuon.hLiSc = {1: {}}
dict ana_ShipMuon.hMuon = {}
 ana_ShipMuon.mom = ROOT.TVector3()
 ana_ShipMuon.pos = ROOT.TVector3()