Skip to content

Commit

Permalink
Customize function to provide a minimal configuration for profiling (#…
Browse files Browse the repository at this point in the history
…106)

Can be included with the following snippet in the configuration:

    from RecoPixelVertexing.Configuration.customizePixelTracksForProfiling import customizePixelTracksForProfiling
    process = customizePixelTracksForProfiling(process)

Removes validation, DQM, and output modules.
As suggested in #70 (comment), an `AsciiOutputModule` is used to require the `pixelTracks`.
  • Loading branch information
fwyzard committed Nov 27, 2020
1 parent 4fb8c20 commit e04f5a7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def customizePixelTracksForProfiling(process):
),
verbosity = cms.untracked.uint32(0),
)

process.outPath = cms.EndPath(process.out)

process.schedule = cms.Schedule(process.raw2digi_step, process.reconstruction_step, process.outPath)
Expand Down

0 comments on commit e04f5a7

Please sign in to comment.