1 |
bendavid |
1.3 |
# $Id: BAMBUProd_AODSIM.py,v 1.2 2009/10/19 18:45:42 bendavid Exp $
|
2 |
bendavid |
1.1 |
|
3 |
|
|
import FWCore.ParameterSet.Config as cms
|
4 |
|
|
|
5 |
|
|
process = cms.Process('FILLER')
|
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 |
|
|
process.configurationMetadata = cms.untracked.PSet(
|
16 |
bendavid |
1.2 |
version = cms.untracked.string('Mit_011a'),
|
17 |
|
|
annotation = cms.untracked.string('AODSIM'),
|
18 |
bendavid |
1.1 |
name = cms.untracked.string('BambuProduction')
|
19 |
|
|
)
|
20 |
|
|
|
21 |
|
|
process.maxEvents = cms.untracked.PSet(
|
22 |
|
|
input = cms.untracked.int32(-1)
|
23 |
|
|
)
|
24 |
|
|
|
25 |
|
|
process.options = cms.untracked.PSet(
|
26 |
bendavid |
1.2 |
Rethrow = cms.untracked.vstring('ProductNotFound'),
|
27 |
|
|
fileMode = cms.untracked.string('NOMERGE'),
|
28 |
bendavid |
1.1 |
)
|
29 |
|
|
|
30 |
|
|
# input source
|
31 |
|
|
process.source = cms.Source("PoolSource",
|
32 |
|
|
fileNames = cms.untracked.vstring('file:/build/bendavid/AOD/TTbar_Summer09-MC_31X_V3_AODSIM-v1/C0258D28-A688-DE11-929F-001CC4BF6D0C.root')
|
33 |
|
|
)
|
34 |
bendavid |
1.2 |
process.source.inputCommands = cms.untracked.vstring("keep *","drop *_MEtoEDMConverter_*_*")
|
35 |
bendavid |
1.1 |
|
36 |
|
|
# other statements
|
37 |
bendavid |
1.2 |
process.GlobalTag.globaltag = 'MC_31X_V8::All'
|
38 |
bendavid |
1.1 |
|
39 |
|
|
process.add_(cms.Service("ObjectService"))
|
40 |
|
|
|
41 |
|
|
process.load("MitProd.BAMBUSequences.BambuFillAODSIM_cfi")
|
42 |
|
|
|
43 |
|
|
process.bambu_step = cms.Path(process.BambuFillAODSIM)
|
44 |
|
|
|
45 |
|
|
# schedule definition
|
46 |
bendavid |
1.2 |
process.schedule = cms.Schedule(process.bambu_step)
|