ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/Configuration/python/BAMBUProd_RECOCosmics.py
Revision: 1.5
Committed: Thu Nov 5 21:38:09 2009 UTC (15 years, 6 months ago) by bendavid
Content type: text/x-python
Branch: MAIN
CVS Tags: Mit_012
Changes since 1.4: +2 -2 lines
Log Message:
Updated global tags and example files

File Contents

# User Rev Content
1 bendavid 1.5 # $Id: BAMBUProd_RECOCosmics.py,v 1.4 2009/11/03 15:16:39 bendavid 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     process.load('Configuration/StandardSequences/GeometryIdeal_cff')
11     process.load('Configuration/StandardSequences/MagneticField_AutoFromDBCurrent_cff')
12     process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
13     process.load('Configuration/EventContent/EventContent_cff')
14    
15     process.configurationMetadata = cms.untracked.PSet(
16 bendavid 1.4 version = cms.untracked.string('Mit_012'),
17 bendavid 1.2 annotation = cms.untracked.string('RECOCosmics'),
18 bendavid 1.1 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 bendavid 1.2 Rethrow = cms.untracked.vstring('ProductNotFound'),
27     fileMode = cms.untracked.string('NOMERGE'),
28 bendavid 1.1 )
29    
30     # input source
31     process.source = cms.Source("PoolSource",
32 bendavid 1.5 fileNames = cms.untracked.vstring('file:/build/bendavid/RECOCosmics/BeamCommissioning09Cosmics332/2E4F938E-1FCA-DE11-A197-001D09F25438.root')
33 bendavid 1.1 )
34 bendavid 1.2 process.source.inputCommands = cms.untracked.vstring("keep *","drop *_MEtoEDMConverter_*_*")
35 bendavid 1.1
36     # other statements
37 bendavid 1.4 process.GlobalTag.globaltag = 'GR09_P_V4::All'
38 bendavid 1.1
39     process.add_(cms.Service("ObjectService"))
40    
41     process.load("MitProd.BAMBUSequences.BambuFillRECOCosmics_cfi")
42    
43     process.bambu_step = cms.Path(process.BambuFillRECOCosmics)
44    
45     # schedule definition
46 bendavid 1.2 process.schedule = cms.Schedule(process.bambu_step)