def customise_DQM(process, pileup):
    # We cut down the number of iterative tracking steps
    #    process.dqmoffline_step.remove(process.TrackMonStep3)
    #    process.dqmoffline_step.remove(process.TrackMonStep4)
    #    process.dqmoffline_step.remove(process.TrackMonStep5)
    #    process.dqmoffline_step.remove(process.TrackMonStep6)
    #The following two steps were removed
    #process.PixelLessStep*
    #process.TobTecStep*
    #    process.dqmoffline_step.remove(process.muonAnalyzer)
    process.dqmoffline_step.remove(process.jetMETAnalyzer)
    #    process.dqmoffline_step.remove(process.TrackMonStep9)
    #    process.dqmoffline_step.remove(process.TrackMonStep10)
    #    process.dqmoffline_step.remove(process.PixelTrackingRecHitsValid)

    #put isUpgrade flag==true
    process.SiPixelRawDataErrorSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelDigiSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelClusterSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelRecHitSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelTrackResidualSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelHitEfficiencySource.isUpgrade = cms.untracked.bool(True)

    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU140
    process = customise_trackMon_IterativeTracking_PHASE1PU140(process)
    process.dqmoffline_step.remove(process.Phase1Pu70TrackMonStep2)
    process.dqmoffline_step.remove(process.Phase1Pu70TrackMonStep4)
    process.globalrechitsanalyze.ROUList = cms.vstring(
        'g4SimHitsTrackerHitsPixelBarrelLowTof',
        'g4SimHitsTrackerHitsPixelBarrelHighTof',
        'g4SimHitsTrackerHitsPixelEndcapLowTof',
        'g4SimHitsTrackerHitsPixelEndcapHighTof')
    return process
Exemple #2
0
def customise_DQM(process,pileup):
    # We cut down the number of iterative tracking steps
#    process.dqmoffline_step.remove(process.TrackMonStep3)
#    process.dqmoffline_step.remove(process.TrackMonStep4)
#    process.dqmoffline_step.remove(process.TrackMonStep5)
#    process.dqmoffline_step.remove(process.TrackMonStep6)
    #
    process.dqmoffline_step.remove(process.muonAnalyzer)
    process.dqmoffline_step.remove(process.jetMETAnalyzer)
#    process.dqmoffline_step.remove(process.TrackMonStep9)
#    process.dqmoffline_step.remove(process.TrackMonStep10)
#    process.dqmoffline_step.remove(process.PixelTrackingRecHitsValid)

    #put isUpgrade flag==true
    process.SiPixelRawDataErrorSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelDigiSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelClusterSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelRecHitSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelTrackResidualSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelHitEfficiencySource.isUpgrade = cms.untracked.bool(True)

    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU140
    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU70

    if pileup>100:
        process=customise_trackMon_IterativeTracking_PHASE1PU140(process)
    else:
        process=customise_trackMon_IterativeTracking_PHASE1PU70(process)
    return process
def customise_DQM(process,pileup):
    # We cut down the number of iterative tracking steps
#    process.dqmoffline_step.remove(process.TrackMonStep3)
#    process.dqmoffline_step.remove(process.TrackMonStep4)
#    process.dqmoffline_step.remove(process.TrackMonStep5)
#    process.dqmoffline_step.remove(process.TrackMonStep6)
    			    #The following two steps were removed
                            #process.PixelLessStep*
                            #process.TobTecStep*
#    process.dqmoffline_step.remove(process.muonAnalyzer)
    process.dqmoffline_step.remove(process.jetMETAnalyzer)
#    process.dqmoffline_step.remove(process.TrackMonStep9)
#    process.dqmoffline_step.remove(process.TrackMonStep10)
#    process.dqmoffline_step.remove(process.PixelTrackingRecHitsValid)

    #put isUpgrade flag==true
    process.SiPixelRawDataErrorSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelDigiSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelClusterSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelRecHitSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelTrackResidualSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelHitEfficiencySource.isUpgrade = cms.untracked.bool(True)
    
    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU140
    process=customise_trackMon_IterativeTracking_PHASE1PU140(process)
    process.dqmoffline_step.remove(process.Phase1Pu70TrackMonStep2)
    process.dqmoffline_step.remove(process.Phase1Pu70TrackMonStep4)
    process.globalrechitsanalyze.ROUList = cms.vstring(
       'g4SimHitsTrackerHitsPixelBarrelLowTof', 
       'g4SimHitsTrackerHitsPixelBarrelHighTof', 
       'g4SimHitsTrackerHitsPixelEndcapLowTof', 
       'g4SimHitsTrackerHitsPixelEndcapHighTof')
    return process
