Skip to content

Commit 06806d3

Browse files
committed
Adjust TPC reco setting to change in O2
1 parent 24fb51c commit 06806d3

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

MC/bin/o2dpg_sim_workflow.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,6 @@ def addWhenActive(detID, needslist, appendstring):
187187
BFIELD=args.field
188188
RNDSEED=args.seed # 0 means random seed ! Should we set different seed for Bkg and signal?
189189

190-
Q2PTCUTOFF=20 # nominal q/Pt cut-off for TPC
191-
if BFIELD == 'ccdb':
192-
# a hack valid for pilot beam (but TPC will calc this internally in the future)
193-
Q2PTCUTOFF*=5/abs(float(2.));
194-
elif float(BFIELD)!=0:
195-
Q2PTCUTOFF*=5/abs(float(BFIELD));
196-
197190
workflow={}
198191
workflow['stages'] = []
199192

@@ -720,7 +713,7 @@ def getDigiTaskName(det):
720713
tpcreconeeds.append(tpcclus['name'])
721714

722715
TPCRECOtask=createTask(name='tpcreco_'+str(tf), needs=tpcreconeeds, tf=tf, cwd=timeframeworkdir, lab=["RECO"], relative_cpu=3/8, mem='16000')
723-
TPCRECOtask['cmd'] = '${O2_ROOT}/bin/o2-tpc-reco-workflow ' + getDPL_global_options(bigshm=True) + ' --input-type clusters --output-type tracks,send-clusters-per-sector ' + putConfigValuesNew(["GPU_global"], {"GPU_proc.ompThreads":NWORKERS, "GPU_rec.maxTrackQPt":Q2PTCUTOFF })
716+
TPCRECOtask['cmd'] = '${O2_ROOT}/bin/o2-tpc-reco-workflow ' + getDPL_global_options(bigshm=True) + ' --input-type clusters --output-type tracks,send-clusters-per-sector ' + putConfigValuesNew(["GPU_global"], {"GPU_proc.ompThreads":NWORKERS})
724717
workflow['stages'].append(TPCRECOtask)
725718

726719
ITSConfig = {"ITSClustererParam.dictFilePath":"../"}

0 commit comments

Comments
 (0)