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

Go to the source code of this file.

Namespaces

namespace  ana_ShipMuon
 

Functions

None ana_ShipMuon.origin (sTree, it)
 
None ana_ShipMuon.makeProd ()
 
def 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 ()
 
def ana_ShipMuon.makeNicePrintout (list[str]|None x=None)
 
None ana_ShipMuon.readAndMergeHistos (prods)
 

Variables

bool ana_ShipMuon.local = False
 
bool ana_ShipMuon.parallel = True
 
mp 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"
 
os ana_ShipMuon.xx = os.path.abspath(".").lower()
 
str ana_ShipMuon.prefix = pref + prefix
 
 ana_ShipMuon.else :
 
str ana_ShipMuon.testdir = "."
 
str ana_ShipMuon.path = ""
 
ROOT ana_ShipMuon.fgeo = ROOT.TFile(testdir + "/" + f)
 
ROOT ana_ShipMuon.sGeo = fgeo.Get("FAIRGeom")
 
ana_ShipMuon.inputFile = f.replace("geofile_full", "ship")
 
ana_ShipMuon.tmp = inputFile.split(".")
 
 ana_ShipMuon.try :
 
float ana_ShipMuon.dy = float(tmp[1] + "." + tmp[2])
 
ana_ShipMuon.inputFile1 = inputFile.replace("_D.", ".")
 
ana_ShipMuon.inputFile2 = inputFile
 
ROOT ana_ShipMuon.PDG = ROOT.TDatabasePDG.Instance()
 
geometry_config ana_ShipMuon.ShipGeo = geometry_config.create_config(Yheight=dy)
 
ROOT ana_ShipMuon.run = ROOT.FairRunSim()
 
shipDet_conf ana_ShipMuon.modules = shipDet_conf.configure(run, ShipGeo)
 
float ana_ShipMuon.rz_inter = -1.0, 0.0
 
bool ana_ShipMuon.otherPhysList = False
 
bool ana_ShipMuon.noField = False
 
bool ana_ShipMuon.passive = False
 
ROOT ana_ShipMuon.top = sGeo.GetTopVolume()
 
ROOT ana_ShipMuon.muon = top.GetNode("MuonDetector_1")
 
ROOT ana_ShipMuon.mvol = muon.GetVolume()
 
ROOT 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 = {}
 
def ana_ShipMuon.logVols = detMap()
 
dict ana_ShipMuon.histlistAll
 
dict ana_ShipMuon.hLiSc = {1: {}}
 
dict ana_ShipMuon.hMuon = {}
 
ROOT ana_ShipMuon.mom = ROOT.TVector3()
 
ROOT ana_ShipMuon.pos = ROOT.TVector3()