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