CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
test_cfg.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 process = cms.Process("L1Val")
4 
5 process.load("Validation.L1T.L1Validator_cfi")
6 process.load("FWCore.MessageService.MessageLogger_cfi")
7 
8 process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(10000) )
9 
10 process.source = cms.Source("PoolSource",
11  # replace 'myfile.root' with the source file you want to use
12  fileNames = cms.untracked.vstring(
13 # 'file:step2_RAW2DIGI_RECO_VALIDATION_DQM.root'
14  '/store/relval/CMSSW_6_2_0_pre8/RelValZMM/GEN-SIM-DIGI-RAW-HLTDEBUG/PRE_ST62_V8-v1/00000/3AFDBE70-E2E0-E211-B9A5-003048F179C2.root'
15 # '/store/relval/CMSSW_7_0_0_pre1/RelValZMM/GEN-SIM-DIGI-RAW-HLTDEBUG/PRE_ST62_V8-v1/00000/A8B55F84-2E0F-E311-8F27-003048D15E24.root'
16  )
17 )
18 
19 process.p = cms.Path(process.L1Validator)