コード例 #1
0
import FWCore.ParameterSet.Config as cms

from Validation.TrackerDigis.stripDigisValidation_cfi import *
from Validation.TrackerDigis.pixelDigisValidation_cfi import *

trackerDigisValidation = cms.Sequence(pixelDigisValid * stripDigisValid)
trackerDigisStripValidation = cms.Sequence(stripDigisValid)

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(trackerDigisValidation, trackerDigisStripValidation)
コード例 #2
0
import FWCore.ParameterSet.Config as cms

from Validation.TrackerDigis.stripDigisValidation_cfi import *
from Validation.TrackerDigis.pixelDigisValidation_cfi import *

trackerDigisValidation = cms.Sequence(pixelDigisValid*stripDigisValid)
trackerDigisStripValidation = cms.Sequence(stripDigisValid)
  		  
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith( trackerDigisValidation, trackerDigisStripValidation )


コード例 #3
0
#    *dqmInfoSiStrip)

#SiStripDQMTier0MinBias = cms.Sequence(
#    APVPhases*consecutiveHEs*siStripFEDCheck
#    *SiStripMonitorTrackMB*MonitorTrackResiduals
#    *dqmInfoSiStrip)

SiStripDQMTier0 = cms.Sequence(
    APVPhases * consecutiveHEs * siStripFEDCheck * siStripFEDMonitor *
    SiStripMonitorDigi * SiStripMonitorClusterBPTX *
    SiStripMonitorTrackCommon * SiStripMonitorTrackIB * MonitorTrackResiduals *
    dqmInfoSiStrip)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(
    SiStripDQMTier0,
    SiStripDQMTier0.copyAndExclude([  # FIXME
        MonitorTrackResiduals  # Excessive printouts because 2017 doesn't have HLT yet
    ]))

SiStripDQMTier0Common = cms.Sequence(
    APVPhases * consecutiveHEs * siStripFEDCheck * siStripFEDMonitor *
    SiStripMonitorDigi * SiStripMonitorClusterBPTX *
    SiStripMonitorTrackCommon * SiStripMonitorTrackIB * dqmInfoSiStrip)

SiStripDQMTier0MinBias = cms.Sequence(
    APVPhases * consecutiveHEs * siStripFEDCheck * siStripFEDMonitor *
    SiStripMonitorDigi * SiStripMonitorClusterBPTX * SiStripMonitorTrackMB *
    SiStripMonitorTrackIB * MonitorTrackResiduals * dqmInfoSiStrip)
phase1Pixel.toReplaceWith(
    SiStripDQMTier0MinBias,
    SiStripDQMTier0MinBias.copyAndExclude([  # FIXME
コード例 #4
0
from Validation.RecoTau.dataTypes.ValidateTausOnZEE_cff import *
from Validation.RecoTau.dataTypes.ValidateTausOnZMM_cff import *
from Validation.RecoTau.dataTypes.ValidateTausOnZTTFastSim_cff import *
from Validation.RecoTau.dataTypes.ValidateTausOnZTT_cff import *

pfTauRunDQMValidation = cms.Sequence(
    TauValNumeratorAndDenominatorQCD + TauValNumeratorAndDenominatorRealData +
    TauValNumeratorAndDenominatorRealElectronsData +
    TauValNumeratorAndDenominatorRealMuonsData +
    TauValNumeratorAndDenominatorZEE + TauValNumeratorAndDenominatorZMM +
    TauValNumeratorAndDenominatorZTT)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(
    pfTauRunDQMValidation,
    pfTauRunDQMValidation.copyAndExclude([  # FIXME
        TauValNumeratorAndDenominatorRealData,  # Excessive printouts because 2017 doesn't have HLT yet
        TauValNumeratorAndDenominatorRealElectronsData,  # Excessive printouts because 2017 doesn't have HLT yet
        TauValNumeratorAndDenominatorRealMuonsData,  # Excessive printouts because 2017 doesn't have HLT yet
    ]))

produceDenoms = cms.Sequence(produceDenominatorQCD +
                             produceDenominatorRealData +
                             produceDenominatorRealElectronsData +
                             produceDenominatorRealMuonsData +
                             produceDenominatorZEE + produceDenominatorZMM +
                             produceDenominatorZTT)

runTauEff = cms.Sequence(efficienciesQCD + efficienciesRealData +
                         efficienciesRealElectronsData +
                         efficienciesRealMuonsData + efficienciesZEE +
                         efficienciesZMM + efficienciesZTT + normalizePlotsZTT)
コード例 #5
0
    vtxsrc='hiSelectedVertex'
    )


#DQM service
dqmInfo = cms.EDAnalyzer("DQMEventInfo",
    subSystemFolder = cms.untracked.string('Pixel')
)

#FED integrity
from DQM.SiPixelMonitorRawData.SiPixelMonitorHLT_cfi import *

siPixelOfflineDQM_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + refittedForPixelDQM + SiPixelTrackResidualSource + SiPixelHitEfficiencySource + SiPixelMonitorTrackResiduals + dqmInfo)

siPixelOfflineDQM_cosmics_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + SiPixelTrackResidualSource_Cosmics + dqmInfo)

siPixelOfflineDQM_heavyions_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + hiRefittedForPixelDQM + SiPixelTrackResidualSource_HeavyIons + SiPixelHitEfficiencySource_HeavyIons + dqmInfo)

siPixelOfflineDQM_source_woTrack = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + dqmInfo)

# Phase1 config
# _all_ of the stuff above becomes obsolete. We just hijack the names and 
# replace them with the phase1 config of the new DQM.
from DQM.SiPixelPhase1Config.SiPixelPhase1OfflineDQM_source_cff import *
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(siPixelOfflineDQM_source, siPixelPhase1OfflineDQM_source)
phase1Pixel.toReplaceWith(siPixelOfflineDQM_cosmics_source, siPixelPhase1OfflineDQM_source_cosmics)
phase1Pixel.toReplaceWith(siPixelOfflineDQM_heavyions_source, siPixelPhase1OfflineDQM_source_hi)
# don't forget the Harvesters, they are plugged in at PixelOfflineDQMClient
# TODO: the same game for the other three.
コード例 #6
0
import FWCore.ParameterSet.Config as cms

from Validation.TrackerHits.trackerHitsValidation_cfi import *

trackerHitsValidation = cms.Sequence(trackerHitsValid)
trackerSiStripHitsValidation = cms.Sequence(trackerSiStripHitsValid)

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(trackerHitsValidation, trackerSiStripHitsValidation)
コード例 #7
0
from DQMOffline.Muon.muonKinVsEtaAnalyzer_cfi import *
from DQMOffline.Muon.muonRecoAnalyzer_cfi import *
from DQMOffline.Muon.muonEnergyDepositAnalyzer_cfi import *
from DQMOffline.Muon.segmentTrackAnalyzer_cfi import *
from DQMOffline.Muon.muonSeedsAnalyzer_cfi import *
from DQMOffline.Muon.muonPFAnalyzer_cfi import *

muonAnalyzer = cms.Sequence(
    muonEnergyDepositAnalyzer * muonSeedsAnalyzer * muonRecoAnalyzer *
    glbMuonSegmentAnalyzer * staMuonSegmentAnalyzer * muonKinVsEtaAnalyzer *
    diMuonHistos * LooseMuonEfficiencyAnalyzer * MediumMuonEfficiencyAnalyzer *
    TightMuonEfficiencyAnalyzer * muonPFsequence * muonRecoOneHLT)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(
    muonAnalyzer,
    muonAnalyzer.copyAndExclude([  # FIXME
        muonRecoOneHLT  # Doesn't work because TriggerResults::HLT is missing (because HLT not yet being part of 2017 workflow)
    ]))
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toReplaceWith(
    muonAnalyzer,
    muonAnalyzer.copyAndExclude([  # FIXME
        muonEnergyDepositAnalyzer
    ]))

muonAnalyzer_noHLT = cms.Sequence(
    muonEnergyDepositAnalyzer * muonSeedsAnalyzer * muonRecoAnalyzer *
    glbMuonSegmentAnalyzer * staMuonSegmentAnalyzer * muonKinVsEtaAnalyzer *
    diMuonHistos * LooseMuonEfficiencyAnalyzer * MediumMuonEfficiencyAnalyzer *
    TightMuonEfficiencyAnalyzer * muonPFsequence)
コード例 #8
0
                                      postProcessorVertexSequence)
postValidation = cms.Sequence(recoMuonPostProcessors + postValidationTracking +
                              MuIsoValPostProcessor + calotowersPostProcessor +
                              hcalSimHitsPostProcessor +
                              hcaldigisPostProcessor +
                              hcalrechitsPostProcessor +
                              electronPostValidationSequence +
                              photonPostProcessor + pfJetClient + pfMETClient +
                              pfJetResClient + pfElectronClient +
                              rpcRecHitPostValidation_step + runTauEff +
                              makeBetterPlots + bTagCollectorSequenceMCbcl +
                              METPostProcessor)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(
    postValidation,
    postValidation.copyAndExclude([  # FIXME
        runTauEff  # Excessive printouts because 2017 doesn't have HLT yet
    ]))

postValidation_preprod = cms.Sequence(recoMuonPostProcessors +
                                      postProcessorTrackSequence +
                                      MuIsoValPostProcessor)

postValidation_fastsim = cms.Sequence(recoMuonPostProcessors +
                                      postProcessorTrackSequence +
                                      MuIsoValPostProcessor +
                                      photonPostProcessor +
                                      bTagCollectorSequenceMC + runTauEff)

from Validation.MuonGEMHits.PostProcessor_cff import *
from Validation.MuonGEMDigis.PostProcessor_cff import *
コード例 #9
0
                                        SiPixelTrackResidualSource +
                                        SiPixelHitEfficiencySource +
                                        SiPixelMonitorTrackResiduals + dqmInfo)

siPixelOfflineDQM_cosmics_source = cms.Sequence(
    SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource +
    SiPixelRecHitSource + SiPixelClusterSource +
    SiPixelTrackResidualSource_Cosmics + dqmInfo)

siPixelOfflineDQM_heavyions_source = cms.Sequence(
    SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource +
    SiPixelRecHitSource + SiPixelClusterSource +
    SiPixelTrackResidualSource_HeavyIons +
    SiPixelHitEfficiencySource_HeavyIons + dqmInfo)

siPixelOfflineDQM_source_woTrack = cms.Sequence(SiPixelHLTSource +
                                                SiPixelRawDataErrorSource +
                                                SiPixelDigiSource +
                                                SiPixelRecHitSource +
                                                SiPixelClusterSource + dqmInfo)

# Phase1 config
# _all_ of the stuff above becomes obsolete. We just hijack the names and
# replace them with the phase1 config of the new DQM.
from DQM.SiPixelPhase1Config.SiPixelPhase1OfflineDQM_source_cff import *
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(siPixelOfflineDQM_source,
                          siPixelPhase1OfflineDQM_source)
# don't forget the Harvesters, they are plugged in at PixelOfflineDQMClient
# TODO: the same game for the other three.
コード例 #10
0
import FWCore.ParameterSet.Config as cms

# tracker validation sequences
#
from Validation.TrackerHits.trackerHitsValidation_cff import *
from Validation.TrackerDigis.trackerDigisValidation_cff import *
from Validation.TrackerRecHits.trackerRecHitsValidation_cff import *
from Validation.TrackingMCTruth.trackingTruthValidation_cfi import *
from Validation.RecoTrack.SiTrackingRecHitsValid_cff import *
from Validation.SiPixelPhase1ConfigV.SiPixelPhase1OfflineDQM_sourceV_cff import *

trackerSimValid = cms.Sequence(trackerHitsValidation+trackerDigisValidation+trackerRecHitsValidation+trackingTruthValid+trackingRecHitsValid)
trackPhase1SimValid = cms.Sequence(trackingTruthValid+siPixelPhase1OfflineDQM_sourceV)

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith( trackerSimValid, trackPhase1SimValid )
コード例 #11
0
import FWCore.ParameterSet.Config as cms

siStripCertificationInfo = cms.EDAnalyzer("SiStripCertificationInfo")
from DQM.SiPixelCommon.SiPixelOfflineDQM_client_cff import *
from DQM.EcalMonitorClient.EcalCertification_cfi import *
from DQM.DTMonitorClient.dtDQMOfflineCertification_cff import *
from DQM.RPCMonitorClient.RPCDataCertification_cfi import *
from DQM.CSCMonitorModule.csc_certification_info_cfi import *
from DQM.EcalPreshowerMonitorModule.ESDataCertificationTask_cfi import *

from DQM.TrackingMonitorClient.TrackingCertification_cfi import *
from DQMOffline.JetMET.dataCertificationJetMET_cff import *
from DQMOffline.EGamma.egammaDataCertification_cff import *
from DQMOffline.Trigger.DQMOffline_Trigger_Cert_cff import *

crt_dqmoffline = cms.Sequence(
    siStripCertificationInfo * sipixelCertification * ecalCertification *
    dtCertificationSummary * rpcDataCertification * cscCertificationInfo *
    ecalPreshowerDataCertificationTask * trackingCertificationInfo *
    dataCertificationJetMETSequence * egammaDataCertificationTask *
    dqmOfflineTriggerCert)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(
    crt_dqmoffline,
    crt_dqmoffline.copyAndExclude([  # FIXME
        #    dqmOfflineTriggerCert, # No HLT yet for 2017, so no need to run the DQM (avoiding excessive printouts)
        sipixelCertification  # segfaults with pixel harvesting plots missing
    ]))
コード例 #12
0
import FWCore.ParameterSet.Config as cms

# tracker validation sequences
#
from Validation.TrackerHits.trackerHitsValidation_cff import *
from Validation.TrackerDigis.trackerDigisValidation_cff import *
from Validation.TrackerRecHits.trackerRecHitsValidation_cff import *
from Validation.TrackingMCTruth.trackingTruthValidation_cfi import *
from Validation.RecoTrack.SiTrackingRecHitsValid_cff import *
from Validation.SiPixelPhase1ConfigV.SiPixelPhase1OfflineDQM_sourceV_cff import *

trackerSimValid = cms.Sequence(trackerHitsValidation + trackerDigisValidation +
                               trackerRecHitsValidation + trackingTruthValid +
                               trackingRecHitsValid)
trackPhase1SimValid = cms.Sequence(trackingTruthValid +
                                   siPixelPhase1OfflineDQM_sourceV)

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel

phase1Pixel.toReplaceWith(trackerSimValid, trackPhase1SimValid)
コード例 #13
0
ファイル: HLTValidation_cff.py プロジェクト: angirar/my_cmssw
# offline dqm:
# from DQMOffline.Trigger.DQMOffline_Trigger_cff.py import *
from DQMOffline.Trigger.HLTTauDQMOffline_cff import *
from DQMOffline.Trigger.EgHLTOfflineSource_cfi import *
from DQMOffline.Trigger.topHLTOfflineDQM_cff import *
#from DQMOffline.Trigger.MuonTrigRateAnalyzer_cfi import *
# online dqm:
from DQMOffline.Trigger.HLTMonTau_cfi import *

# additional producer sequence prior to hltvalidation
# to evacuate producers/filters from the EndPath
hltassociation = cms.Sequence(hltMultiTrackValidation + hltMultiPVValidation +
                              egammaSelectors + ExoticaValidationProdSeq)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(hltassociation, cms.Sequence(
))  # FIXME: No HLT yet for 2017, so no need to run the validation

hltvalidation = cms.Sequence(HLTMuonVal + HLTTauVal +
                             egammaValidationSequence +
                             topHLTriggerOfflineDQM + topHLTriggerValidation +
                             heavyFlavorValidationSequence + HLTJetMETValSeq +
                             HLTSusyExoValSeq + HiggsValidationSequence +
                             ExoticaValidationSequence +
                             b2gHLTriggerValidation + SMPValidationSequence +
                             hltbtagValidationSequence)
phase1Pixel.toReplaceWith(hltvalidation, cms.Sequence(
))  # FIXME: No HLT yet for 2017, so no need to run the validation

# some hlt collections have no direct fastsim equivalent
# remove the dependent modules for now
# probably it would be rather easy to add or fake these collections
コード例 #14
0
hltpostvalidation = cms.Sequence(postProcessorHLTtrackingSequence +
                                 postProcessorHLTvertexing + HLTMuonPostVal +
                                 HLTTauPostVal + EgammaPostVal +
                                 topHLTriggerValidationHarvest +
                                 heavyFlavorValidationHarvestingSequence +
                                 JetMETPostVal
                                 #+HLTAlCaPostVal
                                 + SusyExoPostVal
                                 #+ExamplePostVal
                                 + hltvalidationqt + HLTHiggsPostVal +
                                 hltExoticaPostProcessors +
                                 b2gHLTriggerValidationHarvest +
                                 HLTSMPPostVal + HltBTagPostVal)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(
    hltpostvalidation, cms.Sequence()
)  # FIXME: No HLT yet for 2017, so no need to run the DQM (avoiding excessive printouts)

# fastsim customs
from Configuration.Eras.Modifier_fastSim_cff import fastSim
if fastSim.isChosen():
    hltpostvalidation.remove(postProcessorHLTtrackingSequence)
    hltpostvalidation.remove(postProcessorHLTvertexing)
    # remove this:     +hltvalidationqt ?
    # remove this:    +hltExoticaPostProcessors ?

hltpostvalidation_preprod = cms.Sequence(
    postProcessorHLTtrackingSequence + postProcessorHLTvertexing +
    HLTTauPostVal + heavyFlavorValidationHarvestingSequence + SusyExoPostVal
    #+HLTHiggsPostVal
)
コード例 #15
0
        FillSummaryAtLayerLevel=cms.bool(False)),
    SiStripCablingDQM_PSet=DQM.SiStripMonitorSummary.
    SiStripMonitorCondData_cfi.CondDataMonitoring.SiStripCablingDQM_PSet.clone(
        ActiveDetIds_On=cms.bool(True)),
    SiStripLowThresholdDQM_PSet=DQM.SiStripMonitorSummary.
    SiStripMonitorCondData_cfi.CondDataMonitoring.SiStripLowThresholdDQM_PSet.
    clone(ActiveDetIds_On=cms.bool(True),
          FillSummaryAtLayerLevel=cms.bool(False)),
    SiStripHighThresholdDQM_PSet=DQM.SiStripMonitorSummary.
    SiStripMonitorCondData_cfi.CondDataMonitoring.SiStripHighThresholdDQM_PSet.
    clone(ActiveDetIds_On=cms.bool(True),
          FillSummaryAtLayerLevel=cms.bool(False)),
    SiStripApvGainsDQM_PSet=DQM.SiStripMonitorSummary.
    SiStripMonitorCondData_cfi.CondDataMonitoring.SiStripApvGainsDQM_PSet.
    clone(ActiveDetIds_On=cms.bool(True),
          FillSummaryAtLayerLevel=cms.bool(False)),
    SiStripLorentzAngleDQM_PSet=DQM.SiStripMonitorSummary.
    SiStripMonitorCondData_cfi.CondDataMonitoring.SiStripLorentzAngleDQM_PSet.
    clone(ActiveDetIds_On=cms.bool(False),
          FillSummaryAtLayerLevel=cms.bool(False),
          CondObj_fillId=cms.string('ProfileAndCumul')))

trackerRecHitsValidation = cms.Sequence(pixRecHitsValid + stripRecHitsValid +
                                        condDataValidation)
trackerRecHitsStripValidation = cms.Sequence(stripRecHitsValid +
                                             condDataValidation)

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(trackerRecHitsValidation,
                          trackerRecHitsStripValidation)
