CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
35 
36 prevalidationNoHLT = cms.Sequence( cms.SequencePlaceholder("mix") * globalPrevalidation * metPreValidSeq * jetPreValidSeq )
37 prevalidation = cms.Sequence( cms.SequencePlaceholder("mix") * globalPrevalidation * hltassociation * metPreValidSeq * jetPreValidSeq )
38 prevalidationLiteTracking = cms.Sequence( prevalidation )
39 prevalidationLiteTracking.replace(globalPrevalidation,globalPrevalidationLiteTracking)
40 prevalidationMiniAOD = cms.Sequence( genParticles1 * miniAODValidationSequence
41  * photonMiniAODValidationSequence * egammaValidationMiniAOD
42  * produceDenoms)
43 
44 _prevalidation_fastsim = prevalidation.copy()
45 for _entry in [hltassociation]:
46  _prevalidation_fastsim.remove(_entry)
47 from Configuration.Eras.Modifier_fastSim_cff import fastSim
48 fastSim.toReplaceWith(prevalidation,_prevalidation_fastsim)
49 
50 validationNoHLT = cms.Sequence(
51  genvalid_all
52  *globaldigisanalyze
53  *globalhitsanalyze
54  *globalrechitsanalyze
55  *globalValidation)
56 validationNoHLT.remove(condDataValidation) # foca d'ovatta !
57 validation = cms.Sequence(validationNoHLT
58  *hltvalidation)
59 
60 validationNoHLTHiMix = cms.Sequence(
61  genvalid_all_hiMix
62  *globaldigisanalyze
63  *globalhitsanalyze
64  *globalrechitsanalyze
65  *globalValidation)
66 validationNoHLTHiMix.remove(condDataValidation) # foca d'ovatta !
67 validationHiMix = cms.Sequence(validationNoHLTHiMix
68  *hltvalidation)
69 
70 
71 _validation_fastsim = validation.copy()
72 for _entry in [globaldigisanalyze,globalhitsanalyze,globalrechitsanalyze,hltvalidation]:
73  _validation_fastsim.remove(_entry)
74 from Configuration.Eras.Modifier_fastSim_cff import fastSim
75 fastSim.toReplaceWith(validation,_validation_fastsim)
76 
77 validationLiteTracking = cms.Sequence( validation )
78 validationLiteTracking.replace(globalValidation,globalValidationLiteTracking)
79 validationLiteTracking.remove(condDataValidation)
80 
81 validationMiniAOD = cms.Sequence(type0PFMEtCorrectionPFCandToVertexAssociationForValidationMiniAOD * JetValidationMiniAOD * METValidationMiniAOD * tauValidationSequenceMiniAOD * bTagMiniValidationSource)
82 
83 prevalidation_preprod = cms.Sequence( preprodPrevalidation )
84 
85 validation_preprodNoHLT = cms.Sequence(
86  genvalid_all
87  +trackingTruthValid
88  +tracksValidation
89  +METRelValSequence
90  +recoMuonValidation
91  +muIsoVal_seq
92  +muonIdValDQMSeq
93  )
94 
95 validation_preprod = cms.Sequence(
96  validation_preprodNoHLT
97  +hltvalidation_preprod
98  )
99 
100 _validation_preprod_fastsim = validation_preprod.copy()
101 for _entry in [hltvalidation_preprod]:
102  _validation_preprod_fastsim.remove(_entry)
103 from Configuration.Eras.Modifier_fastSim_cff import fastSim
104 fastSim.toReplaceWith(validation_preprod,_validation_preprod_fastsim)
105 
106 validation_prodNoHLT = cms.Sequence(
107  genvalid_all
108  )
109 
110 validation_prod = cms.Sequence(
111  validation_prodNoHLT
112  +hltvalidation_prod
113  )
114 
115 _validation_prod_fastsim = validation_prodNoHLT.copy()
116 for _entry in [hltvalidation_prod]:
117  _validation_prod_fastsim.remove(_entry)
118 from Configuration.Eras.Modifier_fastSim_cff import fastSim
119 fastSim.toReplaceWith(validation_prod,_validation_prod_fastsim)
120