1 import FWCore.ParameterSet.Config
as cms
3 primaryvertexanalyzer = cms.EDAnalyzer(
'AnotherPrimaryVertexAnalyzer',
4 pvCollection = cms.InputTag(
"offlinePrimaryVertices"),
5 firstOnly = cms.untracked.bool(
False),
6 vHistogramMakerPSet = cms.PSet(
7 trueOnly = cms.untracked.bool(
True),
8 maxLSBeforeRebin = cms.uint32(100),
9 weightThreshold = cms.untracked.double(0.5),
10 bsConstrained = cms.bool(
False),
11 histoParameters = cms.untracked.PSet(
12 nBinX = cms.untracked.uint32(200), xMin=cms.untracked.double(-1.), xMax=cms.untracked.double(1.),
13 nBinY = cms.untracked.uint32(200), yMin=cms.untracked.double(-1.), yMax=cms.untracked.double(1.),
14 nBinZ = cms.untracked.uint32(200), zMin=cms.untracked.double(-20.), zMax=cms.untracked.double(20.)
17 usePrescaleWeight = cms.bool(
False),
18 prescaleWeightProviderPSet = cms.PSet(
19 prescaleWeightVerbosityLevel = cms.uint32( 0 ),
20 prescaleWeightTriggerResults = cms.InputTag(
"TriggerResults::HLT" ),
21 prescaleWeightL1GtTriggerMenuLite = cms.InputTag(
"l1GtTriggerMenuLite" ),
22 prescaleWeightHltPaths = cms.vstring()
24 stageL1Trigger = cms.uint32(1)
26 from Configuration.Eras.Modifier_stage2L1Trigger_cff
import stage2L1Trigger
27 stage2L1Trigger.toModify(primaryvertexanalyzer, stageL1Trigger = 2)