1 |
import FWCore.ParameterSet.Config as cms
|
2 |
|
3 |
process = cms.Process("Demo")
|
4 |
|
5 |
process.load("FWCore.MessageService.MessageLogger_cfi")
|
6 |
|
7 |
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100) )
|
8 |
|
9 |
process.source = cms.Source("PoolSource",
|
10 |
# replace 'myfile.root' with the source file you want to use
|
11 |
fileNames = cms.untracked.vstring(
|
12 |
#'file:/uscmst1b_scratch/lpc1/3DayLifetime/mrenna/temp.root',
|
13 |
##'dcap:///pnfs/fnal.gov/usr/cms/WAX/resilient/kukarzev/PAT/TTbar_Summer10_START36_V9_S09_v1/01jul2010v1/PatTuple_1_1_GZj.root'
|
14 |
'file:PatTuple_1_1_GZj.root'
|
15 |
)
|
16 |
)
|
17 |
|
18 |
process.demo = cms.EDAnalyzer('TransMassTwo',
|
19 |
jetSrc = cms.InputTag('selectedPatJets'),
|
20 |
muonSrc= cms.InputTag('selectedPatMuons'),
|
21 |
elecSrc= cms.InputTag('selectedPatElectrons'),
|
22 |
metSrc = cms.InputTag('patMETs'),
|
23 |
useCalo = cms.bool(True)
|
24 |
)
|
25 |
|
26 |
|
27 |
process.p = cms.Path(process.demo)
|