1 |
pharris |
1.4 |
# $Id: BAMBUProd_AOD42tauembedded.py,v 1.3 2011/11/08 16:41:31 pharris 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 |
|
|
version = cms.untracked.string('Mit_017'),
|
17 |
|
|
annotation = cms.untracked.string('AOD'),
|
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 |
pharris |
1.4 |
fileNames = cms.untracked.vstring('file:/tmp/0008FF93-5F0E-E111-ACD9-002219889165.root'),
|
33 |
|
|
|
34 |
|
|
#/store/results/higgs/DoubleMu/StoreResults-DoubleMu_2011B_PR_v1_embedded_trans1_tau115_ptelec1_17had1_17_v2-f456bdbb960236e5c696adfe9b04eaae/DoubleMu/USER/StoreResults-DoubleMu_2011B_PR_v1_embedded_trans1_tau115_ptelec1_17had1_17_v2-f456bdbb960236e5c696adfe9b04eaae/0000/FC7992FD-580E-E111-B872-0023AEFDEBEC.root')
|
35 |
|
|
#/store/results/higgs/DoubleMu/StoreResults-DoubleMu_2011B_PR_v1_embedded_trans1_tau123_pttau1_18tau2_8_v2-f456bdbb960236e5c696adfe9b04eaae/DoubleMu/USER/StoreResults-DoubleMu_2011B_PR_v1_embedded_trans1_tau123_pttau1_18tau2_8_v2-f456bdbb960236e5c696adfe9b04eaae/0000/32EA7551-6C0E-E111-AAD9-001EC9F8FCF0.root'),
|
36 |
|
|
#'file:/tmp/0008FF93-5F0E-E111-ACD9-002219889165.root'),
|
37 |
|
|
#skipEvents = cms.untracked.uint32()
|
38 |
|
|
#fileNames = cms.untracked.vstring('/store/data/Run2011A/Interfill/AOD/PromptReco-v3/000/164/393/EA56AD49-A07C-E011-B1A5-003048F1C836.root')
|
39 |
|
|
#fileNames = cms.untracked.vstring('rfio:/castor/cern.ch/user/z/zeise/embedding/4_2_4p1/pfembTauTau_data_SingleMu_2011A_Aug05thRR_v1_1_116_pt0_2680_embedded.root'),
|
40 |
bendavid |
1.1 |
#skipEvents=cms.untracked.uint32(30888),
|
41 |
pharris |
1.4 |
)
|
42 |
bendavid |
1.1 |
process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*", "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
|
43 |
|
|
|
44 |
|
|
# other statements
|
45 |
|
|
process.GlobalTag.globaltag = 'GR_R_44_V6::All'
|
46 |
|
|
|
47 |
|
|
process.add_(cms.Service("ObjectService"))
|
48 |
|
|
|
49 |
pharris |
1.4 |
process.load("MitProd.BAMBUSequences42.BambuFillAOD_embed_cfi")
|
50 |
bendavid |
1.1 |
|
51 |
|
|
process.MitTreeFiller.TreeWriter.fileName = 'XX-MITDATASET-XX'
|
52 |
|
|
|
53 |
|
|
from MitProd.TreeFiller.filltauembedded_cff import *
|
54 |
|
|
filltauembedded(process.MitTreeFiller)
|
55 |
pharris |
1.3 |
process.newJetTracksAssociatorAtVertex.tracks = "tmfTracks"
|
56 |
bendavid |
1.1 |
|
57 |
|
|
process.bambu_step = cms.Path(process.BambuFillAOD)
|
58 |
|
|
|
59 |
|
|
# schedule definition
|
60 |
|
|
process.schedule = cms.Schedule(process.bambu_step)
|