1 |
pharris |
1.34 |
# $Id: BAMBUProd_AODSIM.py,v 1.33 2012/01/15 23:26:42 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 |
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 |
bendavid |
1.19 |
version = cms.untracked.string('Mit_017'),
|
18 |
bendavid |
1.2 |
annotation = cms.untracked.string('AODSIM'),
|
19 |
bendavid |
1.1 |
name = cms.untracked.string('BambuProduction')
|
20 |
|
|
)
|
21 |
|
|
|
22 |
|
|
process.maxEvents = cms.untracked.PSet(
|
23 |
|
|
input = cms.untracked.int32(-1)
|
24 |
|
|
)
|
25 |
|
|
|
26 |
|
|
process.options = cms.untracked.PSet(
|
27 |
bendavid |
1.2 |
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 |
bendavid |
1.26 |
#fileNames = cms.untracked.vstring('/store/relval/CMSSW_4_2_3/RelValZTT/GEN-SIM-RECO/START42_V12-v2/0062/A0DB0D50-1E7B-E011-AE93-003048678B0E.root')
|
34 |
bendavid |
1.27 |
# fileNames = cms.untracked.vstring('/store/relval/CMSSW_4_2_3/RelValProdTTbar/AODSIM/MC_42_V12-v2/0067/8A939AD6-DB7B-E011-89F6-0018F3D09682.root')
|
35 |
bendavid |
1.29 |
#fileNames = cms.untracked.vstring('file:/data/blue/bendavid/423aodsim/884FBED5-AC91-E011-B64A-90E6BA442EEB.root'),
|
36 |
pharris |
1.34 |
#fileNames = cms.untracked.vstring('file:FED1A710-ED33-E111-B889-003048FFCC1E.root')
|
37 |
pharris |
1.33 |
#eos/cms/store/mc/Fall11/WJetsToLNu_TuneZ2_7TeV-madgraph-tauola/AODSIM/PU_Chamonix12_START44_V10-v2/0000/EABA4F3E-0134-E111-AFA4-0030486792DE.root')
|
38 |
bendavid |
1.31 |
#fileNames = cms.untracked.vstring('/store/relval/CMSSW_4_4_0/RelValProdTTbar/AODSIM/START44_V5-v2/0046/74C825F5-ACE6-E011-8C0D-00261894391F.root'),
|
39 |
bendavid |
1.32 |
#fileNames = cms.untracked.vstring('/store/relval/CMSSW_4_4_0/RelValProdTTbar/AODSIM/START44_V5-v2/0046/74C825F5-ACE6-E011-8C0D-00261894391F.root'),
|
40 |
pharris |
1.33 |
#fileNames = cms.untracked.vstring('file:/data/blue/bendavid/fall11test/AE775E4D-1DE8-E011-9EB7-E0CB4E553665.root'),
|
41 |
bendavid |
1.32 |
#skipEvents = cms.untracked.uint32(1740),
|
42 |
pharris |
1.34 |
fileNames = cms.untracked.vstring('/store/mc/Fall11/WJetsToLNu_TuneZ2_7TeV-madgraph-tauola/AODSIM/PU_Chamonix12_START44_V10-v2/0000/FED1A710-ED33-E111-B889-003048FFCC1E.root')
|
43 |
bendavid |
1.1 |
)
|
44 |
bendavid |
1.8 |
process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*", "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
|
45 |
bendavid |
1.1 |
|
46 |
|
|
# other statements
|
47 |
bendavid |
1.31 |
process.GlobalTag.globaltag = 'START44_V6::All'
|
48 |
bendavid |
1.1 |
|
49 |
|
|
process.add_(cms.Service("ObjectService"))
|
50 |
|
|
|
51 |
|
|
process.load("MitProd.BAMBUSequences.BambuFillAODSIM_cfi")
|
52 |
|
|
|
53 |
bendavid |
1.6 |
process.MitTreeFiller.TreeWriter.fileName = 'XX-MITDATASET-XX'
|
54 |
|
|
|
55 |
pharris |
1.34 |
#process.output = cms.OutputModule("PoolOutputModule",
|
56 |
|
|
# outputCommands = cms.untracked.vstring('keep *'),
|
57 |
|
|
# fileName = cms.untracked.string("test.root")
|
58 |
|
|
#)
|
59 |
|
|
|
60 |
|
|
|
61 |
bendavid |
1.1 |
process.bambu_step = cms.Path(process.BambuFillAODSIM)
|
62 |
|
|
# schedule definition
|
63 |
bendavid |
1.2 |
process.schedule = cms.Schedule(process.bambu_step)
|
64 |
pharris |
1.34 |
#process.outpath = cms.EndPath(process.output)
|