Skip to content

Commit

Permalink
Add testTrackDumper_cfg.py
Browse files Browse the repository at this point in the history
  • Loading branch information
trtomei authored Apr 14, 2022
1 parent ed6d507 commit b5da460
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions testTrackDumper_cfg.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import FWCore.ParameterSet.Config as cms

# process
process = cms.Process("TEST")

# number of events to be processed and source file
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(400)
)

process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring('/store/relval/CMSSW_12_2_0/RelValTTbar_14TeV/GEN-SIM-RECO/122X_mcRun3_2021_realistic_v5-v2/2580000/ac85ff65-dcea-4e7d-9995-d512f4bdafcf.root'
)
)

process.trackPrinter = cms.EDAnalyzer("TrackDumper",
tracks = cms.untracked.InputTag("generalTracks")
)

process.p = cms.Path(process.trackPrinter)

process.TFileService = cms.Service("TFileService",
fileName = cms.string("histo.root"),
closeFileFast = cms.untracked.bool(True)
)

0 comments on commit b5da460

Please sign in to comment.