SND@LHC Software
Loading...
Searching...
No Matches
study_muMSC.py File Reference

Go to the source code of this file.

Namespaces

namespace  study_muMSC
 

Variables

str study_muMSC.mcEngine = "TGeant4"
 
int study_muMSC.runnr = 1
 
dict study_muMSC.setup = {}
 
 study_muMSC.parser = ArgumentParser()
 
 study_muMSC.dest
 
 study_muMSC.type
 
 study_muMSC.int
 
 study_muMSC.help
 
 study_muMSC.default
 
 study_muMSC.str
 
 study_muMSC.options = parser.parse_args()
 
 study_muMSC.s = options.s
 
 study_muMSC.nev = options.nEvents
 
dict study_muMSC.thickness = setup[s]['thickness']
 
dict study_muMSC.material = setup[s]['material']
 
dict study_muMSC.momentum = setup[s]['momentum']
 
dict study_muMSC.maxTheta = setup[s]['maxTheta']
 
bool study_muMSC.checkOverlap = True
 
bool study_muMSC.storeOnlyMuons = True
 
str study_muMSC.outFile = "msc"+s+".root"
 
 study_muMSC.theSeed = int(10000 * time.time() % 10000000)
 
float study_muMSC.ecut = 0.0
 
 study_muMSC.ship_geo = ConfigRegistry.loadpy("$FAIRSHIP/geometry/geometry_config.py", Yheight = 10, tankDesign = 5, muShieldDesign = 7, nuTauTargetDesign=1)
 
 study_muMSC.timer = ROOT.TStopwatch()
 
 study_muMSC.run = ROOT.FairRunSim()
 
 study_muMSC.rtdb = run.GetRuntimeDb()
 
 study_muMSC.cave = ROOT.ShipCave("CAVE")
 
 study_muMSC.target = ROOT.boxTarget()
 
 study_muMSC.primGen = ROOT.FairPrimaryGenerator()
 
 study_muMSC.myPgun = ROOT.FairBoxGenerator(13,1)
 
 study_muMSC.gMC = ROOT.TVirtualMC.GetMC()
 
 study_muMSC.fStack = gMC.GetStack()
 
 study_muMSC.emP = ROOT.G4EmParameters.Instance()
 
 study_muMSC.f = ROOT.TFile(outFile)
 
dict study_muMSC.h = {}
 
 study_muMSC.sTree = f.cbmsim
 
 study_muMSC.rc = sTree.GetEvent(n)
 
 study_muMSC.pt = ROOT.TMath.Sqrt(aHit.GetPx()**2+aHit.GetPy()**2)
 
 study_muMSC.scat = ROOT.TMath.ATan2(pt,aHit.GetPz())
 
 study_muMSC.scatX = ROOT.TMath.ATan2(aHit.GetPx(),aHit.GetPz())
 
 study_muMSC.scatY = ROOT.TMath.ATan2(aHit.GetPy(),aHit.GetPz())
 
 study_muMSC.key
 
 study_muMSC.title
 
 study_muMSC.nx
 
 study_muMSC.ny
 
 study_muMSC.cx
 
 study_muMSC.cy
 
dict study_muMSC.tc = h[s].cd(1)
 
 study_muMSC.rtime = timer.RealTime()
 
 study_muMSC.ctime = timer.CpuTime()