def customise_DQM(process,pileup):
    # We cut down the number of iterative tracking steps
#    process.dqmoffline_step.remove(process.TrackMonStep3)
#    process.dqmoffline_step.remove(process.TrackMonStep4)
#    process.dqmoffline_step.remove(process.TrackMonStep5)
#    process.dqmoffline_step.remove(process.TrackMonStep6)
    #
    process.dqmoffline_step.remove(process.muonAnalyzer)
    process.dqmoffline_step.remove(process.jetMETAnalyzer)
#    process.dqmoffline_step.remove(process.TrackMonStep9)
#    process.dqmoffline_step.remove(process.TrackMonStep10)
#    process.dqmoffline_step.remove(process.PixelTrackingRecHitsValid)

    #put isUpgrade flag==true
    process.SiPixelRawDataErrorSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelDigiSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelClusterSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelRecHitSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelTrackResidualSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelHitEfficiencySource.isUpgrade = cms.untracked.bool(True)

    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU140
    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU70

    if pileup>100:
        process=customise_trackMon_IterativeTracking_PHASE1PU140(process)
    else:
        process=customise_trackMon_IterativeTracking_PHASE1PU70(process)
    return process
Exemple #5
0
def customise_DQM(process, pileup):
    # Ok, this customization does not work currently at all
    # Need to be fixed before the tracking DQM can be enabled
    return process

    # We cut down the number of iterative tracking steps
    if not eras.phase1Pixel.isChosen():  # these were migrated in #12459
        process.dqmoffline_step.remove(process.muonAnalyzer)
        #process.dqmoffline_step.remove(process.jetMETAnalyzer)

    #put isUpgrade flag==true
    if not eras.phase1Pixel.isChosen():  # these were migrated in #12459
        process.SiPixelRawDataErrorSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelDigiSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelClusterSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelRecHitSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelTrackResidualSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelHitEfficiencySource.isUpgrade = cms.untracked.bool(True)

    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU140
    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU70

    if pileup > 100:
        process = customise_trackMon_IterativeTracking_PHASE1PU140(process)
    else:
        process = customise_trackMon_IterativeTracking_PHASE1PU70(process)
    return process
Exemple #6
0
def customise_DQM(process,pileup):
    # FIXME
    #
    # These should be added back once somebody checks that they work,
    # and those that do not, get fixed
    #
    # The customizations are done here instead of in the central files
    # with era because they are temporary

    # Tracking DQM needs to be migrated for phase1
    process.DQMOfflinePrePOG.remove(process.TrackingDQMSourceTier0)
    process.DQMOfflineTracking.remove(process.TrackingDQMSourceTier0Common)

    # Pixel DQM needs to be updated for phase1
    process.DQMOfflinePreDPG.remove(process.siPixelOfflineDQM_source)

    # Doesn't work because TriggerResults::HLT is missing
    process.muonAnalyzer.remove(process.muonRecoOneHLT)

    # Excessive printouts because 2017 doesn't have HLT yet
    process.SiStripDQMTier0.remove(process.MonitorTrackResiduals)
    process.SiStripDQMTier0MinBias.remove(process.MonitorTrackResiduals)
    process.jetMETDQMOfflineSource.remove(process.jetDQMAnalyzerSequence)
    process.jetMETDQMOfflineSource.remove(process.METDQMAnalyzerSequence)
    process.dqmPhysics.remove(process.ewkMuDQM)
    process.dqmPhysics.remove(process.ewkElecDQM)
    process.dqmPhysics.remove(process.ewkMuLumiMonitorDQM)
    process.DQMOfflinePrePOG.remove(process.pfTauRunDQMValidation)

    # No HLT yet for 2017, so no need to run the DQM (avoiding excessive printouts)
    process.DQMOffline.remove(process.HLTMonitoring)
    process.DQMOfflinePrePOG.remove(process.triggerOfflineDQMSource)

    # Ok, this customization does not work currently at all
    # Need to be fixed before the tracking DQM can be enabled
    return process

    # We cut down the number of iterative tracking steps
    if not eras.phase1Pixel.isChosen(): # these were migrated in #12459
        process.dqmoffline_step.remove(process.muonAnalyzer)
        #process.dqmoffline_step.remove(process.jetMETAnalyzer)

    #put isUpgrade flag==true
    if not eras.phase1Pixel.isChosen(): # these were migrated in #12459
        process.SiPixelRawDataErrorSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelDigiSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelClusterSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelRecHitSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelTrackResidualSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelHitEfficiencySource.isUpgrade = cms.untracked.bool(True)

    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU140
    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU70

    if pileup>100:
        process=customise_trackMon_IterativeTracking_PHASE1PU140(process)
    else:
        process=customise_trackMon_IterativeTracking_PHASE1PU70(process)
    return process
