ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/Processing/filefi/020/data.py
Revision: 1.2
Committed: Wed Mar 30 09:57:50 2011 UTC (14 years, 1 month ago) by ceballos
Content type: text/x-python
Branch: MAIN
CVS Tags: Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b
Changes since 1.1: +2 -5 lines
Log Message:
correct config

File Contents

# User Rev Content
1 ceballos 1.2 # $Id: data.py,v 1.1 2011/03/22 02:43:52 paus Exp $
2 paus 1.1
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_020'),
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('file:/data/blue/bendavid/395aod/72317619-2C00-E011-B788-001A92810AC4.root')
33     )
34     process.source.inputCommands = cms.untracked.vstring("keep *", "drop *_MEtoEDMConverter_*_*", "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
35    
36     # other statements
37 ceballos 1.2 process.GlobalTag.globaltag = 'GR_P_V14::All'
38 paus 1.1
39     process.add_(cms.Service("ObjectService"))
40    
41     process.load("MitProd.BAMBUSequences.BambuFillAOD_cfi")
42    
43     process.MitTreeFiller.TreeWriter.fileName = 'XX-MITDATASET-XX'
44     process.MitTreeFiller.TreeWriter.maxSize = cms.untracked.uint32(1790)
45    
46     process.bambu_step = cms.Path(process.BambuFillAOD)
47    
48     # schedule definition
49     process.schedule = cms.Schedule(process.bambu_step)