Skip to content

Commit

Permalink
include GeneralPurposeVertexAnalyzer to unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Apr 18, 2023
1 parent 2ee270b commit 3d4fbc6
Showing 1 changed file with 29 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -376,10 +376,33 @@ def switchClusterizerParameters(da):
###################################################################
# The analysis module
###################################################################
process.myanalysis = cms.EDAnalyzer("GeneralPurposeTrackAnalyzer",
TkTag = cms.InputTag('FinalTrackRefitter'),
isCosmics = cms.bool(False)
)
process.trackanalysis = cms.EDAnalyzer("GeneralPurposeTrackAnalyzer",
TkTag = cms.InputTag('FinalTrackRefitter'),
isCosmics = cms.bool(False))

process.vertexanalysis = cms.EDAnalyzer('GeneralPurposeVertexAnalyzer',
ndof = cms.int32(4),
vertexLabel = cms.InputTag('offlinePrimaryVerticesFromRefittedTrks'),
beamSpotLabel = cms.InputTag('offlineBeamSpot'),
Xpos = cms.double(0.1),
Ypos = cms.double(0),
TkSizeBin = cms.int32(100),
TkSizeMin = cms.double(499.5),
TkSizeMax = cms.double(-0.5),
DxyBin = cms.int32(100),
DxyMin = cms.double(5000),
DxyMax = cms.double(-5000),
DzBin = cms.int32(100),
DzMin = cms.double(-2000),
DzMax = cms.double(2000),
PhiBin = cms.int32(32),
PhiBin2D = cms.int32(12),
PhiMin = cms.double(-3.1415926535897931),
PhiMax = cms.double(3.1415926535897931),
EtaBin = cms.int32(26),
EtaBin2D = cms.int32(8),
EtaMin = cms.double(-2.7),
EtaMax = cms.double(2.7))

###################################################################
# The PV resolution module
Expand All @@ -398,5 +421,6 @@ def switchClusterizerParameters(da):
process.seqTrackselRefit +
process.offlinePrimaryVerticesFromRefittedTrks +
process.PrimaryVertexResolution +
process.myanalysis
process.trackanalysis +
process.vertexanalysis
)

0 comments on commit 3d4fbc6

Please sign in to comment.