1 |
import FWCore.ParameterSet.Config as cms
|
2 |
|
3 |
process = cms.Process("MERGE")
|
4 |
|
5 |
### standard includes
|
6 |
process.load("FWCore.MessageService.MessageLogger_cfi")
|
7 |
#process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
|
8 |
process.options = cms.untracked.PSet(wantSummary = cms.untracked.bool(True))
|
9 |
|
10 |
### global tag
|
11 |
#process.GlobalTag.globaltag = "GR09_R_35X_V3::All"
|
12 |
|
13 |
|
14 |
### source
|
15 |
process.source = cms.Source("PoolSource",
|
16 |
fileNames = cms.untracked.vstring(
|
17 |
#put your input files here
|
18 |
)
|
19 |
)
|
20 |
|
21 |
### avoid complains if the events are not sorted
|
22 |
process.source.noEventSort = cms.untracked.bool(True)
|
23 |
|
24 |
### number of events
|
25 |
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
|
26 |
|
27 |
|
28 |
### path
|
29 |
#process.p = cms.Path(
|
30 |
#)
|
31 |
|
32 |
|
33 |
### output
|
34 |
process.out = cms.OutputModule("PoolOutputModule",
|
35 |
fileName = cms.untracked.string('merged.root'),
|
36 |
outputCommands = cms.untracked.vstring('keep *',
|
37 |
# 'keep *_whatever_*_*'
|
38 |
# 'drop *_whatever_*_*'
|
39 |
),
|
40 |
## Uncomment to activate skimming!
|
41 |
#SelectEvents = cms.untracked.PSet( SelectEvents = cms.vstring('p') )
|
42 |
)
|
43 |
process.e = cms.EndPath(process.out)
|
44 |
|
45 |
|
46 |
|