ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/Configuration/python/BAMBUProd_MCONLY.py
Revision: 1.5
Committed: Mon May 10 20:48:18 2010 UTC (14 years, 11 months ago) by bendavid
Content type: text/x-python
Branch: MAIN
CVS Tags: Mit_025c_branch2, Mit_025c_branch1, Mit_025c_branch0, Mit_025e, Mit_025d, Mit_025c, Mit_025b, Mit_025a, Mit_025, Mit_025pre2, Mit_024b, Mit_025pre1, Mit_024a, Mit_024, Mit_023, Mit_022a, Mit_022, Mit_020d, TMit_020d, Mit_020c, Mit_021, Mit_021pre2, Mit_021pre1, Mit_020b, Mit_020a, Mit_020, Mit_020pre1, Mit_018, Mit_017, Mit_017pre3, Mit_017pre2, Mit_017pre1, Mit_016, Mit_015b, Mit_015a, Mit_015, Mit_014e, Mit_014d, Mit_014c, Mit_014b, Mit_014a, Mit_014, Mit_014pre3, Mit_014pre2, Mit_014pre1
Branch point for: Mit_025c_branch
Changes since 1.4: +1 -1 lines
Log Message:
Update top level configs

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 bendavid 1.5 version = cms.untracked.string('Mit_014'),
13 loizides 1.1 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 loizides 1.2 # fileNames = cms.untracked.vstring('file:/home/loizides/work/cms/CMSSW_3_3_5/src/phojet.root')
29     fileNames = cms.untracked.vstring('file:/home/loizides/work/cms/CMSSW_3_3_5/src/p8mb.root')
30 loizides 1.1 )
31     process.source.inputCommands = cms.untracked.vstring("keep *",
32     "drop *_MEtoEDMConverter_*_*",
33     "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
34    
35     process.add_(cms.Service("ObjectService"))
36    
37     process.load('MitProd/TreeFiller/MitTreeFiller_cfi')
38     process.MitTreeFiller.fillers = ('MetaInfos',
39     'MCParticles',
40     'MCEventInfo',
41     'MCVertexes'
42     )
43    
44     process.MitTreeFiller.TreeWriter.fileName = 'bambu'
45     process.MitTreeFiller.MetaInfos.l1Active = False
46     process.MitTreeFiller.MetaInfos.hltActive = False
47     process.MitTreeFiller.MCParticles.active = True
48     process.MitTreeFiller.MCParticles.simActive = False
49     process.MitTreeFiller.MCParticles.useAodGen = False
50 loizides 1.2 process.MitTreeFiller.MCParticles.genEdmName = 'generator'
51     #process.MitTreeFiller.MCParticles.genEdmName = 'source'
52 loizides 1.1 process.MitTreeFiller.MCEventInfo.active = True
53 loizides 1.2 process.MitTreeFiller.MCEventInfo.genHepMCEventEdmName = 'generator'
54     #process.MitTreeFiller.MCEventInfo.genHepMCEventEdmName = 'source'
55 loizides 1.1 process.MitTreeFiller.MCVertexes.active = True
56     process.MitTreeFiller.MCVertexes.useAodGen = False
57 loizides 1.2 process.MitTreeFiller.MCVertexes.edmName = 'generator'
58     #process.MitTreeFiller.MCVertexes.edmName = 'source'
59 loizides 1.1
60     process.bambu_step = cms.Path(process.MitTreeFiller)
61    
62     # schedule definition
63     process.schedule = cms.Schedule(process.bambu_step)