ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/Processing/filefi/025/mc-reco.py
Revision: 1.1
Committed: Fri Mar 30 17:46:28 2012 UTC (13 years, 1 month ago) by paus
Content type: text/x-python
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, Mit_029a, Mit_029, Mit_029_pre1, Mit_028a, Mit_028, Mit_027a, Mit_027, Mit_026, HEAD
Log Message:
Getting ready for 8 TeV data :-).

File Contents

# User Rev Content
1 paus 1.1 # $Id:#
2    
3     import FWCore.ParameterSet.Config as cms
4    
5     process = cms.Process('FILEFI')
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_025a'),
17     annotation = cms.untracked.string('RECOSIM'),
18     name = cms.untracked.string('BambuProduction')
19     )
20    
21     process.maxEvents = cms.untracked.PSet(
22     input = cms.untracked.int32(-1)
23     )
24     process.options = cms.untracked.PSet(
25     Rethrow = cms.untracked.vstring('ProductNotFound'),
26     fileMode = cms.untracked.string('NOMERGE'),
27     )
28    
29     # input source
30     process.source = cms.Source("PoolSource",
31     fileNames = cms.untracked.vstring('/store/relval/CMSSW_4_2_3/RelValProdTTbar/GEN-SIM-RECO/MC_42_V12-v2/0062/82A88DE4-FB7A-E011-B69E-001A928116CC.root')
32     )
33     process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*", "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
34    
35     # other statements
36     process.GlobalTag.globaltag = 'MC_44_V6::All'
37    
38     process.add_(cms.Service("ObjectService"))
39    
40     process.load("MitProd.BAMBUSequences.BambuFillRECOSIM_cfi")
41    
42     process.MitTreeFiller.TreeWriter.fileName = 'XX-MITDATASET-XX'
43    
44     process.bambu_step = cms.Path(process.BambuFillRECOSIM)
45    
46     # schedule definition
47     process.schedule = cms.Schedule(process.bambu_step)