Skip to content
Snippets Groups Projects
Commit 7d24c065 authored by Fabrizio Trovato's avatar Fabrizio Trovato
Browse files

Adding time monitoring step

parent 83306da3
No related branches found
No related tags found
No related merge requests found
......@@ -160,12 +160,12 @@ class TrigInDetCompStep(RefComparisonStep):
if (self.test=='ttbar'):
self.output_dir = self.output_dir+'-bjet'
elif (self.flag == 'L2tau'):
self.chains = 'HLT_tau25_idperf_tracktwo_L1TAU12IM:HLT_IDTrack_TauCore_FTF:HLT_Roi_TauCore'
self.chains = 'HLT_tau25_idperf_tracktwo_L1TAU12IM:HLT_IDTrack_TauCore_FTF'
self.output_dir = 'HLTL2-plots'
if (self.test=='ttbar'):
self.output_dir = self.output_dir+'-tau'
elif (self.flag == 'EFtau'):
self.chains = 'HLT_tau25_idperf_tracktwo_L1TAU12IM:HLT_IDTrack_TauCore_FTF:HLT_Roi_TauCore HLT_tau25_idperf_tracktwo_L1TAU12IM:HLT_IDTrack_Tau_IDTrig:HLT_TAURoI'
self.chains = 'HLT_tau25_idperf_tracktwo_L1TAU12IM:HLT_IDTrack_TauCore_FTF HLT_tau25_idperf_tracktwo_L1TAU12IM:HLT_IDTrack_Tau_IDTrig'
self.output_dir = 'HLTEF-plots'
if (self.test=='ttbar'):
self.output_dir = self.output_dir+'-tau'
......@@ -214,8 +214,8 @@ class TrigInDetCpuCostStep(RefComparisonStep):
#self.args += self.input_file+' '+self.ref_file+' '+' -o '+self.output_dir
if (self.reference == None):
# if not reference found, run with "--noref" option
self.args += ' {} --noref -o {} '.format(self.input_file,self.output_dir)
self.args += ' {} --noref -o {} -p TIME'.format(self.input_file,self.output_dir)
else:
self.args += ' {} {} -o {} '.format(self.input_file,self.reference,self.output_dir)
self.args += ' {} {} -o {} -p TIME'.format(self.input_file,self.reference,self.output_dir)
super(TrigInDetCpuCostStep, self).configure(test)
......@@ -54,7 +54,7 @@ for opt,arg in opts:
rdo2aod = TrigInDetReco()
rdo2aod.slices = ['muon','electron','tau','bjet']
rdo2aod.max_events = 2000
rdo2aod.max_events = 100
rdo2aod.threads = 1 # TODO: change to 4
rdo2aod.concurrent_events = 1 # TODO: change to 4
rdo2aod.perfmon = False
......@@ -119,17 +119,12 @@ comp8.flag='EFele'
comp8.test='ttbar'
test.check_steps.append(comp8)
comp9=TrigInDetCompStep('Comp_L2FS')
comp9.flag='L2FS'
comp9.test='ttbar'
test.check_steps.append(comp9)
# CPU cost steps
cpucost=TrigInDetCpuCostStep('CpuCostStep1')
test.check_steps.append(cpucost)
cpucost2=TrigInDetCpuCostStep('CpuCostStep2')
cpucost2.args += ' -p FastTrack'
cpucost2.args += ' -d TrigFastTrackFinder_Muon'
cpucost2.output_dir = 'times-FTF'
test.check_steps.append(cpucost2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment