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