CMS 3D CMS Logo

trackingParticleSelector_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 trackingParticleSelector = cms.EDFilter("TrackingParticleSelector",
4  src = cms.InputTag("mix","MergedTrackTruth"),
5  chargedOnly = cms.bool(True),
6  stableOnly = cms.bool(False),
7  pdgId = cms.vint32(),
8  tip = cms.double(3.5),
9  signalOnly = cms.bool(True),
10  intimeOnly = cms.bool(False),
11  minRapidity = cms.double(-2.4),
12  lip = cms.double(30.0),
13  ptMin = cms.double(0.9),
14  ptMax = cms.double(1e100),
15  maxRapidity = cms.double(2.4),
16  minHit = cms.int32(0),
17  minPhi = cms.double(-3.2),
18  maxPhi = cms.double(3.2),
19 )
20 
21 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
22 premix_stage2.toModify(trackingParticleSelector, src = "mixData:MergedTrackTruth")