Skip to content

Commit

Permalink
Merge pull request #39733 from srimanob/126_HGCALHLTPSetUpdate
Browse files Browse the repository at this point in the history
Update Phase-2 Tracker and HGCAL HLT config files
  • Loading branch information
cmsbuild committed Oct 17, 2022
2 parents 37be765 + e947b31 commit b065a53
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 17 deletions.
Expand Up @@ -1336,6 +1336,23 @@ def condition(self, fragment, stepList, key, hasHarvest):
offset = 0.75,
)

class UpgradeWorkflow_HLTwDIGI75e33(UpgradeWorkflow):
def setup_(self, step, stepName, stepDict, k, properties):
if 'DigiTrigger' in step:
stepDict[stepName][k] = merge([{'-s':'DIGI:pdigi_valid,L1TrackTrigger,L1,DIGI2RAW,HLT:@relval2026'}, stepDict[step][k]])
def condition(self, fragment, stepList, key, hasHarvest):
return fragment=="TTbar_14TeV" and '2026' in key
upgradeWFs['HLTwDIGI75e33'] = UpgradeWorkflow_HLTwDIGI75e33(
steps = [
'DigiTrigger',
],
PU = [
'DigiTrigger',
],
suffix = '_HLTwDIGI75e33',
offset = 0.76,
)

class UpgradeWorkflow_Neutron(UpgradeWorkflow):
def setup_(self, step, stepName, stepDict, k, properties):
if 'GenSim' in step:
Expand Down
@@ -1,7 +1,4 @@
import FWCore.ParameterSet.Config as cms

siPhase2Clusters = cms.EDProducer("Phase2TrackerClusterizer",
maxClusterSize = cms.uint32(0),
maxNumberClusters = cms.uint32(0),
src = cms.InputTag("mix","Tracker")
)
from RecoLocalTracker.SiPhase2Clusterizer.phase2TrackerClusterizer_cfi import siPhase2Clusters as _siPhase2Clusters
siPhase2Clusters = _siPhase2Clusters.clone()
@@ -1,8 +1,4 @@
import FWCore.ParameterSet.Config as cms

HGCAL_noise_fC = cms.PSet(
doseMap = cms.string(''),
scaleByDose = cms.bool(False),
scaleByDoseAlgo = cms.uint32(0),
values = cms.vdouble(0.32041012, 0.384492144, 0.32041012)
)
from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import HGCAL_noise_fC as _HGCAL_noise_fC
HGCAL_noise_fC = _HGCAL_noise_fC.clone()
@@ -1,8 +1,4 @@
import FWCore.ParameterSet.Config as cms

HGCAL_noise_heback = cms.PSet(
doseMap = cms.string(''),
noise_MIP = cms.double(0.01),
scaleByDose = cms.bool(False),
scaleByDoseAlgo = cms.uint32(0)
)
from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import HGCAL_noise_heback as _HGCAL_noise_heback
HGCAL_noise_heback = _HGCAL_noise_heback.clone()

0 comments on commit b065a53

Please sign in to comment.