SND@LHC Software
|
Functions | |
origin (sTree, it) | |
makeProd () | |
strawEncoding (detid) | |
detMap () | |
fitSingleGauss (x, ba=None, be=None) | |
bookHist (detName) | |
BigEventLoop () | |
executeOneFile (fn, output=None, pid=None) | |
makePlots (nstations) | |
AnaEventLoop () | |
muDISntuple (fn) | |
analyzeConcrete () | |
rareEventEmulsion (fname='rareEmulsion.txt') | |
extractRareEvents (single=None) | |
extractMuCloseByEvents (single=None) | |
MergeRareEvents (runs=['61', '62']) | |
persistency () | |
reDraw (fn) | |
printAndCopy (prefix=None) | |
drawBoth (tag, hn) | |
debugGeoTracks () | |
eventsWithStrawPoints (i) | |
eventsWithEntryPoints (i) | |
depEnergy () | |
originOfMuon (fout, n, fn, nEvents) | |
pers () | |
makeNicePrintout (x=['rareEvents_61-62.txt', 'rareEvents_71-72.txt']) | |
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() | |
prefix = '' | |
str | testdir = '.' |
str | path = '' |
fgeo = ROOT.TFile(testdir+'/'+f) | |
sGeo = fgeo.FAIRGeom | |
inputFile = f.replace("geofile_full","ship") | |
tmp = inputFile.split('.') | |
dy = float( tmp[1]+'.'+tmp[2] ) | |
inputFile1 = inputFile.replace('_D.','.') | |
inputFile2 = inputFile | |
PDG = ROOT.TDatabasePDG.Instance() | |
ecalGeoFile = ShipGeo.ecal.File | |
ShipGeo = ConfigRegistry.loadpy("$FAIRSHIP/geometry/geometry_config.py", Yheight = dy, EcalGeoFile = ecalGeoFile ) | |
upkl = Unpickler(fgeo) | |
run = ROOT.FairRunSim() | |
modules = shipDet_conf.configure(run,ShipGeo) | |
ecal = modules['Ecal'] | |
int | rz_inter = -1.,0. |
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 |
int | ztarget = -100. |
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 | l = {} |
logVols = detMap() | |
dict | histlistAll |
dict | hLiSc = {1:{}} |
dict | hMuon = {} |
mom = ROOT.TVector3() | |
pos = ROOT.TVector3() | |
ana_ShipMuon.AnaEventLoop | ( | ) |
Definition at line 810 of file ana_ShipMuon.py.
ana_ShipMuon.analyzeConcrete | ( | ) |
Definition at line 875 of file ana_ShipMuon.py.
ana_ShipMuon.BigEventLoop | ( | ) |
Definition at line 548 of file ana_ShipMuon.py.
ana_ShipMuon.bookHist | ( | detName | ) |
Definition at line 497 of file ana_ShipMuon.py.
ana_ShipMuon.debugGeoTracks | ( | ) |
Definition at line 1093 of file ana_ShipMuon.py.
ana_ShipMuon.depEnergy | ( | ) |
Definition at line 1128 of file ana_ShipMuon.py.
ana_ShipMuon.detMap | ( | ) |
Definition at line 461 of file ana_ShipMuon.py.
ana_ShipMuon.drawBoth | ( | tag, | |
hn | |||
) |
Definition at line 1083 of file ana_ShipMuon.py.
ana_ShipMuon.eventsWithEntryPoints | ( | i | ) |
Definition at line 1115 of file ana_ShipMuon.py.
ana_ShipMuon.eventsWithStrawPoints | ( | i | ) |
Definition at line 1100 of file ana_ShipMuon.py.
ana_ShipMuon.executeOneFile | ( | fn, | |
output = None , |
|||
pid = None |
|||
) |
Definition at line 625 of file ana_ShipMuon.py.
ana_ShipMuon.extractMuCloseByEvents | ( | single = None | ) |
Definition at line 1009 of file ana_ShipMuon.py.
ana_ShipMuon.extractRareEvents | ( | single = None | ) |
Definition at line 978 of file ana_ShipMuon.py.
ana_ShipMuon.fitSingleGauss | ( | x, | |
ba = None , |
|||
be = None |
|||
) |
Definition at line 470 of file ana_ShipMuon.py.
Definition at line 1182 of file ana_ShipMuon.py.
ana_ShipMuon.makePlots | ( | nstations | ) |
Definition at line 737 of file ana_ShipMuon.py.
ana_ShipMuon.makeProd | ( | ) |
Definition at line 429 of file ana_ShipMuon.py.
ana_ShipMuon.MergeRareEvents | ( | runs = ['61','62'] | ) |
Definition at line 1047 of file ana_ShipMuon.py.
ana_ShipMuon.muDISntuple | ( | fn | ) |
Definition at line 851 of file ana_ShipMuon.py.
ana_ShipMuon.origin | ( | sTree, | |
it | |||
) |
Definition at line 377 of file ana_ShipMuon.py.
ana_ShipMuon.originOfMuon | ( | fout, | |
n, | |||
fn, | |||
nEvents | |||
) |
Definition at line 1142 of file ana_ShipMuon.py.
ana_ShipMuon.pers | ( | ) |
Definition at line 1166 of file ana_ShipMuon.py.
ana_ShipMuon.persistency | ( | ) |
Definition at line 1057 of file ana_ShipMuon.py.
ana_ShipMuon.printAndCopy | ( | prefix = None | ) |
Definition at line 1067 of file ana_ShipMuon.py.
ana_ShipMuon.rareEventEmulsion | ( | fname = 'rareEmulsion.txt' | ) |
Definition at line 942 of file ana_ShipMuon.py.
ana_ShipMuon.readAndMergeHistos | ( | prods | ) |
Definition at line 1236 of file ana_ShipMuon.py.
ana_ShipMuon.reDraw | ( | fn | ) |
Definition at line 1061 of file ana_ShipMuon.py.
ana_ShipMuon.strawEncoding | ( | detid | ) |
Definition at line 449 of file ana_ShipMuon.py.
Definition at line 340 of file ana_ShipMuon.py.
ana_ShipMuon.ecal = modules['Ecal'] |
Definition at line 374 of file ana_ShipMuon.py.
ana_ShipMuon.ecalGeoFile = ShipGeo.ecal.File |
Definition at line 358 of file ana_ShipMuon.py.
list ana_ShipMuon.fchain = [] |
Definition at line 399 of file ana_ShipMuon.py.
list ana_ShipMuon.fchainRec = [] |
Definition at line 400 of file ana_ShipMuon.py.
ana_ShipMuon.fgeo = ROOT.TFile(testdir+'/'+f) |
Definition at line 333 of file ana_ShipMuon.py.
Definition at line 417 of file ana_ShipMuon.py.
dict ana_ShipMuon.h = {} |
Definition at line 491 of file ana_ShipMuon.py.
dict ana_ShipMuon.histlist = {} |
Definition at line 492 of file ana_ShipMuon.py.
dict ana_ShipMuon.histlistAll |
Definition at line 529 of file ana_ShipMuon.py.
dict ana_ShipMuon.hLiSc = {1:{}} |
Definition at line 532 of file ana_ShipMuon.py.
dict ana_ShipMuon.hMuon = {} |
Definition at line 540 of file ana_ShipMuon.py.
ana_ShipMuon.inputFile = f.replace("geofile_full","ship") |
Definition at line 335 of file ana_ShipMuon.py.
ana_ShipMuon.inputFile1 = inputFile.replace('_D.','.') |
Definition at line 345 of file ana_ShipMuon.py.
ana_ShipMuon.inputFile2 = inputFile |
Definition at line 346 of file ana_ShipMuon.py.
dict ana_ShipMuon.l = {} |
Definition at line 494 of file ana_ShipMuon.py.
ana_ShipMuon.local = False |
Definition at line 7 of file ana_ShipMuon.py.
ana_ShipMuon.logVols = detMap() |
Definition at line 495 of file ana_ShipMuon.py.
ana_ShipMuon.modules = shipDet_conf.configure(run,ShipGeo) |
Definition at line 372 of file ana_ShipMuon.py.
ana_ShipMuon.mom = ROOT.TVector3() |
Definition at line 545 of file ana_ShipMuon.py.
ana_ShipMuon.muon = top.GetNode("MuonDetector_1") |
Definition at line 393 of file ana_ShipMuon.py.
ana_ShipMuon.mvol = muon.GetVolume() |
Definition at line 394 of file ana_ShipMuon.py.
bool ana_ShipMuon.noField = False |
Definition at line 389 of file ana_ShipMuon.py.
bool ana_ShipMuon.otherPhysList = False |
Definition at line 388 of file ana_ShipMuon.py.
ana_ShipMuon.output = mp.Queue() |
Definition at line 13 of file ana_ShipMuon.py.
bool ana_ShipMuon.parallel = True |
Definition at line 10 of file ana_ShipMuon.py.
bool ana_ShipMuon.passive = False |
Definition at line 390 of file ana_ShipMuon.py.
str ana_ShipMuon.path = '' |
Definition at line 327 of file ana_ShipMuon.py.
ana_ShipMuon.PDG = ROOT.TDatabasePDG.Instance() |
Definition at line 353 of file ana_ShipMuon.py.
ana_ShipMuon.pos = ROOT.TVector3() |
Definition at line 546 of file ana_ShipMuon.py.
ana_ShipMuon.pref = 'muon' |
Definition at line 310 of file ana_ShipMuon.py.
str ana_ShipMuon.prefix = '' |
Definition at line 320 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 308 of file ana_ShipMuon.py.
list ana_ShipMuon.processes = [] |
Definition at line 14 of file ana_ShipMuon.py.
ana_ShipMuon.q1 = inputFile1 in os.listdir(path+prefix+str(i)) |
Definition at line 408 of file ana_ShipMuon.py.
ana_ShipMuon.q2 = inputFile2 in os.listdir(path+prefix+str(i)) |
Definition at line 409 of file ana_ShipMuon.py.
Definition at line 412 of file ana_ShipMuon.py.
Definition at line 413 of file ana_ShipMuon.py.
ana_ShipMuon.recFile = inputFile.replace('.root','_rec.root') |
Definition at line 418 of file ana_ShipMuon.py.
ana_ShipMuon.recFile1 = inputFile1.replace('.root','_rec.root') |
Definition at line 410 of file ana_ShipMuon.py.
ana_ShipMuon.recFile2 = inputFile2.replace('.root','_rec.root') |
Definition at line 411 of file ana_ShipMuon.py.
ana_ShipMuon.run = ROOT.FairRunSim() |
Definition at line 371 of file ana_ShipMuon.py.
int ana_ShipMuon.rz_inter = -1.,0. |
Definition at line 376 of file ana_ShipMuon.py.
ana_ShipMuon.sGeo = fgeo.FAIRGeom |
Definition at line 334 of file ana_ShipMuon.py.
ana_ShipMuon.ShipGeo = ConfigRegistry.loadpy("$FAIRSHIP/geometry/geometry_config.py", Yheight = dy, EcalGeoFile = ecalGeoFile ) |
Definition at line 362 of file ana_ShipMuon.py.
str ana_ShipMuon.testdir = '.' |
Definition at line 326 of file ana_ShipMuon.py.
ana_ShipMuon.tmp = inputFile.split('.') |
Definition at line 338 of file ana_ShipMuon.py.
ana_ShipMuon.top = sGeo.GetTopVolume() |
Definition at line 392 of file ana_ShipMuon.py.
tuple ana_ShipMuon.totl = (zmuon + mvol.GetShape().GetDZ() ) / u.m |
Definition at line 396 of file ana_ShipMuon.py.
dict ana_ShipMuon.txt = {} |
Definition at line 493 of file ana_ShipMuon.py.
Definition at line 365 of file ana_ShipMuon.py.
int ana_ShipMuon.withChain = 0 |
Definition at line 309 of file ana_ShipMuon.py.
ana_ShipMuon.xx = os.path.abspath('.').lower() |
Definition at line 311 of file ana_ShipMuon.py.
ana_ShipMuon.zmuon = muon.GetMatrix().GetTranslation()[2] |
Definition at line 395 of file ana_ShipMuon.py.
int ana_ShipMuon.ztarget = -100. |
Definition at line 397 of file ana_ShipMuon.py.