CMS 3D CMS Logo

Validation_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 #RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
5 # mix = cms.PSet(initialSeed = cms.untracked.uint32(12345),
6 # engineName = cms.untracked.string('HepJamesRandom')
7 # ),
8 # restoreStateLabel = cms.untracked.string("randomEngineStateProducer"),
9 #)
10 
15 
17 
18 
29 # miniAOD
34 
35 prevalidationNoHLT = cms.Sequence( cms.SequencePlaceholder("mix") * globalPrevalidation * metPreValidSeq * jetPreValidSeq )
36 prevalidation = cms.Sequence( cms.SequencePlaceholder("mix") * globalPrevalidation * hltassociation * metPreValidSeq * jetPreValidSeq )
37 prevalidationLiteTracking = cms.Sequence( prevalidation )
38 prevalidationLiteTracking.replace(globalPrevalidation,globalPrevalidationLiteTracking)
39 prevalidationMiniAOD = cms.Sequence( genParticles1 * miniAODValidationSequence
40  * photonMiniAODValidationSequence * egammaValidationMiniAOD
41  * produceDenoms)
42 
43 _prevalidation_fastsim = prevalidation.copy()
44 for _entry in [hltassociation]:
45  _prevalidation_fastsim.remove(_entry)
46 from Configuration.Eras.Modifier_fastSim_cff import fastSim
47 fastSim.toReplaceWith(prevalidation,_prevalidation_fastsim)
48 
49 validationNoHLT = cms.Sequence(
50  genvalid_all
51  *globaldigisanalyze
52  *globalhitsanalyze
53  *globalrechitsanalyze
54  *globalValidation)
55 validationNoHLT.remove(condDataValidation) # foca d'ovatta !
56 validation = cms.Sequence(validationNoHLT
57  *hltvalidation)
58 
59 _validation_fastsim = validation.copy()
60 for _entry in [globaldigisanalyze,globalhitsanalyze,globalrechitsanalyze,hltvalidation]:
61  _validation_fastsim.remove(_entry)
62 from Configuration.Eras.Modifier_fastSim_cff import fastSim
63 fastSim.toReplaceWith(validation,_validation_fastsim)
64 
65 validationLiteTracking = cms.Sequence( validation )
66 validationLiteTracking.replace(globalValidation,globalValidationLiteTracking)
67 validationLiteTracking.remove(condDataValidation)
68 
69 validationMiniAOD = cms.Sequence(type0PFMEtCorrectionPFCandToVertexAssociationForValidationMiniAOD * JetValidationMiniAOD * METValidationMiniAOD * tauValidationSequenceMiniAOD)
70 
71 prevalidation_preprod = cms.Sequence( preprodPrevalidation )
72 
73 validation_preprodNoHLT = cms.Sequence(
74  genvalid_all
75  +trackingTruthValid
76  +tracksValidation
77  +METRelValSequence
78  +recoMuonValidation
79  +muIsoVal_seq
80  +muonIdValDQMSeq
81  )
82 
83 validation_preprod = cms.Sequence(
84  validation_preprodNoHLT
85  +hltvalidation_preprod
86  )
87 
88 _validation_preprod_fastsim = validation_preprod.copy()
89 for _entry in [hltvalidation_preprod]:
90  _validation_preprod_fastsim.remove(_entry)
91 from Configuration.Eras.Modifier_fastSim_cff import fastSim
92 fastSim.toReplaceWith(validation_preprod,_validation_preprod_fastsim)
93 
94 validation_prodNoHLT = cms.Sequence(
95  genvalid_all
96  )
97 
98 validation_prod = cms.Sequence(
99  validation_prodNoHLT
100  +hltvalidation_prod
101  )
102 
103 _validation_prod_fastsim = validation_prodNoHLT.copy()
104 for _entry in [hltvalidation_prod]:
105  _validation_prod_fastsim.remove(_entry)
106 from Configuration.Eras.Modifier_fastSim_cff import fastSim
107 fastSim.toReplaceWith(validation_prod,_validation_prod_fastsim)
108 
egammaValidationMiniAOD_cff
globalrechits_analyze_cfi
HLTValidation_cff
globalhits_analyze_cfi
muonValidationHLT_cff
miniAODValidation_cff
photonMiniAODValidationSequence_cff
globalValidation_cff
BasicGenValidation_cff
JetValidation_cff
muonValidation_cff
trackingTruthValidation_cfi
pfMETCorrectionType0_cfi
globaldigis_analyze_cfi
TrackValidation_cff
METRelValForDQM_cff
muonIdVal_cff
RecoTauValidation_cff
MuIsoVal_cff