ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/MitProd/Configuration/python/BAMBUProd_PFAOD.py
Revision: 1.1
Committed: Mon Dec 31 11:55:18 2012 UTC (12 years, 4 months ago) by pharris
Content type: text/x-python
Branch: MAIN
CVS Tags: Mit_032, Mit_031, Mit_030, Mit_029c, Mit_029b, Mit_030_pre1, HEAD
Log Message:
add data

File Contents

# User Rev Content
1 pharris 1.1
2     # $Id: BAMBUProd_PFAOD.py,v 1.1 2012/12/28 17:38:37 pharris Exp $
3    
4     import FWCore.ParameterSet.Config as cms
5    
6     process = cms.Process('FILEFI')
7    
8     # import of standard configurations
9     process.load('Configuration/StandardSequences/Services_cff')
10     process.load('FWCore/MessageService/MessageLogger_cfi')
11     process.load('Configuration.StandardSequences.GeometryDB_cff')
12     process.load('Configuration/StandardSequences/MagneticField_38T_cff')
13     process.load('Configuration/StandardSequences/FrontierConditions_GlobalTag_cff')
14     process.load('Configuration/EventContent/EventContent_cff')
15     process.load('RecoVertex/PrimaryVertexProducer/OfflinePrimaryVertices_cfi')
16    
17     process.configurationMetadata = cms.untracked.PSet(
18     version = cms.untracked.string('Mit_029'),
19     annotation = cms.untracked.string('AOD'),
20     name = cms.untracked.string('BambuProduction')
21     )
22    
23     process.maxEvents = cms.untracked.PSet(
24     input = cms.untracked.int32(-1)
25     )
26    
27     process.options = cms.untracked.PSet(
28     Rethrow = cms.untracked.vstring('ProductNotFound'),
29     fileMode = cms.untracked.string('NOMERGE'),
30     )
31    
32     # input source
33     process.source = cms.Source("PoolSource",
34     fileNames = cms.untracked.vstring('file:PFAOD_99.root')#/store/cmst3/group/cmgtools/CMG/GluGluToHToTauTau_M-125_8TeV-powheg-pythia6/Summer12_DR53X-PU_S10_START53_V7A-v1/AODSIM/V5_B/PFAOD_95_1_UfF.root')
35     )
36    
37     process.source.inputCommands = cms.untracked.vstring("keep *")#,
38     # "drop *_MEtoEDMConverter_*_*",
39     # "drop L1GlobalTriggerObjectMapRecord_hltL1GtObjectMap__HLT")
40    
41     # other statements
42     process.GlobalTag.globaltag = 'START53_V15::All'
43    
44     process.add_(cms.Service("ObjectService"))
45    
46     process.load("MitProd.BAMBUSequences.BambuFillAOD_cfi")
47    
48     process.MitTreeFiller.TreeWriter.fileName = 'XX-MITDATASET-XX'
49     process.MitTreeFiller.ElectronsStable.active = True
50     process.MitTreeFiller.GsfElectronsStable.active = True
51     process.MitTreeFiller.ConversionStepElectronsStable.active = True
52    
53    
54     process.MitTreeFiller.Conversions.active = False
55     process.MitTreeFiller.ConversionInOutTracks.active = False
56     process.MitTreeFiller.ConversionInOutElectronsStable.active = False
57     process.MitTreeFiller.ConversionOutInTracks.active = False
58     process.MitTreeFiller.ConversionOutInElectronsStable.active = False
59     process.MitTreeFiller.MergedConversions.active = True
60     process.MitTreeFiller.MergedConversions.checkTrackRef = cms.untracked.bool(False)
61     process.MitTreeFiller.MergedConversions.stablePartMaps = cms.untracked.vstring('ElectronsStableTrackMapName',
62     'ElectronsStableGsfTrackMapName',
63     'ElectronsStableConvStepTrackMapName'
64     )
65     process.MitTreeFiller.PFPhotonSuperClusters.active = False
66     process.MitTreeFiller.PFPhotonConversions.active = False
67     process.MitTreeFiller.PFPhotons.active = False
68    
69     process.MitTreeFiller.Kt4Jets.active = False
70     process.MitTreeFiller.Kt6Jets.active = False
71     process.MitTreeFiller.AKt5Jets.active = False
72     process.MitTreeFiller.AKt7Jets.active = False
73     process.MitTreeFiller.AKt5TrackJets.active = False
74     process.MitTreeFiller.Kt4PFJets.active = False
75     process.MitTreeFiller.Kt6PFJets.active = False
76     process.MitTreeFiller.AKt7PFJets.active = False
77     process.MitTreeFiller.TCMet.active = False
78     process.MitTreeFiller.CaloTaus.active = False
79     process.MitTreeFiller.ShrinkingConePFTaus.active = False
80     process.MitTreeFiller.PFTaus.active = False
81     process.MitTreeFiller.HPSTaus.trackMapNames = cms.untracked.vstring('')
82     process.MitTreeFiller.HPSTaus.allowMissingTrackRef = cms.untracked.bool(True)
83    
84     process.MitTreeFiller.BarrelSuperClusters.caloTowerName = ''
85     process.MitTreeFiller.EndcapSuperClusters.caloTowerName = ''
86     process.MitTreeFiller.PFSuperClusters.caloTowerName = cms.untracked.string('')
87     process.MitTreeFiller.DCASig.active = False
88    
89     process.output = cms.OutputModule("PoolOutputModule",
90     outputCommands = cms.untracked.vstring('keep *'),
91     fileName = cms.untracked.string ("test.root")
92     )
93     process.bambu_step = cms.Path(process.BambuFillAOD)
94     # schedule definition
95     process.schedule = cms.Schedule(process.bambu_step)
96     process.outpath = cms.EndPath(process.output)