1 |
paus |
1.2 |
# $Id: BAMBUProd_AODSIM42.py,v 1.1 2011/10/09 14:15:32 bendavid Exp $
|
2 |
bendavid |
1.1 |
|
3 |
|
|
import FWCore.ParameterSet.Config as cms
|
4 |
|
|
|
5 |
paus |
1.2 |
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 |
|
|
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.2 |
version = cms.untracked.string('Mit_025a'),
|
17 |
bendavid |
1.1 |
annotation = cms.untracked.string('AODSIM'),
|
18 |
paus |
1.2 |
name = cms.untracked.string('BambuProduction')
|
19 |
bendavid |
1.1 |
)
|
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/relval/CMSSW_4_2_3/RelValZTT/GEN-SIM-RECO/START42_V12-v2/0062/A0DB0D50-1E7B-E011-AE93-003048678B0E.root')
|
33 |
|
|
# fileNames = cms.untracked.vstring('/store/relval/CMSSW_4_2_3/RelValProdTTbar/AODSIM/MC_42_V12-v2/0067/8A939AD6-DB7B-E011-89F6-0018F3D09682.root')
|
34 |
|
|
#fileNames = cms.untracked.vstring('file:/data/blue/bendavid/423aodsim/884FBED5-AC91-E011-B64A-90E6BA442EEB.root'),
|
35 |
|
|
#fileNames = cms.untracked.vstring('/store/mc/Fall11/TTJets_TuneZ2_7TeV-madgraph-tauola/AODSIM/RecoTest_PU_S5_START44_V4-v1/0000/1E2427EB-DACF-E011-A967-0026189438BA.root'),
|
36 |
|
|
#fileNames = cms.untracked.vstring('/store/relval/CMSSW_4_4_0/RelValProdTTbar/AODSIM/START44_V5-v2/0046/74C825F5-ACE6-E011-8C0D-00261894391F.root'),
|
37 |
|
|
fileNames = cms.untracked.vstring('file:/data/blue/bendavid/423aodsim/884FBED5-AC91-E011-B64A-90E6BA442EEB.root'),
|
38 |
|
|
# skipEvents = cms.untracked.uint32(861),
|
39 |
|
|
)
|
40 |
|
|
process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*", "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
|
41 |
|
|
|
42 |
|
|
# other statements
|
43 |
|
|
process.GlobalTag.globaltag = 'START44_V6::All'
|
44 |
|
|
|
45 |
|
|
process.add_(cms.Service("ObjectService"))
|
46 |
|
|
|
47 |
|
|
process.load("MitProd.BAMBUSequences42.BambuFillAODSIM_cfi")
|
48 |
|
|
|
49 |
|
|
process.MitTreeFiller.TreeWriter.fileName = 'XX-MITDATASET-XX'
|
50 |
|
|
|
51 |
|
|
process.bambu_step = cms.Path(process.BambuFillAODSIM)
|
52 |
|
|
|
53 |
|
|
# schedule definition
|
54 |
|
|
process.schedule = cms.Schedule(process.bambu_step)
|