コード例 #16
0
siStripCertificationInfo = cms.EDAnalyzer("SiStripCertificationInfo")
from DQM.SiPixelCommon.SiPixelOfflineDQM_client_cff import *
from DQM.EcalMonitorClient.EcalCertification_cfi import *
from DQM.DTMonitorClient.dtDQMOfflineCertification_cff import *
from DQM.RPCMonitorClient.RPCDataCertification_cfi import *
from DQM.CSCMonitorModule.csc_certification_info_cfi import *
from DQM.EcalPreshowerMonitorModule.ESDataCertificationTask_cfi import *

from DQM.TrackingMonitorClient.TrackingCertification_cfi import *
from DQMOffline.JetMET.dataCertificationJetMET_cff import *
from DQMOffline.EGamma.egammaDataCertification_cff import *
from DQMOffline.Trigger.DQMOffline_Trigger_Cert_cff import *

crt_dqmoffline = cms.Sequence( siStripCertificationInfo *
                               sipixelCertification *
                               ecalCertification *
                               dtCertificationSummary *
                               rpcDataCertification *
                               cscCertificationInfo *
                               ecalPreshowerDataCertificationTask *
                               trackingCertificationInfo *
                               dataCertificationJetMETSequence *
                               egammaDataCertificationTask *
                               dqmOfflineTriggerCert )
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(crt_dqmoffline, crt_dqmoffline.copyAndExclude([ # FIXME
#    dqmOfflineTriggerCert, # No HLT yet for 2017, so no need to run the DQM (avoiding excessive printouts)
    sipixelCertification # segfaults with pixel harvesting plots missing
]))
コード例 #17
0
DQMCertEGamma = cms.Sequence(egammaDataCertificationTask)

DQMCertTrigger = cms.Sequence(dqmOfflineTriggerCert)

DQMCertMuon = cms.Sequence(dtDAQInfo * rpcDaqInfo * cscDaqInfo *
                           dtDCSByLumiSummary * rpcDCSSummary * cscDcsInfo *
                           dtCertificationSummary * rpcDataCertification * cscCertificationInfo)

DQMCertEcal = cms.Sequence(ecalDaqInfoTask * ecalPreshowerDaqInfoTask *
                           ecalDcsInfoTask * ecalPreshowerDcsInfoTask *
                           ecalCertification * ecalPreshowerDataCertificationTask)

DQMCertJetMET = cms.Sequence(dataCertificationJetMETSequence)

DQMCertCommon = cms.Sequence( DQMCertTrackerStrip *
			      DQMCertTrackerPixel *
			      DQMCertTracking *
			      DQMCertEGamma *
			      DQMCertTrigger)

from DQM.SiPixelPhase1Config.SiPixelPhase1OfflineDQM_harvesting_cff import *
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel

phase1Pixel.toReplaceWith(DQMCertCommon, DQMCertCommon.copyAndExclude([ # FIXME
    sipixelCertification # segfaults when included
]))

DQMCertCommonFakeHLT = cms.Sequence( DQMCertCommon )
DQMCertCommonFakeHLT.remove( dqmOfflineTriggerCert )
コード例 #18
0
import FWCore.ParameterSet.Config as cms

from RecoLocalTracker.SiStripRecHitConverter.StripCPE_cfi import *
from Validation.RecoTrack.SiPixelTrackingRecHitsValid_cfi import *
from Validation.RecoTrack.SiStripTrackingRecHitsValid_cfi import *
trackingRecHitsValid = cms.Sequence(PixelTrackingRecHitsValid*StripTrackingRecHitsValid)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(trackingRecHitsValid, trackingRecHitsValid.copyAndExclude([ # FIXME
    PixelTrackingRecHitsValid # Pixel validation needs to be migrated to phase1
]))
コード例 #19
0
ファイル: postValidation_cff.py プロジェクト: y19y19/cmssw
postValidationCosmics = cms.Sequence(postProcessorMuonTrack)

postValidationMiniAOD = cms.Sequence(electronPostValidationSequenceMiniAOD)

postValidationOuterTracker = cms.Sequence(OuterTracker_harvestingV)

_phase1_postValidation = postValidation.copy()
_phase1_postValidation += siPixelPhase1OfflineDQM_harvestingV

_phase1_postValidation_trackingOnly = postValidation_trackingOnly.copy()
_phase1_postValidation_trackingOnly += siPixelPhase1OfflineDQM_harvestingV

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel

phase1Pixel.toReplaceWith(postValidation, _phase1_postValidation)
phase1Pixel.toReplaceWith(postValidation_trackingOnly,
                          _phase1_postValidation_trackingOnly)

_run3_postValidation = postValidation.copy()
_run3_postValidation += MuonGEMHitsPostProcessors
_run3_postValidation += MuonGEMDigisPostProcessors
_run3_postValidation += MuonGEMRecHitsPostProcessors

_phase2_postValidation = _run3_postValidation.copy()
_phase2_postValidation += hgcalPostProcessor
_phase2_postValidation += MuonME0DigisPostProcessors
_phase2_postValidation += MuonME0SegPostProcessors
_phase2_postValidation += trackerphase2ValidationHarvesting

_phase2_ge0_postValidation = _run3_postValidation.copy()
コード例 #20
0
)

#DataCertification:
sipixelDaqInfo = DQMEDHarvester("SiPixelDaqInfo")
sipixelDcsInfo = DQMEDHarvester("SiPixelDcsInfo")
sipixelCertification = DQMEDHarvester("SiPixelCertification")

#Predefined Sequences:
PixelOfflineDQMClient = cms.Sequence(sipixelEDAClient)
PixelOfflineDQMClientWithDataCertification = cms.Sequence(sipixelQTester+
                                                          sipixelEDAClient+
                                                          sipixelDaqInfo+
                                                          sipixelDcsInfo+
                                                          sipixelCertification)
PixelOfflineDQMClientNoDataCertification = cms.Sequence(sipixelQTester+
                                                          sipixelEDAClient)
PixelOfflineDQMClientNoDataCertification_cosmics = cms.Sequence(sipixelQTester+
                                                          sipixelEDAClient)

PixelOfflineDQMClientWithDataCertificationHI = cms.Sequence(PixelOfflineDQMClientNoDataCertification)
PixelOfflineDQMClientWithDataCertificationHI.replace(sipixelQTester,sipixelQTesterHI)

