You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c282b7b
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: shipLHC/run_simSND.py
+48Lines changed: 48 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -60,6 +60,8 @@
60
60
parser.add_argument("--NagoyaEmu","--useNagoyaEmulsions",dest="useNagoyaEmulsions",help="use bricks of 57 Nagoya emulsion films instead of 60 Slavich", required=False,action="store_true")
61
61
parser.add_argument("-y", dest="year", help="specify the year to generate the respective TI18 detector setup", required=False, type=int, default=2024)
62
62
63
+
parser.add_argument("--dataProfile", dest="dataProfile", help="Path to the ROOT file with Ntuple data", required=False)
64
+
#parser.add_argument("--matrixFile", dest="matrixFile", help="Path to the file with matrix particle counts", required=True, type=str)
63
65
options=parser.parse_args()
64
66
65
67
# user hook
@@ -166,6 +168,7 @@ def Exec(self,opt):
166
168
primGen=ROOT.FairPrimaryGenerator()
167
169
168
170
# -----Particle Gun-----------------------
171
+
169
172
ifsimEngine=="PG":
170
173
myPgun=ROOT.FairBoxGenerator(options.pID,1)
171
174
myPgun.SetPRange(options.Estart,options.Eend)
@@ -191,7 +194,52 @@ def Exec(self,opt):
191
194
f'({options.EVx},{options.EVy},{options.EVz})[cm × cm × cm] \n'
192
195
f'with a uniform x-y spread of (Dx,Dy)=({options.Dx},{options.Dy})[cm × cm]'
193
196
f' and {options.nZSlices} z slices in steps of {options.zSliceStep}[cm].')
197
+
194
198
ROOT.FairLogger.GetLogger().SetLogScreenLevel("WARNING") # otherwise stupid printout for each event
0 commit comments