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

Go to the source code of this file.

Classes

class  study_muMSC.Block
 

Namespaces

namespace  study_muMSC
 

Variables

str study_muMSC.mcEngine = "TGeant4"
 
int study_muMSC.runnr = 1
 
int study_muMSC.nev = 10000000
 
dict study_muMSC.setup = {}
 
sys study_muMSC.s = sys.argv[1]
 
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"
 
int study_muMSC.theSeed = int(10000 * time.time() % 10000000)
 
float study_muMSC.ecut = 0.0
 
geometry_config study_muMSC.ship_geo = geometry_config.create_config(Yheight=10, shieldName="warm_opt")
 
ROOT study_muMSC.timer = ROOT.TStopwatch()
 
ROOT study_muMSC.run = ROOT.FairRunSim()
 
ROOT study_muMSC.rtdb = run.GetRuntimeDb()
 
ROOT study_muMSC.cave = ROOT.ShipCave("CAVE")
 
ROOT study_muMSC.sensPlane = ROOT.exitHadronAbsorber()
 
Block study_muMSC.target = Block()
 
ROOT study_muMSC.primGen = ROOT.FairPrimaryGenerator()
 
ROOT study_muMSC.myPgun = ROOT.FairBoxGenerator(13, 1)
 
ROOT study_muMSC.gMC = ROOT.TVirtualMC.GetMC()
 
ROOT study_muMSC.fStack = gMC.GetStack()
 
ROOT study_muMSC.emP = ROOT.G4EmParameters.Instance()
 
ROOT study_muMSC.f = ROOT.gROOT.GetListOfFiles()[0]
 
dict study_muMSC.h = {}
 
ROOT study_muMSC.sTree = f.Get("cbmsim")
 
ROOT study_muMSC.rc = sTree.GetEvent(n)
 
ROOT study_muMSC.pt = ROOT.TMath.Sqrt(aHit.GetPx() ** 2 + aHit.GetPy() ** 2)
 
ROOT study_muMSC.scat = ROOT.TMath.ATan2(pt, 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)
 
ROOT study_muMSC.rtime = timer.RealTime()
 
ROOT study_muMSC.ctime = timer.CpuTime()