# Modify for running with the Phase 1 pixel detector.
from DQM.SiPixelPhase1Config.SiPixelPhase1OfflineDQM_harvesting_cff import *
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(PixelOfflineDQMClient, siPixelPhase1OfflineDQM_harvesting)
#TODO: properly upgrade these and the others
phase1Pixel.toReplaceWith(PixelOfflineDQMClientNoDataCertification, siPixelPhase1OfflineDQM_harvesting)
phase1Pixel.toReplaceWith(PixelOfflineDQMClientNoDataCertification_cosmics, siPixelPhase1OfflineDQM_harvesting_cosmics)
phase1Pixel.toReplaceWith(PixelOfflineDQMClientWithDataCertification, siPixelPhase1OfflineDQM_harvesting)
コード例 #21
0
globalValidationHGCal = cms.Sequence(hgcalValidation)

globalPrevalidationMuons = cms.Sequence(gemSimValid + me0SimValid +
                                        validSimHit + muondtdigianalyzer +
                                        cscDigiValidation +
                                        validationMuonRPCDigis +
                                        recoMuonValidation +
                                        rpcRecHitValidation_step +
                                        dtLocalRecoValidation_no2D +
                                        muonIdValDQMSeq)

globalValidationMuons = cms.Sequence()

_phase_1_globalValidation = globalValidation.copy()
_phase_1_globalValidation += siPixelPhase1OfflineDQM_sourceV
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(globalValidation, _phase_1_globalValidation)

_run3_globalValidation = globalValidation.copy()
_run3_globalValidation += gemSimValid

_phase2_globalValidation = _run3_globalValidation.copy()
_phase2_globalValidation += me0SimValid

from Configuration.Eras.Modifier_run2_GEM_2017_MCTest_cff import run2_GEM_2017_MCTest
run2_GEM_2017_MCTest.toReplaceWith(globalValidation, _run3_globalValidation)
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toReplaceWith(globalValidation, _run3_globalValidation)
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toReplaceWith(globalValidation, _phase2_globalValidation)
コード例 #22
0
ファイル: RecHitsValid_cfg.py プロジェクト: MelanieEich/cmssw
# process.load('Configuration.StandardSequences.DigiToRaw_cff')  # for remaking recHits

process.load('Configuration.StandardSequences.RawToDigi_cff')
process.load('Configuration.StandardSequences.L1Reco_cff')
process.load("Configuration.StandardSequences.Reconstruction_cff")

process.load("Validation.TrackerRecHits.SiPixelRecHitsValid_cfi")
process.load("Validation.SiPixelPhase1ConfigV.SiPixelPhase1OfflineDQM_harvestingV_cff")
process.load("Validation.TrackerRecHits.SiStripRecHitsValid_cfi")

process.pixRecHitsValid_step = cms.Sequence(process.pixRecHitsValid)
process.stripRecHitsValid_step = cms.Sequence(process.stripRecHitsValid)
process.pixPhase1RecHitsValid_step = cms.Sequence(process.SiPixelPhase1RecHitsAnalyzerV*process.SiPixelPhase1RecHitsHarvesterV)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(process.pixRecHitsValid_step, process.pixPhase1RecHitsValid_step)
process.validation_step = cms.Sequence(process.pixRecHitsValid_step*process.stripRecHitsValid_step)

process.load("DQMServices.Components.DQMFileSaver_cfi")
process.dqmSaver.workflow = cms.untracked.string('/my/relVal/tracker')

# No pileup
process.load("SimGeneral.MixingModule.mixNoPU_cfi")

# From-scratch pileup; needs DigiToRaw in path
# process.load("SimGeneral.MixingModule.mixHighLumPU_cfi")
# process.mix.input.fileNames = cms.untracked.vstring([
#  '/store/relval/CMSSW_7_1_0_pre4/RelValProdMinBias_13/GEN-SIM-RAW/POSTLS171_V1-v2/00000/0275ACA6-3CAA-E311-9DAF-02163E00E62F.root',
#  '/store/relval/CMSSW_7_1_0_pre4/RelValProdMinBias_13/GEN-SIM-RAW/POSTLS171_V1-v2/00000/54DD7A36-3DAA-E311-A92B-0025904B11C0.root',
#  '/store/relval/CMSSW_7_1_0_pre4/RelValProdMinBias_13/GEN-SIM-RAW/POSTLS171_V1-v2/00000/D6560D41-36AA-E311-BF6E-02163E00EBBC.root'
#   ])
コード例 #23
0
from DQM.Physics.DQMPhysics_cff import *
from DQM.Physics.DQMTopMiniAOD_cff import *
from Validation.RecoTau.DQMSequences_cfi import *
from DQM.TrackingMonitorSource.TrackingSourceConfig_Tier0_cff import *
# miniAOD DQM validation
from Validation.RecoParticleFlow.miniAODDQM_cff import *
from DQM.TrackingMonitor.tracksDQMMiniAOD_cff import *

DQMOfflinePrePOG = cms.Sequence(
    TrackingDQMSourceTier0 * muonMonitors * jetMETDQMOfflineSource *
    egammaDQMOffline * triggerOfflineDQMSource * pvMonitor * bTagPlotsDATA *
    alcaBeamMonitor * dqmPhysics * produceDenoms * pfTauRunDQMValidation)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(
    DQMOfflinePrePOG,
    DQMOfflinePrePOG.copyAndExclude([  # FIXME
        triggerOfflineDQMSource,  # No HLT yet for 2017, so no need to run the DQM (avoiding excessive printouts)
        pfTauRunDQMValidation,  # Excessive printouts because 2017 doesn't have HLT yet
    ]))

DQMOfflinePOG = cms.Sequence(DQMOfflinePrePOG * DQMMessageLogger)

HLTMonitoring = cms.Sequence(OfflineHLTMonitoring)
HLTMonitoringPA = cms.Sequence(OfflineHLTMonitoringPA)
DQMOffline = cms.Sequence(DQMOfflinePreDPG * DQMOfflinePrePOG * HLTMonitoring *
                          dqmFastTimerServiceLuminosity * DQMMessageLogger)
phase1Pixel.toReplaceWith(
    DQMOffline,
    DQMOffline.copyAndExclude([
        HLTMonitoring  # No HLT yet for 2017, so no need to run the DQM (avoiding excessive printouts)
    ]))
コード例 #24
0
        if "SeedsB" in item:
            continue
        if "SeedsPair" in item and item.replace("SeedsPair", "SeedsTripl") in lst:
            ret.append(item.replace("SeedsPair", "Seeds"))
            continue
        if "SeedsTripl" in item:
            continue
        ret.append(item)
    return ret
_seedProducers = _filterForNtuple(_TrackValidation_cff._seedProducers)
_seedProducers_trackingPhase1 = _filterForNtuple(_TrackValidation_cff._seedProducers_trackingPhase1)

