1 |
bendavid |
1.1 |
# $Id:#
|
2 |
|
|
|
3 |
|
|
import FWCore.ParameterSet.Config as cms
|
4 |
|
|
|
5 |
|
|
process = cms.Process('ANALYZER')
|
6 |
|
|
|
7 |
|
|
# import of standard configurations
|
8 |
|
|
process.load('Configuration/StandardSequences/Services_cff')
|
9 |
|
|
process.load('FWCore/MessageService/MessageLogger_cfi')
|
10 |
|
|
process.load('Configuration/StandardSequences/GeometryIdeal_cff')
|
11 |
|
|
process.load('Configuration/StandardSequences/MagneticField_38T_cff')
|
12 |
|
|
process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
|
13 |
|
|
process.load('Configuration/EventContent/EventContent_cff')
|
14 |
|
|
|
15 |
|
|
|
16 |
|
|
process.maxEvents = cms.untracked.PSet(
|
17 |
|
|
input = cms.untracked.int32(-1)
|
18 |
|
|
)
|
19 |
|
|
process.options = cms.untracked.PSet(
|
20 |
|
|
Rethrow = cms.untracked.vstring('ProductNotFound'),
|
21 |
|
|
fileMode = cms.untracked.string('NOMERGE'),
|
22 |
|
|
)
|
23 |
|
|
|
24 |
|
|
# input source
|
25 |
|
|
process.source = cms.Source("PoolSource",
|
26 |
|
|
fileNames = cms.untracked.vstring('file:/server/02a/bendavid/ttbarSpring10/F65B25B3-AA4E-DF11-AD8A-001E0B5FC422.root'),
|
27 |
|
|
)
|
28 |
|
|
process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*")
|
29 |
|
|
|
30 |
|
|
# other statements
|
31 |
|
|
|
32 |
|
|
process.GlobalTag.globaltag = 'START36_V9::All'
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
process.load("MitEdm.Producers.conversionRejection_cff")
|
36 |
|
|
process.load("MitEdm.ConversionRejection.conversionRejectionExample_cfi")
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
#process.MitTreeFiller.TreeWriter.fileName = 'XX-MITDATASET-XX'
|
40 |
|
|
|
41 |
|
|
process.conv_step = cms.Path(process.conversionRejection*process.conversionRejectionAnalyzer)
|
42 |
|
|
|
43 |
|
|
# schedule definition
|
44 |
|
|
process.schedule = cms.Schedule(process.conv_step)
|