def customise_DQM(process,pileup):
    # FIXME
    #
    # These should be added back once somebody checks that they work,
    # and those that do not, get fixed
    #
    # The customizations are done here instead of in the central files
    # with era because they are temporary
    process.DQMOfflinePrePOG.remove(process.TrackingDQMSourceTier0)
    process.DQMOfflinePrePOG.remove(process.muonMonitors)
    process.DQMOfflinePrePOG.remove(process.jetMETDQMOfflineSource)
    process.DQMOfflinePrePOG.remove(process.egammaDQMOffline)
    process.DQMOfflinePrePOG.remove(process.triggerOfflineDQMSource)
    process.DQMOfflinePrePOG.remove(process.bTagPlotsDATA)
    process.DQMOfflinePrePOG.remove(process.alcaBeamMonitor)
    process.DQMOfflinePrePOG.remove(process.dqmPhysics)
    process.DQMOfflinePrePOG.remove(process.produceDenoms)
    process.DQMOfflinePrePOG.remove(process.pfTauRunDQMValidation)

    process.DQMOffline.remove(process.DQMOfflinePreDPG)
    process.DQMOffline.remove(process.HLTMonitoring)

    process.DQMOfflineTracking.remove(process.TrackingDQMSourceTier0Common)

    # Ok, this customization does not work currently at all
    # Need to be fixed before the tracking DQM can be enabled
    return process

    # We cut down the number of iterative tracking steps
    if not eras.phase1Pixel.isChosen(): # these were migrated in #12459
        process.dqmoffline_step.remove(process.muonAnalyzer)
        #process.dqmoffline_step.remove(process.jetMETAnalyzer)

    #put isUpgrade flag==true
    if not eras.phase1Pixel.isChosen(): # these were migrated in #12459
        process.SiPixelRawDataErrorSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelDigiSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelClusterSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelRecHitSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelTrackResidualSource.isUpgrade = cms.untracked.bool(True)
        process.SiPixelHitEfficiencySource.isUpgrade = cms.untracked.bool(True)

    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU140
    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU70

    if pileup>100:
        process=customise_trackMon_IterativeTracking_PHASE1PU140(process)
    else:
        process=customise_trackMon_IterativeTracking_PHASE1PU70(process)
    return process
def trackerValidationCustomise_DQM(process,phase,pileup):

    if hasattr(process.dqmoffline_step,"muonAnalyzer") :
        process.dqmoffline_step.remove(process.muonAnalyzer)
    process.dqmoffline_step.remove(process.jetMETAnalyzer)

    #put isUpgrade flag==true
    process.SiPixelRawDataErrorSource.isUpgrade  = cms.untracked.bool(True)
    process.SiPixelDigiSource.isUpgrade          = cms.untracked.bool(True)
    process.SiPixelClusterSource.isUpgrade       = cms.untracked.bool(True)
    process.SiPixelRecHitSource.isUpgrade        = cms.untracked.bool(True)
    process.SiPixelTrackResidualSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelHitEfficiencySource.isUpgrade = cms.untracked.bool(True)

    if phase==1 :

        from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU140
        from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU70

        if pileup>0 :
            if pileup>100:
                process=customise_trackMon_IterativeTracking_PHASE1PU140(process)
            else:
                process=customise_trackMon_IterativeTracking_PHASE1PU70(process)

    elif phase==2 :
        # We cut down the number of iterative tracking steps [no RECO so far]
        process.dqmoffline_step.remove(process.dedxDQMHarm2SP)
        process.dqmoffline_step.remove(process.dedxDQMHarm2SO)
        process.dqmoffline_step.remove(process.dedxDQMHarm2PO)
        process.dqmoffline_step.remove(process.dEdxMonCommon)
        process.dqmoffline_step.remove(process.TrackMonStep0)
        process.dqmoffline_step.remove(process.TrackMonStep1)
        process.dqmoffline_step.remove(process.TrackMonStep2)
        process.dqmoffline_step.remove(process.TrackMonStep3)
        process.dqmoffline_step.remove(process.TrackMonStep4)
        process.dqmoffline_step.remove(process.TrackMonStep5)
        process.dqmoffline_step.remove(process.TrackMonStep6)
        process.dqmoffline_step.remove(process.TrackMonStep9)
        process.dqmoffline_step.remove(process.TrackMonStep10)

    return process