(_seedSelectors, trackingNtupleSeedSelectors) = _TrackValidation_cff._addSeedToTrackProducers(_seedProducers, globals())
(_seedSelectors_trackingPhase1, _trackingNtupleSeedSelectors_trackingPhase1) = _TrackValidation_cff._addSeedToTrackProducers(_seedProducers_trackingPhase1, globals())
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(trackingNtupleSeedSelectors, _trackingNtupleSeedSelectors_trackingPhase1)

trackingNtuple.seedTracks = _seedSelectors
from Configuration.Eras.Modifier_trackingPhase1_cff import trackingPhase1
trackingPhase1.toModify(trackingNtuple, seedTracks = _seedSelectors_trackingPhase1)

trackingNtupleSequence = cms.Sequence()
# reproduce hits because they're not stored in RECO
if _includeHits:
    trackingNtupleSequence += (
        siPixelRecHits +
        siStripMatchedRecHits
    )
if _includeSeeds:
    trackingNtupleSequence += trackingNtupleSeedSelectors
コード例 #25
0
ファイル: DQMPhysics_cff.py プロジェクト: zhwenyu/cmssw
dqmPhysics = cms.Sequence(
    bphysicsOniaDQM
    #                          Empty Histograms from EWK and Error log messages
    #                           *ewkMuDQM	   # errors in logs due HLTPrescaleProvider
    #                           *ewkElecDQM    # Error in determining HLT prescale set index from L1 data using L1GtUtils
    * qcdPhotonsDQM * topSingleMuonMediumDQM * topSingleElectronMediumDQM *
    singleTopMuonMediumDQM * singleTopElectronMediumDQM * DiMuonDQM *
    DiElectronDQM * ElecMuonDQM * susyDQM * HiggsDQM * ExoticaDQM * B2GDQM *
    FSQDQM * SMPDQM)

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(
    dqmPhysics,
    dqmPhysics.copyAndExclude([  # FIXME
        ewkMuDQM,  # Excessive printouts because 2017 doesn't have HLT yet
        ewkElecDQM,  # Excessive printouts because 2017 doesn't have HLT yet
        ewkMuLumiMonitorDQM,  # Excessive printouts because 2017 doesn't have HLT yet
    ]))
from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
dqmPhysicspA = dqmPhysics.copy()
dqmPhysicspA += CentralitypADQM
pA_2016.toReplaceWith(dqmPhysics, dqmPhysicspA)
from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
_dqmPhysics = dqmPhysics.copy()
_dqmPhysics += CentralityDQM
pp_on_AA.toModify(CentralityDQM,
                  vertexcollection=cms.InputTag("offlinePrimaryVertices"))
pp_on_AA.toReplaceWith(dqmPhysics, _dqmPhysics)

bphysicsOniaDQMHI = bphysicsOniaDQM.clone(
コード例 #26
0
import FWCore.ParameterSet.Config as cms

from Validation.TrackerHits.trackerHitsValidation_cfi import *

trackerHitsValidation = cms.Sequence(trackerHitsValid)
trackerSiStripHitsValidation = cms.Sequence(trackerSiStripHitsValid)

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith( trackerHitsValidation, trackerSiStripHitsValidation )
コード例 #27
0
ファイル: RecHitsValid_cfg.py プロジェクト: p2l1pfp/cmssw
process.load('Configuration.StandardSequences.RawToDigi_cff')
process.load('Configuration.StandardSequences.L1Reco_cff')
process.load("Configuration.StandardSequences.Reconstruction_cff")

process.load("Validation.TrackerRecHits.SiPixelRecHitsValid_cfi")
process.load(
    "Validation.SiPixelPhase1ConfigV.SiPixelPhase1OfflineDQM_harvestingV_cff")
process.load("Validation.TrackerRecHits.SiStripRecHitsValid_cfi")

process.pixRecHitsValid_step = cms.Sequence(process.pixRecHitsValid)
process.stripRecHitsValid_step = cms.Sequence(process.stripRecHitsValid)
process.pixPhase1RecHitsValid_step = cms.Sequence(
    process.SiPixelPhase1RecHitsAnalyzerV *
    process.SiPixelPhase1RecHitsHarvesterV)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(process.pixRecHitsValid_step,
                          process.pixPhase1RecHitsValid_step)
process.validation_step = cms.Sequence(process.pixRecHitsValid_step *
                                       process.stripRecHitsValid_step)

process.load("DQMServices.Components.DQMFileSaver_cfi")
process.dqmSaver.workflow = cms.untracked.string('/my/relVal/tracker')

# No pileup
process.load("SimGeneral.MixingModule.mixNoPU_cfi")

# From-scratch pileup; needs DigiToRaw in path
# process.load("SimGeneral.MixingModule.mixHighLumPU_cfi")
# process.mix.input.fileNames = cms.untracked.vstring([
#  '/store/relval/CMSSW_7_1_0_pre4/RelValProdMinBias_13/GEN-SIM-RAW/POSTLS171_V1-v2/00000/0275ACA6-3CAA-E311-9DAF-02163E00E62F.root',
#  '/store/relval/CMSSW_7_1_0_pre4/RelValProdMinBias_13/GEN-SIM-RAW/POSTLS171_V1-v2/00000/54DD7A36-3DAA-E311-A92B-0025904B11C0.root',
#  '/store/relval/CMSSW_7_1_0_pre4/RelValProdMinBias_13/GEN-SIM-RAW/POSTLS171_V1-v2/00000/D6560D41-36AA-E311-BF6E-02163E00EBBC.root'
コード例 #28
0
ファイル: postValidation_cff.py プロジェクト: dilsonjd/cmssw
postValidation_gen = cms.Sequence(
    EventGeneratorPostProcessor
)

postValidationCosmics = cms.Sequence(
    postProcessorMuonTrack
)

postValidationMiniAOD = cms.Sequence(
    electronPostValidationSequenceMiniAOD
)

_phase1_postValidation = postValidation.copy()
_phase1_postValidation += siPixelPhase1OfflineDQM_harvestingV
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith( postValidation, _phase1_postValidation )

_run3_postValidation = postValidation.copy()
_run3_postValidation += MuonGEMHitsPostProcessors
_run3_postValidation += MuonGEMDigisPostProcessors
_run3_postValidation += MuonGEMRecHitsPostProcessors

_phase2_postValidation = _run3_postValidation.copy()
_phase2_postValidation += hgcalPostProcessor
_phase2_postValidation += MuonME0DigisPostProcessors
_phase2_postValidation += MuonME0SegPostProcessors

from Configuration.Eras.Modifier_run2_GEM_2017_MCTest_cff import run2_GEM_2017_MCTest
run2_GEM_2017_MCTest.toReplaceWith( postValidation, _run3_postValidation )
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toReplaceWith( postValidation, _run3_postValidation )
コード例 #29
0
    SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource +
    SiPixelRecHitSource + SiPixelClusterSource +
    SiPixelTrackResidualSource_Cosmics + dqmInfo)

