CMS 3D CMS Logo

caloparticlevalidation_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from Validation.HGCalValidation.caloparticlevalidationDefault_cfi import caloparticlevalidationDefault as _caloparticlevalidationDefault
4 caloparticlevalidation = _caloparticlevalidationDefault.clone()
5 
6 # TODO: The following would be needed to use the signal+pileup
7 # CaloParticles for premixing. However, the code uses SimVertices, and
8 # - we don't propagate pileup SimVertices (actually we don't do that even in classical mixing?)
9 # - the code will either produce garbage or throw an exception
10 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
11 premix_stage2.toModify(caloparticlevalidation,
12  caloParticles = "mixData:MergedCaloTruth"
13 )