Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:13:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Analysis")
0004 
0005 # run the input file through the end;
0006 # for a limited number of events, replace -1 with the desired number 
0007 #
0008 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
0009 
0010 process.load( "SimGeneral.HepPDTESSource.pythiapdt_cfi" )
0011 
0012 process.source = cms.Source( "PoolSource",
0013                              fileNames = cms.untracked.vstring(
0014                  'file:PythiaH190ZZ4mu_cfi_py_GEN.root'
0015                  )
0016                            )
0017           
0018 # FileService is mandatory, as the following analyzer module 
0019 # will want it, to create output histogram file
0020 # 
0021 process.TFileService = cms.Service("TFileService",
0022         fileName = cms.string("TestH190ZZ4muMass.root")
0023 )
0024 
0025 # the analyzer itself - empty parameter set 
0026 #
0027 process.TestHepMCEvt = cms.EDAnalyzer( "HZZ4muExampleAnalyzer" )
0028 
0029 process.p1 = cms.Path( process.TestHepMCEvt )
0030