siPixelOfflineDQM_heavyions_source = cms.Sequence(
    SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource +
    SiPixelRecHitSource + SiPixelClusterSource + hiRefittedForPixelDQM +
    SiPixelTrackResidualSource_HeavyIons +
    SiPixelHitEfficiencySource_HeavyIons + dqmInfo)

siPixelOfflineDQM_source_woTrack = cms.Sequence(SiPixelHLTSource +
                                                SiPixelRawDataErrorSource +
                                                SiPixelDigiSource +
                                                SiPixelRecHitSource +
                                                SiPixelClusterSource + dqmInfo)

# Phase1 config
# _all_ of the stuff above becomes obsolete. We just hijack the names and
# replace them with the phase1 config of the new DQM.
from DQM.SiPixelPhase1Config.SiPixelPhase1OfflineDQM_source_cff import *
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel

phase1Pixel.toReplaceWith(siPixelOfflineDQM_source,
                          siPixelPhase1OfflineDQM_source)
phase1Pixel.toReplaceWith(siPixelOfflineDQM_cosmics_source,
                          siPixelPhase1OfflineDQM_source_cosmics)
phase1Pixel.toReplaceWith(siPixelOfflineDQM_heavyions_source,
                          siPixelPhase1OfflineDQM_source_hi)
# don't forget the Harvesters, they are plugged in at PixelOfflineDQMClient
# TODO: the same game for the other three.
コード例 #30
0
from DQMOffline.Configuration.DQMOffline_DCS_cff import *
from DQMOffline.Configuration.DQMOffline_CRT_cff import *

from Configuration.StandardSequences.Eras import eras

DQMOffline_Certification = cms.Sequence(daq_dqmoffline*dcs_dqmoffline*crt_dqmoffline)

DQMCertCommon = cms.Sequence(siStripDaqInfo * sipixelDaqInfo * 
                             siStripDcsInfo * sipixelDcsInfo *
                             siStripCertificationInfo * sipixelCertification *
                             trackingCertificationInfo *
                             egammaDataCertificationTask *
                             dqmOfflineTriggerCert)

DQMCertMuon = cms.Sequence(dtDAQInfo * rpcDaqInfo * cscDaqInfo *
                           dtDCSByLumiSummary * rpcDCSSummary * cscDcsInfo *
                           dtCertificationSummary * rpcDataCertification * cscCertificationInfo)

DQMCertEcal = cms.Sequence(ecalDaqInfoTask * ecalPreshowerDaqInfoTask *
                           ecalDcsInfoTask * ecalPreshowerDcsInfoTask *
                           ecalCertification * ecalPreshowerDataCertificationTask)

DQMCertJetMET = cms.Sequence(dataCertificationJetMETSequence)

from DQM.SiPixelPhase1Config.SiPixelPhase1OfflineDQM_harvesting_cff import *
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel

phase1Pixel.toReplaceWith(DQMCertCommon, DQMCertCommon.copyAndExclude([ # FIXME
    sipixelCertification # segfaults when included
]))
コード例 #31
0
ファイル: DQMPhysics_cff.py プロジェクト: alja/cmssw
                           *topSingleElectronMediumDQM	
                           *singleTopMuonMediumDQM
                           *singleTopElectronMediumDQM
                           *DiMuonDQM
			   *DiElectronDQM
			   *ElecMuonDQM
                           *susyDQM
                           *HiggsDQM
                           *ExoticaDQM
                           *B2GDQM
                           *FSQDQM
                           )

from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(dqmPhysics, dqmPhysics.copyAndExclude([ # FIXME
    ewkMuDQM,            # Excessive printouts because 2017 doesn't have HLT yet
    ewkElecDQM,          # Excessive printouts because 2017 doesn't have HLT yet
    ewkMuLumiMonitorDQM, # Excessive printouts because 2017 doesn't have HLT yet
]))
from Configuration.Eras.Modifier_pA_2016_cff import pA_2016
dqmPhysicspA  =  dqmPhysics.copy()
dqmPhysicspA += CentralitypADQM
pA_2016.toReplaceWith(dqmPhysics, dqmPhysicspA)

bphysicsOniaDQMHI = bphysicsOniaDQM.clone(vertex=cms.InputTag("hiSelectedVertex"))
dqmPhysicsHI = cms.Sequence(bphysicsOniaDQMHI+CentralityDQM)

from DQM.Physics.qcdPhotonsCosmicDQM_cff import *
dqmPhysicsCosmics = cms.Sequence(dqmPhysics)
dqmPhysicsCosmics.replace(qcdPhotonsDQM, qcdPhotonsCosmicDQM)
コード例 #32
0
PixelOfflineDQMClient = cms.Sequence(sipixelEDAClient)
PixelOfflineDQMClientWithDataCertification = cms.Sequence(sipixelQTester +
                                                          sipixelEDAClient +
                                                          sipixelDaqInfo +
                                                          sipixelDcsInfo +
                                                          sipixelCertification)
PixelOfflineDQMClientNoDataCertification = cms.Sequence(sipixelQTester +
                                                        sipixelEDAClient)
PixelOfflineDQMClientNoDataCertification_cosmics = cms.Sequence(
    sipixelQTester + sipixelEDAClient)

PixelOfflineDQMClientWithDataCertificationHI = cms.Sequence(
    PixelOfflineDQMClientNoDataCertification)
PixelOfflineDQMClientWithDataCertificationHI.replace(sipixelQTester,
                                                     sipixelQTesterHI)

# Modify for running with the Phase 1 pixel detector.
from DQM.SiPixelPhase1Config.SiPixelPhase1OfflineDQM_harvesting_cff import *
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(PixelOfflineDQMClient,
                          siPixelPhase1OfflineDQM_harvesting)
#TODO: properly upgrade these and the others
phase1Pixel.toReplaceWith(PixelOfflineDQMClientNoDataCertification,
                          siPixelPhase1OfflineDQM_harvesting)
phase1Pixel.toReplaceWith(PixelOfflineDQMClientNoDataCertification_cosmics,
                          siPixelPhase1OfflineDQM_harvesting_cosmics)
phase1Pixel.toReplaceWith(PixelOfflineDQMClientWithDataCertification,
                          siPixelPhase1OfflineDQM_harvesting)
phase1Pixel.toReplaceWith(PixelOfflineDQMClientWithDataCertificationHI,
                          siPixelPhase1OfflineDQM_harvesting)
