ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HiggsAnalysis/EarlyDataStudy/scripts/merge.py
Revision: 1.1
Committed: Thu May 6 15:14:20 2010 UTC (14 years, 11 months ago) by mangano
Content type: text/x-python
Branch: MAIN
CVS Tags: V00-02-00, V00-01-03, V00-01-02, V00-01-01, V00-01-00, V00-00-01, V00-00-00, HEAD
Log Message:
first commit

File Contents

# User Rev Content
1 mangano 1.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