Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-11-19 00:04:48

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 #RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0005 #        mix = cms.PSet(initialSeed = cms.untracked.uint32(12345),
0006 #                       engineName = cms.untracked.string('HepJamesRandom')
0007 #        ),
0008 #        restoreStateLabel = cms.untracked.string("randomEngineStateProducer"),
0009 #)
0010 
0011 from Validation.GlobalDigis.globaldigis_analyze_cfi import *
0012 from Validation.GlobalRecHits.globalrechits_analyze_cfi import *
0013 from Validation.GlobalHits.globalhits_analyze_cfi import *
0014 from Validation.Configuration.globalValidation_cff import *
0015 
0016 from HLTriggerOffline.Common.HLTValidation_cff import *
0017 
0018 
0019 from Validation.RecoMET.METRelValForDQM_cff import *
0020 from Validation.RecoJets.JetValidation_cff import *
0021 from JetMETCorrections.Type1MET.pfMETCorrectionType0_cfi import *
0022 from Validation.TrackingMCTruth.trackingTruthValidation_cfi import *
0023 from Validation.RecoTrack.TrackValidation_cff import *
0024 from Validation.RecoMuon.muonValidation_cff import *
0025 from Validation.MuonIsolation.MuIsoVal_cff import *
0026 from Validation.MuonIdentification.muonIdVal_cff import *
0027 from Validation.RecoMuon.muonValidationHLT_cff import *
0028 from Validation.EventGenerator.BasicGenValidation_cff import *
0029 # miniAOD
0030 from Validation.RecoParticleFlow.miniAODValidation_cff import *
0031 from Validation.RecoEgamma.photonMiniAODValidationSequence_cff import *
0032 from Validation.RecoEgamma.egammaValidationMiniAOD_cff import *
0033 from Validation.RecoTau.RecoTauValidation_cff import *
0034 from DQMOffline.RecoB.bTagMiniDQM_cff import *
0035 
0036 prevalidationNoHLT = cms.Sequence( cms.SequencePlaceholder("mix") * globalPrevalidation * metPreValidSeq * jetPreValidSeq )
0037 prevalidation = cms.Sequence( cms.SequencePlaceholder("mix") * globalPrevalidation * hltassociation * metPreValidSeq * jetPreValidSeq )
0038 prevalidationLiteTracking = cms.Sequence( prevalidation )
0039 prevalidationLiteTracking.replace(globalPrevalidation,globalPrevalidationLiteTracking)
0040 prevalidationMiniAOD = cms.Sequence( genParticles1 * miniAODValidationSequence 
0041                                     * photonMiniAODValidationSequence * egammaValidationMiniAOD
0042                                     * produceDenoms)
0043 
0044 _prevalidation_fastsim = prevalidation.copy()
0045 for _entry in [hltassociation]:
0046     _prevalidation_fastsim.remove(_entry)
0047 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0048 fastSim.toReplaceWith(prevalidation,_prevalidation_fastsim)
0049 
0050 validationNoHLT = cms.Sequence(
0051                                genvalid_all
0052                                *globaldigisanalyze
0053                                *globalhitsanalyze
0054                                *globalrechitsanalyze
0055                                *globalValidation)
0056 validationNoHLT.remove(condDataValidation) # foca d'ovatta !
0057 validation = cms.Sequence(validationNoHLT
0058                          *hltvalidation)
0059 
0060 validationNoHLTHiMix = cms.Sequence(
0061                                genvalid_all_hiMix
0062                                *globaldigisanalyze
0063                                *globalhitsanalyze
0064                                *globalrechitsanalyze
0065                                *globalValidation)
0066 validationNoHLTHiMix.remove(condDataValidation) # foca d'ovatta !
0067 validationHiMix = cms.Sequence(validationNoHLTHiMix
0068                                *hltvalidation)
0069 
0070 
0071 _validation_fastsim = validation.copy()
0072 for _entry in [globaldigisanalyze,globalhitsanalyze,globalrechitsanalyze,hltvalidation]:
0073     _validation_fastsim.remove(_entry)
0074 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0075 fastSim.toReplaceWith(validation,_validation_fastsim)
0076 
0077 validationLiteTracking = cms.Sequence( validation )
0078 validationLiteTracking.replace(globalValidation,globalValidationLiteTracking)
0079 validationLiteTracking.remove(condDataValidation)
0080 
0081 validationMiniAOD = cms.Sequence(type0PFMEtCorrectionPFCandToVertexAssociationForValidationMiniAOD * JetValidationMiniAOD * METValidationMiniAOD * tauValidationSequenceMiniAOD * bTagMiniValidationSource)
0082 
0083 prevalidation_preprod = cms.Sequence( preprodPrevalidation )
0084 
0085 validation_preprodNoHLT = cms.Sequence(
0086                             genvalid_all
0087                             +trackingTruthValid
0088                             +tracksValidation
0089                             +METRelValSequence
0090                             +recoMuonValidation
0091                             +muIsoVal_seq
0092                             +muonIdValDQMSeq
0093                           )
0094 
0095 validation_preprod = cms.Sequence(
0096                           validation_preprodNoHLT
0097                           +hltvalidation_preprod
0098                           )
0099 
0100 _validation_preprod_fastsim = validation_preprod.copy()
0101 for _entry in [hltvalidation_preprod]:
0102     _validation_preprod_fastsim.remove(_entry)
0103 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0104 fastSim.toReplaceWith(validation_preprod,_validation_preprod_fastsim)
0105 
0106 validation_prodNoHLT = cms.Sequence(
0107              genvalid_all
0108             )
0109 
0110 validation_prod = cms.Sequence(
0111              validation_prodNoHLT
0112             +hltvalidation_prod
0113             )
0114 
0115 _validation_prod_fastsim = validation_prodNoHLT.copy()
0116 for _entry in [hltvalidation_prod]:
0117     _validation_prod_fastsim.remove(_entry)
0118 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0119 fastSim.toReplaceWith(validation_prod,_validation_prod_fastsim)
0120