Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 import DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi
0004 trackingMonHLT = DQM.TrackingMonitor.TrackerCollisionTrackingMonitor_cfi.TrackerCollisionTrackMon.clone(
0005     beamSpot                = "hltOnlineBeamSpot",
0006     primaryVertex           = "hltPixelVertices",
0007     doAllPlots              = False,
0008     doLumiAnalysis          = False,     
0009     #doProfilesVsLS          = True,
0010     doDCAPlots              = True,
0011     pvNDOF                  = 1,
0012     doProfilesVsLS          = True,
0013     #doPlotsVsGoodPVtx       = True,
0014     doEffFromHitPatternVsPU = True,
0015     doEffFromHitPatternVsBX = True,
0016     doEffFromHitPatternVsLUMI = True,
0017     doPlotsVsGoodPVtx       = True,
0018     doPlotsVsLUMI           = True,
0019     doPlotsVsBX             = True
0020 )
0021 pixelTracksMonitoringHLT = trackingMonHLT.clone(
0022     FolderName       = 'HLT/Tracking/pixelTracks',
0023     TrackProducer    = 'hltPixelTracks',
0024     allTrackProducer = 'hltPixelTracks',
0025     doEffFromHitPatternVsPU   = False,
0026     doEffFromHitPatternVsBX   = False,
0027     doEffFromHitPatternVsLUMI = False
0028 )
0029 iter0TracksMonitoringHLT = trackingMonHLT.clone(
0030     FolderName       = 'HLT/Tracking/iter0',
0031     TrackProducer    = 'hltIter0PFlowCtfWithMaterialTracks',
0032     allTrackProducer = 'hltIter0PFlowCtfWithMaterialTracks',
0033     doEffFromHitPatternVsPU   = True,
0034     doEffFromHitPatternVsBX   = False,
0035     doEffFromHitPatternVsLUMI = False
0036 )
0037 iter0HPTracksMonitoringHLT = trackingMonHLT.clone(
0038     FolderName       = 'HLT/Tracking/iter0HP',
0039     TrackProducer    = 'hltIter0PFlowTrackSelectionHighPurity',
0040     allTrackProducer = 'hltIter0PFlowTrackSelectionHighPurity',
0041     doEffFromHitPatternVsPU   = True,
0042     doEffFromHitPatternVsBX   = False,
0043     doEffFromHitPatternVsLUMI = False
0044 )
0045 iter1TracksMonitoringHLT = trackingMonHLT.clone(
0046     FolderName       = 'HLT/Tracking/iter1',
0047     TrackProducer    = 'hltIter1PFlowCtfWithMaterialTracks',
0048     allTrackProducer = 'hltIter1PFlowCtfWithMaterialTracks',
0049     doEffFromHitPatternVsPU   = True,
0050     doEffFromHitPatternVsBX   = False,
0051     doEffFromHitPatternVsLUMI = False
0052 )
0053 iter1HPTracksMonitoringHLT = trackingMonHLT.clone(
0054     FolderName       = 'HLT/Tracking/iter1HP',
0055     TrackProducer    = 'hltIter1PFlowTrackSelectionHighPurity',
0056     allTrackProducer = 'hltIter1PFlowTrackSelectionHighPurity',
0057     doEffFromHitPatternVsPU   = True,
0058     doEffFromHitPatternVsBX   = False,
0059     doEffFromHitPatternVsLUMI = False
0060 )
0061 iter2TracksMonitoringHLT = trackingMonHLT.clone(
0062     FolderName       = 'HLT/Tracking/iter2',
0063     TrackProducer    = 'hltIter2PFlowCtfWithMaterialTracks',
0064     allTrackProducer = 'hltIter2PFlowCtfWithMaterialTracks',
0065     doEffFromHitPatternVsPU   = True,
0066     doEffFromHitPatternVsBX   = False,
0067     doEffFromHitPatternVsLUMI = False
0068 )
0069 iter2HPTracksMonitoringHLT = trackingMonHLT.clone(
0070     FolderName       = 'HLT/Tracking/iter2HP',
0071     TrackProducer    = 'hltIter2PFlowTrackSelectionHighPurity',
0072     allTrackProducer = 'hltIter2PFlowTrackSelectionHighPurity',
0073     doEffFromHitPatternVsPU   = True,
0074     doEffFromHitPatternVsBX   = False,
0075     doEffFromHitPatternVsLUMI = False
0076 )
0077 iter2MergedTracksMonitoringHLT = trackingMonHLT.clone(
0078     FolderName       = 'HLT/Tracking/iter2Merged',
0079     TrackProducer    = 'hltIter2Merged',
0080     allTrackProducer = 'hltIter2Merged',
0081     doEffFromHitPatternVsPU   = True,
0082     doEffFromHitPatternVsBX   = False,
0083     doEffFromHitPatternVsLUMI = False
0084 )
0085 iterHLTTracksMonitoringHLT = trackingMonHLT.clone(
0086     FolderName       = 'HLT/Tracking/tracks',
0087     TrackProducer    = 'hltMergedTracks',
0088     allTrackProducer = 'hltMergedTracks',
0089     doEffFromHitPatternVsPU   = True,
0090     doEffFromHitPatternVsBX   = True,
0091     doEffFromHitPatternVsLUMI = True,
0092     doDCAPlots                = True,
0093     doPVPlots                 = cms.bool(True),
0094     doBSPlots                 = cms.bool(True),
0095     doSIPPlots                = cms.bool(True)
0096 )
0097 iter3TracksMonitoringHLT = trackingMonHLT.clone(
0098     FolderName       = 'HLT/Tracking/iter3Merged',
0099     TrackProducer    = 'hltIter3Merged',
0100     allTrackProducer = 'hltIter3Merged'
0101 )
0102 iter4TracksMonitoringHLT = trackingMonHLT.clone(
0103     FolderName       = 'HLT/Tracking/iter4Merged',
0104     TrackProducer    = 'hltIter4Merged',
0105     allTrackProducer = 'hltIter4Merged'
0106 )
0107 trackingMonitorHLT = cms.Sequence(
0108     pixelTracksMonitoringHLT
0109     + iter0HPTracksMonitoringHLT
0110 #    + iter1HPTracksMonitoringHLT
0111 #    + iter2HPTracksMonitoringHLT
0112     + iter2MergedTracksMonitoringHLT
0113     + iterHLTTracksMonitoringHLT
0114 )    
0115 
0116 trackingMonitorHLTall = cms.Sequence(
0117     pixelTracksMonitoringHLT
0118     + iter0TracksMonitoringHLT
0119     + iter0HPTracksMonitoringHLT
0120     + iter1TracksMonitoringHLT
0121     + iter1HPTracksMonitoringHLT
0122     + iter2TracksMonitoringHLT
0123     + iter2HPTracksMonitoringHLT
0124     + iter2MergedTracksMonitoringHLT
0125     + iterHLTTracksMonitoringHLT
0126 #    + iter3TracksMonitoringHLT
0127 #    + iter4TracksMonitoringHLT
0128 )    
0129 
0130 ############
0131 #### EGM tracks
0132 # GSF: hltEgammaGsfTracks
0133 # Iter0: process.hltIter0ElectronsTrackSelectionHighPurity
0134 # Iter1HP: hltIter1MergedForElectrons
0135 # Iter2HP: hltIter2MergedForElectrons
0136 egmTrackingMonHLT = trackingMonHLT.clone(
0137     primaryVertex = "hltElectronsVertex",
0138     doEffFromHitPatternVsPU   = False,
0139     doEffFromHitPatternVsBX   = False,
0140     doEffFromHitPatternVsLUMI = False 
0141 )
0142 gsfTracksMonitoringHLT = egmTrackingMonHLT.clone(
0143     FolderName       = 'HLT/EGM/Tracking/GSF',
0144     TrackProducer    = 'hltEgammaGsfTracks',
0145     allTrackProducer = 'hltEgammaGsfTracks'
0146 )
0147 pixelTracksForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
0148     FolderName       = 'HLT/EGM/Tracking/pixelTracks',
0149     TrackProducer    = 'hltPixelTracksElectrons',
0150     allTrackProducer = 'hltPixelTracksElectrons'
0151 )
0152 iter0ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
0153     FolderName       = 'HLT/EGM/Tracking/iter0',
0154     TrackProducer    = 'hltIter0ElectronsCtfWithMaterialTracks',
0155     allTrackProducer = 'hltIter0ElectronsCtfWithMaterialTracks'
0156 )
0157 iter0HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
0158     FolderName       = 'HLT/EGM/Tracking/iter0HP',
0159     TrackProducer    = 'hltIter0ElectronsTrackSelectionHighPurity',
0160     allTrackProducer = 'hltIter0ElectronsTrackSelectionHighPurity'
0161 )
0162 iter1ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
0163     FolderName       = 'HLT/EGM/Tracking/iter1',
0164     TrackProducer    = 'hltIter1ElectronsCtfWithMaterialTracks',
0165     allTrackProducer = 'hltIter1ElectronsCtfWithMaterialTracks'
0166 )
0167 iter1HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
0168     FolderName       = 'HLT/EGM/Tracking/iter1HP',
0169     TrackProducer    = 'hltIter1ElectronsTrackSelectionHighPurity',
0170     allTrackProducer = 'hltIter1ElectronsTrackSelectionHighPurity'
0171 )
0172 iter1MergedForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
0173     FolderName       = 'HLT/EGM/Tracking/iter1Merged',
0174     TrackProducer    = 'hltIter1MergedForElectrons',
0175     allTrackProducer = 'hltIter1MergedForElectrons'
0176 )
0177 iter2ForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
0178     FolderName       = 'HLT/EGM/Tracking/iter2',
0179     TrackProducer    = 'hltIter2ElectronsCtfWithMaterialTracks',
0180     allTrackProducer = 'hltIter2ElectronsCtfWithMaterialTracks'
0181 )
0182 iter2HPForElectronsTracksMonitoringHLT = egmTrackingMonHLT.clone(
0183     FolderName       = 'HLT/EGM/Tracking/iter2HP',
0184     TrackProducer    = 'hltIter2ElectronsTrackSelectionHighPurity',
0185     allTrackProducer = 'hltIter2ElectronsTrackSelectionHighPurity'
0186 )
0187 iterHLTTracksForElectronsMonitoringHLT = egmTrackingMonHLT.clone(
0188     FolderName       = 'HLT/EGM/Tracking/iter2Merged',
0189     TrackProducer    = 'hltIter2MergedForElectrons',
0190     allTrackProducer = 'hltIter2MergedForElectrons'
0191 )
0192 
0193 egmTrackingMonitorHLT = cms.Sequence(
0194     gsfTracksMonitoringHLT
0195     + pixelTracksForElectronsTracksMonitoringHLT
0196     + iter0HPForElectronsTracksMonitoringHLT
0197 #    + iter1HPForElectronsTracksMonitoringHLT
0198 #    + iter2HPForElectronsTracksMonitoringHLT
0199     + iterHLTTracksForElectronsMonitoringHLT
0200 )
0201 
0202 trkHLTDQMSourceExtra = cms.Sequence(
0203 )
0204 
0205 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0206 run3_common.toReplaceWith(trackingMonitorHLT, cms.Sequence(pixelTracksMonitoringHLT + iterHLTTracksMonitoringHLT))
0207 run3_common.toReplaceWith(trackingMonitorHLTall, cms.Sequence(pixelTracksMonitoringHLT + iter0TracksMonitoringHLT + iterHLTTracksMonitoringHLT))
0208 run3_common.toReplaceWith(egmTrackingMonitorHLT, cms.Sequence(gsfTracksMonitoringHLT))