ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/Configuration/python/BAMBUProd_AOD42tauembedded.py
Revision: 1.1
Committed: Sat Oct 22 15:07:33 2011 UTC (13 years, 6 months ago) by bendavid
Content type: text/x-python
Branch: MAIN
CVS Tags: Mit_025a
Log Message:
fix tau embedded configs and add 42 version

File Contents

# User Rev Content
1 bendavid 1.1 # $Id: BAMBUProd_AODtauembedded.py,v 1.1 2011/09/14 15:36:06 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('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     #fileNames = cms.untracked.vstring('/store/data/Run2011A/Interfill/AOD/PromptReco-v3/000/164/393/EA56AD49-A07C-E011-B1A5-003048F1C836.root')
33     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'),
34     #skipEvents=cms.untracked.uint32(30888),
35     )
36     process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*", "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
37    
38     # other statements
39     process.GlobalTag.globaltag = 'GR_R_44_V6::All'
40    
41     process.add_(cms.Service("ObjectService"))
42    
43     process.load("MitProd.BAMBUSequences42.BambuFillAOD_cfi")
44    
45     process.MitTreeFiller.TreeWriter.fileName = 'XX-MITDATASET-XX'
46    
47     from MitProd.TreeFiller.filltauembedded_cff import *
48     filltauembedded(process.MitTreeFiller)
49    
50     process.bambu_step = cms.Path(process.BambuFillAOD)
51    
52     # schedule definition
53     process.schedule = cms.Schedule(process.bambu_step)