コード例 #33
0
ファイル: postValidation_cff.py プロジェクト: shdutta16/cmssw
                                   hcaldigisPostProcessor +
                                   hcalrechitsPostProcessor +
                                   calotowersPostProcessor)

postValidation_gen = cms.Sequence(EventGeneratorPostProcessor)

postValidationCosmics = cms.Sequence(postProcessorMuonTrack)

postValidationMiniAOD = cms.Sequence(electronPostValidationSequenceMiniAOD)

postValidationOuterTracker = cms.Sequence(OuterTracker_harvestingV)

_phase1_postValidation = postValidation.copy()
_phase1_postValidation += siPixelPhase1OfflineDQM_harvestingV
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(postValidation, _phase1_postValidation)

_run3_postValidation = postValidation.copy()
_run3_postValidation += MuonGEMHitsPostProcessors
_run3_postValidation += MuonGEMDigisPostProcessors
_run3_postValidation += MuonGEMRecHitsPostProcessors

_phase2_postValidation = _run3_postValidation.copy()
_phase2_postValidation += hgcalPostProcessor
_phase2_postValidation += MuonME0DigisPostProcessors
_phase2_postValidation += MuonME0SegPostProcessors

from Configuration.Eras.Modifier_run2_GEM_2017_cff import run2_GEM_2017
run2_GEM_2017.toReplaceWith(postValidation, _run3_postValidation)
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toReplaceWith(postValidation, _run3_postValidation)
コード例 #34
0
    + me0SimValid
    + validSimHit
    + muondtdigianalyzer
    + cscDigiValidation
    + validationMuonRPCDigis
    + recoMuonValidation
    + rpcRecHitValidation_step
    + dtLocalRecoValidation_no2D
    + muonIdValDQMSeq
)

globalValidationMuons = cms.Sequence()

_phase_1_globalValidation = globalValidation.copy()
_phase_1_globalValidation += siPixelPhase1OfflineDQM_sourceV
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith( globalValidation, _phase_1_globalValidation )

_run3_globalValidation = globalValidation.copy()
_run3_globalValidation += gemSimValid

_phase2_globalValidation = _run3_globalValidation.copy()
_phase2_globalValidation += me0SimValid

from Configuration.Eras.Modifier_run2_GEM_2017_MCTest_cff import run2_GEM_2017_MCTest
run2_GEM_2017_MCTest.toReplaceWith( globalValidation, _run3_globalValidation )
from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
run3_GEM.toReplaceWith( globalValidation, _run3_globalValidation )
from Configuration.Eras.Modifier_phase2_muon_cff import phase2_muon
phase2_muon.toReplaceWith( globalValidation, _phase2_globalValidation )
コード例 #35
0
from DQMOffline.L1Trigger.L1TriggerDqmOffline_cff import *
from DQMOffline.Trigger.DQMOffline_Trigger_Client_cff import *
from DQMOffline.Trigger.DQMOffline_HLT_Client_cff import *
from DQMOffline.RecoB.dqmCollector_cff import *
from DQMOffline.JetMET.SusyPostProcessor_cff import *
from DQMOffline.JetMET.dataCertificationJetMET_cff import *
from DQM.TrackingMonitorClient.TrackingClientConfig_Tier0_cff import *

DQMOffline_SecondStep_PrePOG = cms.Sequence(
    TrackingOfflineDQMClient * muonQualityTests * egammaPostProcessing *
    triggerOfflineDQMClient * hltOfflineDQMClient * bTagCollectorSequenceDATA *
    alcaBeamMonitorClient * SusyPostProcessorSequence * runTauEff)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
phase1Pixel.toReplaceWith(
    DQMOffline_SecondStep_PrePOG,
    DQMOffline_SecondStep_PrePOG.copyAndExclude([
        hltOfflineDQMClient,  # No HLT yet for 2017, so no need to run the DQM (avoiding excessive printouts)
        runTauEff,  # Excessive printouts because 2017 doesn't have HLT yet
    ]))

DQMOffline_SecondStepPOG = cms.Sequence(dqmRefHistoRootFileGetter *
                                        DQMOffline_SecondStep_PrePOG *
                                        DQMMessageLoggerClientSeq)

HLTMonitoringClient = cms.Sequence(trackingMonitorClientHLT)
HLTMonitoringClientPA = cms.Sequence(trackingMonitorClientHLT *
                                     PAtrackingMonitorClientHLT)
DQMOffline_SecondStep = cms.Sequence(
    dqmRefHistoRootFileGetter * DQMOffline_SecondStep_PreDPG *
    DQMOffline_SecondStep_PrePOG * HLTMonitoringClient *
    DQMMessageLoggerClientSeq * dqmFastTimerServiceClient)
phase1Pixel.toReplaceWith(
コード例 #36
0
    srcCorrections=cms.VInputTag(cms.InputTag('dqmCorrPfMetType1', 'type1')))

jetMETDQMOfflineSource = cms.Sequence(
    AnalyzeSUSYDQM * QGTagger * pileupJetIdCalculatorCHSDQM *
    pileupJetIdEvaluatorCHSDQM * pileupJetIdCalculatorDQM *
    pileupJetIdEvaluatorDQM * jetPreDQMSeq *
    dqmAk4CaloL2L3ResidualCorrectorChain *
    dqmAk4PFL1FastL2L3ResidualCorrectorChain *
    dqmAk4PFCHSL1FastL2L3ResidualCorrectorChain *
    dqmAk4PFCHSL1FastL2L3CorrectorChain * goodOfflinePrimaryVerticesDQM *
    dqmCorrPfMetType1 * pfMETT1 * jetDQMAnalyzerSequence *
    HBHENoiseFilterResultProducer * CSCTightHaloFilterDQM *
    CSCTightHalo2015FilterDQM * eeBadScFilterDQM *
    EcalDeadCellTriggerPrimitiveFilterDQM *
    EcalDeadCellBoundaryEnergyFilterDQM * HcalStripHaloFilterDQM *
    METDQMAnalyzerSequence)
from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel

phase1Pixel.toReplaceWith(
    jetMETDQMOfflineSource,
    jetMETDQMOfflineSource.copyAndExclude([  # FIXME
        jetDQMAnalyzerSequence,  # Excessive printouts because 2017 doesn't have HLT yet
        METDQMAnalyzerSequence,  # Excessive printouts because 2017 doesn't have HLT yet
    ]))

jetMETDQMOfflineRedoProductsMiniAOD = cms.Sequence(
    goodOfflinePrimaryVerticesDQMforMiniAOD)

jetMETDQMOfflineSourceMiniAOD = cms.Sequence(jetDQMAnalyzerSequenceMiniAOD *
                                             METDQMAnalyzerSequenceMiniAOD)