ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/Configuration/python/BAMBUProd_AODSIMtauembedded.py
Revision: 1.1
Committed: Wed Sep 14 15:36:06 2011 UTC (13 years, 7 months ago) by bendavid
Content type: text/x-python
Branch: MAIN
CVS Tags: Mit_025, Mit_025pre2, Mit_024b
Log Message:
hacked top level configs for tau embedding samples

File Contents

# User Rev Content
1 bendavid 1.1 # $Id: BAMBUProd_AODSIM.py,v 1.28 2011/08/22 13:24:39 bendavid 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_017'),
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('rfio:/castor/cern.ch/user/z/zeise/embedding/4_2_4p1/pfembTauTau_data_SingleMu_2011A_Aug05thRR_v1_1_116_pt0_2680_embedded.root'),
33     )
34     process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*", "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
35    
36     # other statements
37     process.GlobalTag.globaltag = 'START42_V13::All'
38    
39     process.add_(cms.Service("ObjectService"))
40    
41     process.load("MitProd.BAMBUSequences.BambuFillAODSIM_cfi")
42    
43     process.MitTreeFiller.TreeWriter.fileName = 'XX-MITDATASET-XX'
44    
45     from MitProd.TreeFiller.filltauembedded_cff import *
46     filltauembedded(process.MitTreeFiller)
47    
48     process.bambu_step = cms.Path(process.BambuFillAODSIM)
49    
50     # schedule definition
51     process.schedule = cms.Schedule(process.bambu_step)