CMS 3D CMS Logo

RelValCustoms.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
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 
RelValCustoms.harvest_only
def harvest_only(process)
Definition: RelValCustoms.py:3
RelValCustoms.validation_only
def validation_only(process)
Definition: RelValCustoms.py:6