Exemple #9
0
def customise_DQM(process, pileup):
    # We cut down the number of iterative tracking steps
    #    process.dqmoffline_step.remove(process.TrackMonStep3)
    #    process.dqmoffline_step.remove(process.TrackMonStep4)
    #    process.dqmoffline_step.remove(process.TrackMonStep5)
    #    process.dqmoffline_step.remove(process.TrackMonStep6)
    #The following two steps were removed
    #process.PixelLessStep*
    #process.TobTecStep*
    #    process.dqmoffline_step.remove(process.muonAnalyzer)
    process.dqmoffline_step.remove(process.jetMETAnalyzer)
    #    process.dqmoffline_step.remove(process.TrackMonStep9)
    #    process.dqmoffline_step.remove(process.TrackMonStep10)
    #    process.dqmoffline_step.remove(process.PixelTrackingRecHitsValid)

    #add Phase 2 Upgrade Outer Tracker
    stripIndex = process.DQMOfflinePreDPG.index(process.SiStripDQMTier0)
    process.load("DQM.Phase2OuterTracker.OuterTrackerSourceConfig_cff")
    process.dqmoffline_step.insert(stripIndex, process.OuterTrackerSource)

    #put isUpgrade flag==true
    process.SiPixelRawDataErrorSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelDigiSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelClusterSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelRecHitSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelTrackResidualSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelHitEfficiencySource.isUpgrade = cms.untracked.bool(True)

    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU140
    process = customise_trackMon_IterativeTracking_PHASE1PU140(process)
    process.dqmoffline_step.remove(process.Phase1Pu70TrackMonStep2)
    process.dqmoffline_step.remove(process.Phase1Pu70TrackMonStep4)
    if hasattr(process, "globalrechitsanalyze"
               ):  # Validation takes this out if pileup is more than 30
        process.globalrechitsanalyze.ROUList = cms.vstring(
            'g4SimHitsTrackerHitsPixelBarrelLowTof',
            'g4SimHitsTrackerHitsPixelBarrelHighTof',
            'g4SimHitsTrackerHitsPixelEndcapLowTof',
            'g4SimHitsTrackerHitsPixelEndcapHighTof')
    return process
def customise_DQM(process,pileup):
    # We cut down the number of iterative tracking steps
#    process.dqmoffline_step.remove(process.TrackMonStep3)
#    process.dqmoffline_step.remove(process.TrackMonStep4)
#    process.dqmoffline_step.remove(process.TrackMonStep5)
#    process.dqmoffline_step.remove(process.TrackMonStep6)
    			    #The following two steps were removed
                            #process.PixelLessStep*
                            #process.TobTecStep*
#    process.dqmoffline_step.remove(process.muonAnalyzer)
    process.dqmoffline_step.remove(process.jetMETAnalyzer)
#    process.dqmoffline_step.remove(process.TrackMonStep9)
#    process.dqmoffline_step.remove(process.TrackMonStep10)
#    process.dqmoffline_step.remove(process.PixelTrackingRecHitsValid)

    #add Phase 2 Upgrade Outer Tracker
    stripIndex=process.DQMOfflinePreDPG.index(process.SiStripDQMTier0)
    process.load("DQM.Phase2OuterTracker.OuterTrackerSourceConfig_cff")
    process.dqmoffline_step.insert(stripIndex, process.OuterTrackerSource)

    #put isUpgrade flag==true
    process.SiPixelRawDataErrorSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelDigiSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelClusterSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelRecHitSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelTrackResidualSource.isUpgrade = cms.untracked.bool(True)
    process.SiPixelHitEfficiencySource.isUpgrade = cms.untracked.bool(True)

    from DQM.TrackingMonitor.customizeTrackingMonitorSeedNumber import customise_trackMon_IterativeTracking_PHASE1PU140
    process=customise_trackMon_IterativeTracking_PHASE1PU140(process)
    process.dqmoffline_step.remove(process.Phase1Pu70TrackMonStep2)
    process.dqmoffline_step.remove(process.Phase1Pu70TrackMonStep4)
    if hasattr(process,"globalrechitsanalyze") : # Validation takes this out if pileup is more than 30
       process.globalrechitsanalyze.ROUList = cms.vstring(
          'g4SimHitsTrackerHitsPixelBarrelLowTof',
          'g4SimHitsTrackerHitsPixelBarrelHighTof',
          'g4SimHitsTrackerHitsPixelEndcapLowTof',
          'g4SimHitsTrackerHitsPixelEndcapHighTof')
    return process