Skip to content

Commit

Permalink
update templates to run multi-threaded
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Dec 1, 2022
1 parent 54ad1fd commit c65bf5a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Alignment/OfflineValidation/test/PVValidation_T_cfg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import print_function
import FWCore.ParameterSet.Config as cms
from enum import Enum
import sys
Expand All @@ -16,6 +15,11 @@ class RefitType(Enum):

process = cms.Process("PrimaryVertexValidation")

###################################################################
# Set the process to run multi-threaded
###################################################################
process.options.numberOfThreads = 8

###################################################################
def customiseAlignmentAndAPE(process):
###################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@
here doing refit of tracks and vertices using latest alignment
'''

from __future__ import print_function
import FWCore.ParameterSet.Config as cms
from fnmatch import fnmatch
import FWCore.ParameterSet.VarParsing as VarParsing
from pdb import set_trace

process = cms.Process("PrimaryVertexResolution")

###################################################################
# Set the process to run multi-threaded
###################################################################
process.options.numberOfThreads = 8

###################################################################
def best_match(rcd):
###################################################################
Expand Down

0 comments on commit c65bf5a

Please sign in to comment.