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

Go to the source code of this file.

Classes

class  study_muMSC.Setup
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
 study_muMSC.s = sys.argv[1]
 study_muMSC.thickness
 study_muMSC.material
 study_muMSC.momentum
 study_muMSC.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 = geometry_config.create_config(Yheight=10, shieldName="TRY_2026")
 study_muMSC.timer = ROOT.TStopwatch()
 study_muMSC.run = ROOT.FairRunSim()
 study_muMSC.sink = ROOT.FairRootFileSink(outFile)
 study_muMSC.rtdb = run.GetRuntimeDb()
 study_muMSC.cave = ROOT.ShipCave("CAVE")
 study_muMSC.sensPlane = ROOT.exitHadronAbsorber()
 study_muMSC.target = Block()
 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.gROOT.GetListOfFiles()[0]
dict study_muMSC.h = {}
 study_muMSC.sTree = f.Get("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.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()