1 |
paus |
1.38 |
# $Id: BAMBUProd_AODSIM.py,v 1.37 2012/05/12 13:31:17 paus Exp $
|
2 |
bendavid |
1.1 |
|
3 |
|
|
import FWCore.ParameterSet.Config as cms
|
4 |
|
|
|
5 |
paus |
1.35 |
process = cms.Process('FILEFI')
|
6 |
bendavid |
1.1 |
|
7 |
|
|
# import of standard configurations
|
8 |
|
|
process.load('Configuration/StandardSequences/Services_cff')
|
9 |
|
|
process.load('FWCore/MessageService/MessageLogger_cfi')
|
10 |
bendavid |
1.18 |
process.load('Configuration.StandardSequences.GeometryDB_cff')
|
11 |
bendavid |
1.1 |
process.load('Configuration/StandardSequences/MagneticField_38T_cff')
|
12 |
|
|
process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
|
13 |
|
|
process.load('Configuration/EventContent/EventContent_cff')
|
14 |
pharris |
1.33 |
process.load('RecoVertex/PrimaryVertexProducer/OfflinePrimaryVertices_cfi')
|
15 |
|
|
|
16 |
bendavid |
1.1 |
process.configurationMetadata = cms.untracked.PSet(
|
17 |
paus |
1.38 |
version = cms.untracked.string('Mit_028'),
|
18 |
paus |
1.36 |
annotation = cms.untracked.string('AODSIM'),
|
19 |
|
|
name = cms.untracked.string('BambuProduction')
|
20 |
bendavid |
1.1 |
)
|
21 |
|
|
|
22 |
|
|
process.maxEvents = cms.untracked.PSet(
|
23 |
paus |
1.36 |
input = cms.untracked.int32(-1)
|
24 |
bendavid |
1.1 |
)
|
25 |
|
|
|
26 |
|
|
process.options = cms.untracked.PSet(
|
27 |
paus |
1.36 |
Rethrow = cms.untracked.vstring('ProductNotFound'),
|
28 |
|
|
fileMode = cms.untracked.string('NOMERGE'),
|
29 |
bendavid |
1.1 |
)
|
30 |
|
|
|
31 |
|
|
# input source
|
32 |
|
|
process.source = cms.Source("PoolSource",
|
33 |
paus |
1.36 |
fileNames = cms.untracked.vstring('/store/relval/CMSSW_5_2_2/RelValProdTTbar/GEN-SIM-RECO/START52_V4-v1/0004/DCA3A2E4-C973-E111-9839-003048F1183E.root')
|
34 |
|
|
)
|
35 |
paus |
1.35 |
|
36 |
paus |
1.36 |
process.source.inputCommands = cms.untracked.vstring("keep *",
|
37 |
|
|
"drop *_MEtoEDMConverter_*_*",
|
38 |
|
|
"drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
|
39 |
bendavid |
1.1 |
|
40 |
|
|
# other statements
|
41 |
paus |
1.37 |
process.GlobalTag.globaltag = 'START52_V9::All'
|
42 |
bendavid |
1.1 |
|
43 |
|
|
process.add_(cms.Service("ObjectService"))
|
44 |
|
|
|
45 |
|
|
process.load("MitProd.BAMBUSequences.BambuFillAODSIM_cfi")
|
46 |
|
|
|
47 |
bendavid |
1.6 |
process.MitTreeFiller.TreeWriter.fileName = 'XX-MITDATASET-XX'
|
48 |
|
|
|
49 |
pharris |
1.34 |
#process.output = cms.OutputModule("PoolOutputModule",
|
50 |
|
|
# outputCommands = cms.untracked.vstring('keep *'),
|
51 |
paus |
1.36 |
# fileName = cms.untracked.string ("test.root")
|
52 |
pharris |
1.34 |
#)
|
53 |
|
|
|
54 |
|
|
|
55 |
bendavid |
1.1 |
process.bambu_step = cms.Path(process.BambuFillAODSIM)
|
56 |
|
|
# schedule definition
|
57 |
bendavid |
1.2 |
process.schedule = cms.Schedule(process.bambu_step)
|
58 |
pharris |
1.34 |
#process.outpath = cms.EndPath(process.output)
|