ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/Configuration/python/BAMBUProd_AODSIMtauembedded.py
Revision: 1.7
Committed: Mon May 6 18:23:22 2013 UTC (12 years ago) by pharris
Content type: text/x-python
Branch: MAIN
CVS Tags: Mit_029c, Mit_029b
Changes since 1.6: +16 -4 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 # $Id: BAMBUProd_AODSIMtauembedded.py,v 1.6 2012/07/25 03:08:41 paus Exp $
2
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 version = cms.untracked.string('Mit_029'),
17 annotation = cms.untracked.string('AODSIM'),
18 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 Rethrow = cms.untracked.vstring('ProductNotFound'),
27 fileMode = cms.untracked.string('NOMERGE'),
28 )
29
30 # input source
31 process.source = cms.Source("PoolSource",
32 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 )
34 #process.source.inputCommands = cms.untracked.vstring("keep *",
35 # "drop *_MEtoEDMConverter_*_*",
36 # "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
37
38 # other statements
39 process.GlobalTag.globaltag = 'START53_V15::All'
40
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 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 from MitProd.TreeFiller.filltauembedded_cff import *
53 filltauembedded(process.MitTreeFiller)
54 process.MitTreeFiller.MergedConversions.checkTrackRef = cms.untracked.bool(False)
55 process.MitTreeFiller.EmbedWeight.useGenInfo = True
56
57 process.bambu_step = cms.Path(process.BambuFillAODSIM)
58 process.output = cms.OutputModule("PoolOutputModule",
59 outputCommands = cms.untracked.vstring('keep *'),
60 fileName = cms.untracked.string ("test.root")
61 )
62
63 # schedule definition
64 process.schedule = cms.Schedule(process.bambu_step)
65 process.outpath = cms.EndPath(process.output)