Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-09 23:30:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # tracking monitor
0004 from DQMOffline.Trigger.TrackingMonitoring_Client_cff import *
0005 
0006 trackingEffFromHitPatternHLT = trackingEffFromHitPattern.clone(
0007 subDirs = (
0008    "HLT/Tracking/pixelTracks/HitEffFromHitPattern*",
0009    "HLT/Tracking/iter2Merged/HitEffFromHitPattern*",
0010    "HLT/Tracking/tracks/HitEffFromHitPattern*"
0011 )
0012 )
0013 # Sequence
0014 trackingMonitorClientHLT = cms.Sequence(
0015     trackingEffFromHitPatternHLT
0016 )
0017 
0018 # EGM tracking
0019 trackingForElectronsEffFromHitPatternHLT = trackingEffFromHitPattern.clone(
0020 subDirs = (
0021    "HLT/EGM/Tracking/GSF/HitEffFromHitPattern*",
0022    "HLT/EGM/Tracking/pixelTracks/HitEffFromHitPattern*",
0023    "HLT/EGM/Tracking/iter2Merged/HitEffFromHitPattern*"
0024 )
0025 )
0026 # Sequence
0027 trackingForElectronsMonitorClientHLT = cms.Sequence(
0028     trackingForElectronsEffFromHitPatternHLT
0029 )
0030 
0031 def _modifyForRun3Default(efffromhitpattern):
0032     efffromhitpattern.subDirs = ["HLT/Tracking/pixelTracks/HitEffFromHitPattern*", "HLT/Tracking/tracks/HitEffFromHitPattern*"]
0033 
0034 def _modifyForRun3EGM(efffromhitpattern):
0035     efffromhitpattern.subDirs = ["HLT/EGM/Tracking/GSF/HitEffFromHitPattern*"]
0036 
0037 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0038 run3_common.toModify(trackingEffFromHitPatternHLT, _modifyForRun3Default)
0039 run3_common.toModify(trackingForElectronsEffFromHitPatternHLT, _modifyForRun3EGM)