CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RelValCustoms.py
Go to the documentation of this file.
2 
3 def harvest_only(process):
4  process.validationHarvesting.remove(process.hltpostvalidation)
5 
6 def validation_only(process):
7  process.trackMCMatchSequence.remove(process.assoc2secStepTk)
8  process.trackMCMatchSequence.remove(process.assoc2thStepTk)
9  process.trackMCMatchSequence.remove(process.assoc2GsfTracks)
10  process.only_validation_and_TP = cms.Sequence(process.mix
11  *process.trackingParticles
12  *process.tracksValidation
13  *process.recoMuonValidation
14  *process.HLTMuonVal
15  )
16  process.validation_step.replace(process.validation,process.only_validation_and_TP)
17