SND@LHC Software
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)
 
 ana_ShipMuon.makeProd ()
 
 ana_ShipMuon.strawEncoding (detid)
 
 ana_ShipMuon.detMap ()
 
 ana_ShipMuon.fitSingleGauss (x, ba=None, be=None)
 
 ana_ShipMuon.bookHist (detName)
 
 ana_ShipMuon.BigEventLoop ()
 
 ana_ShipMuon.executeOneFile (fn, output=None, pid=None)
 
 ana_ShipMuon.makePlots (nstations)
 
 ana_ShipMuon.AnaEventLoop ()
 
 ana_ShipMuon.muDISntuple (fn)
 
 ana_ShipMuon.analyzeConcrete ()
 
 ana_ShipMuon.rareEventEmulsion (fname='rareEmulsion.txt')
 
 ana_ShipMuon.extractRareEvents (single=None)
 
 ana_ShipMuon.extractMuCloseByEvents (single=None)
 
 ana_ShipMuon.MergeRareEvents (runs=['61', '62'])
 
 ana_ShipMuon.persistency ()
 
 ana_ShipMuon.reDraw (fn)
 
 ana_ShipMuon.printAndCopy (prefix=None)
 
 ana_ShipMuon.drawBoth (tag, hn)
 
 ana_ShipMuon.debugGeoTracks ()
 
 ana_ShipMuon.eventsWithStrawPoints (i)
 
 ana_ShipMuon.eventsWithEntryPoints (i)
 
 ana_ShipMuon.depEnergy ()
 
 ana_ShipMuon.originOfMuon (fout, n, fn, nEvents)
 
 ana_ShipMuon.pers ()
 
 ana_ShipMuon.makeNicePrintout (x=['rareEvents_61-62.txt', 'rareEvents_71-72.txt'])
 
 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()
 
 ana_ShipMuon.prefix = ''
 
str ana_ShipMuon.testdir = '.'
 
str ana_ShipMuon.path = ''
 
 ana_ShipMuon.fgeo = ROOT.TFile(testdir+'/'+f)
 
 ana_ShipMuon.sGeo = fgeo.FAIRGeom
 
 ana_ShipMuon.inputFile = f.replace("geofile_full","ship")
 
 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.ecalGeoFile = ShipGeo.ecal.File
 
 ana_ShipMuon.ShipGeo = ConfigRegistry.loadpy("$FAIRSHIP/geometry/geometry_config.py", Yheight = dy, EcalGeoFile = ecalGeoFile )
 
 ana_ShipMuon.upkl = Unpickler(fgeo)
 
 ana_ShipMuon.run = ROOT.FairRunSim()
 
 ana_ShipMuon.modules = shipDet_conf.configure(run,ShipGeo)
 
 ana_ShipMuon.ecal = modules['Ecal']
 
int ana_ShipMuon.rz_inter = -1.,0.
 
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
 
int ana_ShipMuon.ztarget = -100.
 
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.l = {}
 
 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()