コード例 #1
0
    sys.exit(-1)

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")
コード例 #2
0
ファイル: tut_detsim_SDT.py プロジェクト: zhaomr13/CEPCSW
from Configurables import GeoSvc
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 = ["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")
コード例 #3
0
from Configurables import GeoSvc

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"
コード例 #4
0
dedxsvc.scale = 1
dedxsvc.resolution = 0.01
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"
コード例 #5
0
ファイル: detsim_pi.py プロジェクト: qwert2333/CEPCSW
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., 5] # GeV
#gun.EnergyMaxs = [5., 5] # GeV
#gun.ThetaMins = [91,  91. ] # rad; 45deg
#gun.ThetaMaxs = [100, 100.] # rad; 45deg
#gun.PhiMins = [-10, -10] # rad; 0deg
#gun.PhiMaxs = [0,  -0] # rad; 360deg

gun = GtGunTool("GtGunTool")
gun.Particles = ["gamma"]
gun.PositionXs = [0.]  # mm
gun.PositionYs = [0.]  # mm
gun.PositionZs = [30.]  # mm
gun.EnergyMins = [10.]  # GeV
gun.EnergyMaxs = [10.]  # 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")