1 |
bendavid |
1.6 |
# $Id: BAMBUProd_RECOCosmics.py,v 1.5 2009/11/05 21:38:09 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.6 |
process.GlobalTag.globaltag = 'GR09_P_V5::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)
|