Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:10

0001 from FWCore.ParameterSet.Config import *
0002 
0003 process = Process("TestRecoCandidates")
0004 
0005 process.include( "FWCore/MessageLogger/data/MessageLogger.cfi" )
0006 process.include( "SimGeneral/HepPDTESSource/data/pythiapdt.cfi")
0007 process.include( "PhysicsTools/RecoCandAlgos/data/allTrackCandidates.cfi")
0008 process.include( "PhysicsTools/RecoCandAlgos/data/allMuonTrackCandidates.cfi")
0009 process.include( "PhysicsTools/RecoCandAlgos/data/allStandAloneMuonTrackCandidates.cfi")
0010 process.include( "PhysicsTools/RecoCandAlgos/data/allElectronTrackCandidates.cfi")
0011 process.include( "PhysicsTools/RecoCandAlgos/data/allSuperClusterCandidates.cfi")
0012 
0013 process.maxEvents = untracked.PSet( input = untracked.int32(1000) )
0014 
0015 process.source = Source( "PoolSource",
0016   fileNames = untracked.vstring( "file:ZMM.root" )
0017 )
0018 
0019 process.out = OutputModule( "PoolOutputModule",
0020   fileName = untracked.string( "recocands.root" ),
0021   outputCommands= untracked.vstring(
0022     "drop *",
0023     "keep *_allTrackCandidates_*_*",
0024     "keep *_allMuonTrackCandidates_*_*",
0025     "keep *_allStandAloneMuonTrackCandidates_*_*",
0026     "keep *_allElectronTrackCandidates_*_*",
0027     "keep *_allSuperClusterCandidates_*_*"
0028   )
0029 )
0030   
0031 process.printEventNumber = OutputModule( "AsciiOutputModule" )
0032   
0033 process.p = Path( 
0034   process.allTrackCandidates *
0035   process.allMuonTrackCandidates *
0036   process.allStandAloneMuonTrackCandidates *
0037   process.allElectronTrackCandidates *
0038   process.allSuperClusterCandidates 
0039 )
0040 
0041 process.o = EndPath( 
0042   process.out * 
0043   process.printEventNumber 
0044 )