1 |
pharris |
1.7 |
# $Id: BAMBUProd_AODSIMtauembedded.py,v 1.6 2012/07/25 03:08:41 paus 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.GeometryDB_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 |
paus |
1.6 |
version = cms.untracked.string('Mit_029'),
|
17 |
paus |
1.3 |
annotation = cms.untracked.string('AODSIM'),
|
18 |
|
|
name = cms.untracked.string('BambuProduction')
|
19 |
bendavid |
1.1 |
)
|
20 |
|
|
|
21 |
|
|
process.maxEvents = cms.untracked.PSet(
|
22 |
paus |
1.3 |
input = cms.untracked.int32(-1)
|
23 |
bendavid |
1.1 |
)
|
24 |
|
|
|
25 |
|
|
process.options = cms.untracked.PSet(
|
26 |
paus |
1.3 |
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 |
pharris |
1.7 |
fileNames = cms.untracked.vstring('/store/results/higgs/DoubleMuParked/StoreResults-Run2012D_22Jan2013_v1_RHembedded_trans1_tau115_ptelec1_20had1_18_v1-f456bdbb960236e5c696adfe9b04eaae/DoubleMuParked/USER/StoreResults-Run2012D_22Jan2013_v1_RHembedded_trans1_tau115_ptelec1_20had1_18_v1-f456bdbb960236e5c696adfe9b04eaae/0000/1AB39CBC-B7B0-E211-BDE0-00266CF3DFE0.root')
|
33 |
bendavid |
1.1 |
)
|
34 |
pharris |
1.5 |
#process.source.inputCommands = cms.untracked.vstring("keep *",
|
35 |
|
|
# "drop *_MEtoEDMConverter_*_*",
|
36 |
|
|
# "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
|
37 |
bendavid |
1.1 |
|
38 |
|
|
# other statements
|
39 |
pharris |
1.7 |
process.GlobalTag.globaltag = 'START53_V15::All'
|
40 |
bendavid |
1.1 |
|
41 |
|
|
process.add_(cms.Service("ObjectService"))
|
42 |
|
|
|
43 |
|
|
process.load("MitProd.BAMBUSequences.BambuFillAODSIM_cfi")
|
44 |
|
|
|
45 |
|
|
process.MitTreeFiller.TreeWriter.fileName = 'XX-MITDATASET-XX'
|
46 |
|
|
|
47 |
pharris |
1.7 |
process.load('TauAnalysis/MCEmbeddingTools/embeddingKineReweight_cff')
|
48 |
|
|
process.embeddingKineReweightRECembedding.inputFileName = cms.FileInPath('TauAnalysis/MCEmbeddingTools/data/embeddingKineReweight_recEmbedding_mutau.root')
|
49 |
|
|
# process.embeddingKineReweightRECembedding.inputFileName = cms.FileInPath('TauAnalysis/MCEmbeddingTools/data/embeddingKineReweight_recEmbedding_etau.root')
|
50 |
|
|
# process.embeddingKineReweightRECembedding.inputFileName = cms.FileInPath('TauAnalysis/MCEmbeddingTools/data/embeddingKineReweight_recEmbedding_emu.root')
|
51 |
|
|
|
52 |
bendavid |
1.1 |
from MitProd.TreeFiller.filltauembedded_cff import *
|
53 |
|
|
filltauembedded(process.MitTreeFiller)
|
54 |
pharris |
1.7 |
process.MitTreeFiller.MergedConversions.checkTrackRef = cms.untracked.bool(False)
|
55 |
|
|
process.MitTreeFiller.EmbedWeight.useGenInfo = True
|
56 |
|
|
|
57 |
bendavid |
1.1 |
process.bambu_step = cms.Path(process.BambuFillAODSIM)
|
58 |
pharris |
1.7 |
process.output = cms.OutputModule("PoolOutputModule",
|
59 |
|
|
outputCommands = cms.untracked.vstring('keep *'),
|
60 |
|
|
fileName = cms.untracked.string ("test.root")
|
61 |
|
|
)
|
62 |
bendavid |
1.1 |
|
63 |
|
|
# schedule definition
|
64 |
|
|
process.schedule = cms.Schedule(process.bambu_step)
|
65 |
pharris |
1.7 |
process.outpath = cms.EndPath(process.output)
|