ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/Configuration/python/BAMBUProd_MCONLY.py
Revision: 1.1
Committed: Mon Jan 4 20:16:02 2010 UTC (15 years, 4 months ago) by loizides
Content type: text/x-python
Branch: MAIN
Log Message:
For quick checks.

File Contents

# User Rev Content
1 loizides 1.1 # $Id:#
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    
11     process.configurationMetadata = cms.untracked.PSet(
12     version = cms.untracked.string('Mit_012d'),
13     annotation = cms.untracked.string('MCONLY'),
14     name = cms.untracked.string('BambuProduction')
15     )
16    
17     process.maxEvents = cms.untracked.PSet(
18     input = cms.untracked.int32(-1)
19     )
20    
21     process.options = cms.untracked.PSet(
22     Rethrow = cms.untracked.vstring('ProductNotFound'),
23     fileMode = cms.untracked.string('NOMERGE'),
24     )
25    
26     # input source
27     process.source = cms.Source("PoolSource",
28     fileNames = cms.untracked.vstring('file:/home/loizides/work/cms/CMSSW_3_3_5/src/phojet.root')
29     )
30     process.source.inputCommands = cms.untracked.vstring("keep *",
31     "drop *_MEtoEDMConverter_*_*",
32     "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
33    
34     process.add_(cms.Service("ObjectService"))
35    
36     process.load('MitProd/TreeFiller/MitTreeFiller_cfi')
37     process.MitTreeFiller.fillers = ('MetaInfos',
38     'MCParticles',
39     'MCEventInfo',
40     'MCVertexes'
41     )
42    
43     process.MitTreeFiller.TreeWriter.fileName = 'bambu'
44     process.MitTreeFiller.MetaInfos.l1Active = False
45     process.MitTreeFiller.MetaInfos.hltActive = False
46     process.MitTreeFiller.MCParticles.active = True
47     process.MitTreeFiller.MCParticles.simActive = False
48     process.MitTreeFiller.MCParticles.useAodGen = False
49     process.MitTreeFiller.MCParticles.genEdmName = 'source'
50     process.MitTreeFiller.MCEventInfo.active = True
51     process.MitTreeFiller.MCEventInfo.genHepMCEventEdmName = 'source'
52     process.MitTreeFiller.MCVertexes.active = True
53     process.MitTreeFiller.MCVertexes.useAodGen = False
54     process.MitTreeFiller.MCVertexes.edmName = 'source'
55    
56     process.bambu_step = cms.Path(process.MitTreeFiller)
57    
58     # schedule definition
59     process.schedule = cms.Schedule(process.bambu_step)