from Configurables import GeomSvc geosvc = GeomSvc("GeomSvc") geosvc.compact = geometry_path ############################################################################## # Physics Generator ############################################################################## from Configurables import GenAlgo from Configurables import GtGunTool from Configurables import StdHepRdr from Configurables import SLCIORdr from Configurables import HepMCRdr from Configurables import GenPrinter gun = GtGunTool("GtGunTool") gun.Particles = ["mu-"] gun.EnergyMins = [100.] # GeV gun.EnergyMaxs = [100.] # GeV gun.ThetaMins = [85] # deg gun.ThetaMaxs = [85] # deg gun.PhiMins = [0] # deg gun.PhiMaxs = [360] # deg # stdheprdr = StdHepRdr("StdHepRdr") # stdheprdr.Input = "/cefs/data/stdhep/CEPC250/2fermions/E250.Pbhabha.e0.p0.whizard195/bhabha.e0.p0.00001.stdhep" # lciordr = SLCIORdr("SLCIORdr") # lciordr.Input = "/cefs/data/stdhep/lcio250/signal/Higgs/E250.Pbbh.whizard195/E250.Pbbh_X.e0.p0.whizard195/Pbbh_X.e0.p0.00001.slcio" # hepmcrdr = HepMCRdr("HepMCRdr") # hepmcrdr.Input = "example_UsingIterators.txt" genprinter = GenPrinter("GenPrinter") genalg = GenAlgo("GenAlgo")
# Physics Generator ############################################################################## from Configurables import GenAlgo from Configurables import GtGunTool from Configurables import StdHepRdr from Configurables import SLCIORdr from Configurables import HepMCRdr from Configurables import GenPrinter gun = GtGunTool("GtGunTool") # gun.Particles = ["pi+"] # gun.EnergyMins = [100.] # GeV # gun.EnergyMaxs = [100.] # GeV gun.Particles = ["e-"] gun.EnergyMins = [1.] # GeV gun.EnergyMaxs = [1.] # GeV gun.ThetaMins = [90] # rad; 45deg gun.ThetaMaxs = [90.] # rad; 45deg gun.PhiMins = [0] # rad; 0deg gun.PhiMaxs = [360.] # rad; 360deg # stdheprdr = StdHepRdr("StdHepRdr") # stdheprdr.Input = "/cefs/data/stdhep/CEPC250/2fermions/E250.Pbhabha.e0.p0.whizard195/bhabha.e0.p0.00001.stdhep" # lciordr = SLCIORdr("SLCIORdr") # lciordr.Input = "/cefs/data/stdhep/lcio250/signal/Higgs/E250.Pbbh.whizard195/E250.Pbbh_X.e0.p0.whizard195/Pbbh_X.e0.p0.00001.slcio" # hepmcrdr = HepMCRdr("HepMCRdr")
geosvc = GeoSvc("GeoSvc") geosvc.compact = geometry_path ############################################################################## # Physics Generator ############################################################################## from Configurables import GenAlgo from Configurables import GtGunTool from Configurables import StdHepRdr from Configurables import SLCIORdr from Configurables import HepMCRdr from Configurables import GenPrinter gun = GtGunTool("GtGunTool") gun.Particles = ["gamma", "gamma"] gun.EnergyMins = [10, 10] # GeV gun.EnergyMaxs = [10, 10] # GeV gun.ThetaMins = [90, 90] # degree gun.ThetaMaxs = [90, 90] # degree gun.PhiMins = [0, 1] # degree gun.PhiMaxs = [0, 1] # degree stdheprdr = StdHepRdr("StdHepRdr") #stdheprdr.Input = "/cefs/data/stdhep/CEPC250/2fermions/E250.Pbhabha.e0.p0.whizard195/bhabha.e0.p0.00001.stdhep" #stdheprdr.Input = "/cefs/data/stdhep/CEPC250/2fermions/E250.Pbhabha.e0.p0.whizard195/bhabha.e0.p0.00001.stdhep" stdheprdr.Input = "/cefs/data/stdhep/CEPC250/higgs/E250.Pbbh.whizard195/E250.Pbbh_X.e0.p0.whizard195/Pbbh_X.e0.p0.00001.stdhep" # lciordr = SLCIORdr("SLCIORdr") # lciordr.Input = "/cefs/data/stdhep/lcio250/signal/Higgs/E250.Pbbh.whizard195/E250.Pbbh_X.e0.p0.whizard195/Pbbh_X.e0.p0.00001.slcio" # hepmcrdr = HepMCRdr("HepMCRdr")
dedxsvc.material_Z = 26 dedxsvc.material_A = 53.9396 dedxsvc.material_density = 7.874 #g/cm^3 ############################################################################## # Physics Generator ############################################################################## from Configurables import GenAlgo from Configurables import GtGunTool from Configurables import StdHepRdr from Configurables import SLCIORdr from Configurables import HepMCRdr from Configurables import GenPrinter gun = GtGunTool("GtGunTool") gun.Particles = ["proton"] gun.EnergyMins = [0.1] # GeV gun.EnergyMaxs = [100] # GeV gun.ThetaMins = [90] # rad; 45deg gun.ThetaMaxs = [90] # rad; 45deg gun.PhiMins = [0] # rad; 0deg gun.PhiMaxs = [0] # rad; 360deg # stdheprdr = StdHepRdr("StdHepRdr") # stdheprdr.Input = "/cefs/data/stdhep/CEPC250/2fermions/E250.Pbhabha.e0.p0.whizard195/bhabha.e0.p0.00001.stdhep" # lciordr = SLCIORdr("SLCIORdr") # lciordr.Input = "/cefs/data/stdhep/lcio250/signal/Higgs/E250.Pbbh.whizard195/E250.Pbbh_X.e0.p0.whizard195/Pbbh_X.e0.p0.00001.slcio" # hepmcrdr = HepMCRdr("HepMCRdr")
#geosvc.compact = geometry_path geosvc.compact = "./Detector/DetEcalMatrix/compact/det.xml" ############################################################################## # Physics Generator ############################################################################## from Configurables import GenAlgo from Configurables import GtGunTool from Configurables import StdHepRdr from Configurables import SLCIORdr from Configurables import HepMCRdr from Configurables import GenPrinter gun = GtGunTool("GtGunTool") gun.Particles = ["gamma", "gamma"] gun.EnergyMins = [5, 10] # GeV gun.EnergyMaxs = [5, 10] # GeV gun.ThetaMins = [90, 90] # degree gun.ThetaMaxs = [90, 90] # degree gun.PhiMins = [0, 4] # degree gun.PhiMaxs = [0, 4] # degree #stdheprdr = StdHepRdr("StdHepRdr") #stdheprdr.Input = "/cefs/data/stdhep/CEPC250/higgs/E250.Pbbh.whizard195/E250.Pbbh_X.e0.p0.whizard195/Pbbh_X.e0.p0.00001.stdhep" # lciordr = SLCIORdr("SLCIORdr") # lciordr.Input = "/cefs/data/stdhep/lcio250/signal/Higgs/E250.Pbbh.whizard195/E250.Pbbh_X.e0.p0.whizard195/Pbbh_X.e0.p0.00001.slcio" # hepmcrdr = HepMCRdr("HepMCRdr") # hepmcrdr.Input = "example_UsingIterators.txt"