Skip to content

Commit

Permalink
removing local test edits
Browse files Browse the repository at this point in the history
  • Loading branch information
wonyongc committed Dec 13, 2024
1 parent 49f88ef commit 1f5c3e0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 159 deletions.
2 changes: 1 addition & 1 deletion FCCee/IDEA/compact/IDEA_o2_v01/IDEA_o2_v01.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<include ref="../IDEA_o1_v03/VertexComplete_IDEA_o1_v03.xml"/>

<!-- Import drift chamber -->
<!-- <include ref="../IDEA_o1_v03/DriftChamber_o1_v02.xml"/> -->
<include ref="../IDEA_o1_v03/DriftChamber_o1_v02.xml"/>

<!-- Import silicon wrapper -->
<include ref="../IDEA_o1_v03/SiliconWrapper_o1_v03.xml"/>
Expand Down
20 changes: 10 additions & 10 deletions example/SteeringFile_IDEA_o2_v01.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
SIM = DD4hepSimulation()

## The compact XML file, or multiple compact files, if the last one is the closer.
SIM.compactFile = ["FCCee/IDEA/compact/IDEA_o2_v01/IDEA_o2_v01.xml"]
SIM.compactFile = ["../FCCee/IDEA/compact/IDEA_o2_v01/IDEA_o2_v01.xml"]
## Lorentz boost for the crossing angle, in radian!
SIM.crossingAngleBoost = 0.0
SIM.enableDetailedShowerMode = False
SIM.enableG4GPS = False
SIM.enableG4Gun = False
SIM.enableGun = True
## InputFiles for simulation .stdhep, .slcio, .HEPEvt, .hepevt, .pairs, .hepmc, .hepmc.gz, .hepmc.xz, .hepmc.bz2, .hepmc3, .hepmc3.gz, .hepmc3.xz, .hepmc3.bz2, .hepmc3.tree.root files are supported
SIM.inputFiles = ["/home/wonyongc/src/calvision/SCEPCal-public/examples/wzp6_ee_ZZ_test_ecm240_1k.stdhep"]
SIM.inputFiles = []
## Macro file to execute for runType 'run' or 'vis'
SIM.macroFile = ""
## number of events to simulate, used in batch mode
SIM.numberOfEvents = 1
SIM.numberOfEvents = 10
## Outputfile from the simulation: .slcio, edm4hep.root and .root output files are supported
SIM.outputFile = "IDEA_o2_v01.root"
## Physics list to use in simulation
Expand Down Expand Up @@ -104,8 +104,8 @@
SIM.action.calorimeterSDTypes = ["calorimeter"]

## Replace SDAction for subdetectors
SIM.action.mapActions = { 'SCEPCal' : "SCEPCalSDAction_DRHit",
'DREndcapTubes' : "DRTubesSDAction" }
SIM.action.mapActions["DREndcapTubes"] = "DRTubesSDAction"
SIM.action.mapActions["SCEPCal"] = "SCEPCalSDAction_DRHit"

## Configure the regexSD for DREndcapTubes subdetector
SIM.geometry.regexSensitiveDetector["DREndcapTubes"] = {
Expand Down Expand Up @@ -245,7 +245,7 @@
################################################################################

## direction of the particle gun, 3 vector
SIM.gun.direction = (0, 0, 0)
SIM.gun.direction = (0, 0, 1)

## choose the distribution of the random direction for theta
##
Expand Down Expand Up @@ -279,10 +279,10 @@
SIM.gun.isotrop = False

## Maximal momentum when using distribution (default = 0.0)
SIM.gun.momentumMax = 10.0*GeV
SIM.gun.momentumMax = 10000.0

## Minimal momentum when using distribution (default = 0.0)
SIM.gun.momentumMin = 10.0*GeV
SIM.gun.momentumMin = 0.0
SIM.gun.multiplicity = 1
SIM.gun.particle = "e-"

Expand Down Expand Up @@ -527,7 +527,7 @@ def setupEDM4hepOutputDR(dd4hepSimulation):

## Set of Generator Statuses that are used to mark unstable particles that should decay inside of Geant4.
##
# SIM.physics.alternativeDecayStatuses = set()
SIM.physics.alternativeDecayStatuses = set()

## If true, add decay processes for all particles.
##
Expand Down Expand Up @@ -609,7 +609,7 @@ def setupCerenkov(kernel):

seq = kernel.physicsList()
cerenkov = PhysicsList(kernel, "Geant4CerenkovPhysics/CerenkovPhys")
cerenkov.MaxNumPhotonsPerStep = 100
cerenkov.MaxNumPhotonsPerStep = 1000
# cerenkov.MaxBetaChangePerStep = 10.0
# cerenkov.TrackSecondariesFirst = True
cerenkov.VerboseLevel = 0
Expand Down
148 changes: 0 additions & 148 deletions example/scepcal_steering.py

This file was deleted.

0 comments on commit 1f5c3e0

Please sign in to comment.