1 |
sixie |
1.1 |
#---------------------------------------------------------------------------------------------------
|
2 |
|
|
# This template config file is intended to be a reference for the "HEAD" OAK tree version.
|
3 |
|
|
# This config file will be used by the mitprod account to do production on CRAB. It must
|
4 |
|
|
# be ensured that this config file is always working with the production CMSSW release
|
5 |
|
|
#---------------------------------------------------------------------------------------------------
|
6 |
|
|
# List of paramters to be properly replaced
|
7 |
|
|
#
|
8 |
|
|
# - XX-MITDATASET-XX - MIT type dataset name (ex. csa08-1ipb-jpsi)
|
9 |
|
|
#
|
10 |
|
|
#---------------------------------------------------------------------------------------------------
|
11 |
|
|
|
12 |
|
|
import FWCore.ParameterSet.Config as cms
|
13 |
|
|
process = cms.Process("FILLER")
|
14 |
|
|
|
15 |
|
|
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(20) )
|
16 |
|
|
process.source = cms.Source("PoolSource",
|
17 |
|
|
fileNames = cms.untracked.vstring(
|
18 |
|
|
'file:/server/02a/sixie/RECO/001EA63A-DF60-DD11-9D5A-001A92810AA6.root'
|
19 |
|
|
),
|
20 |
|
|
secondaryFileNames = cms.untracked.vstring()
|
21 |
|
|
)
|
22 |
|
|
|
23 |
|
|
# compute ECAL shower shape variables
|
24 |
|
|
process.load("Configuration.StandardSequences.Geometry_cff")
|
25 |
|
|
process.load("Geometry.CaloEventSetup.CaloGeometry_cfi")
|
26 |
|
|
process.load("Geometry.CMSCommonData.cmsIdealGeometryXML_cfi")
|
27 |
|
|
process.load("Geometry.CaloEventSetup.CaloTopology_cfi")
|
28 |
|
|
|
29 |
|
|
process.load("FWCore.MessageLogger.MessageLogger_cfi")
|
30 |
|
|
|
31 |
|
|
process.load( "RecoEgamma.ElectronIdentification.electronIdCutBased_cfi")
|
32 |
|
|
process.load( "RecoEgamma.ElectronIdentification.electronIdCutBasedClasses_cfi")
|
33 |
|
|
process.load( "RecoEgamma.ElectronIdentification.electronIdLikelihood_cfi")
|
34 |
|
|
process.load( "RecoEgamma.ElectronIdentification.electronIdNeuralNet_cfi")
|
35 |
|
|
process.load( "RecoEgamma.ElectronIdentification.electronIdCutBasedExt_cfi")
|
36 |
|
|
process.load( "RecoEgamma.ElectronIdentification.electronIdCutBasedClassesExt_cfi")
|
37 |
|
|
process.load( "RecoEgamma.ElectronIdentification.electronIdLikelihoodExt_cfi")
|
38 |
|
|
process.load( "RecoEgamma.ElectronIdentification.electronIdNeuralNetExt_cfi")
|
39 |
|
|
|
40 |
|
|
process.eIdSequence = cms.Sequence( process.eidCutBased +
|
41 |
|
|
process.eidCutBasedExt +
|
42 |
|
|
process.eidCutBasedClasses +
|
43 |
|
|
process.eidCutBasedClassesExt +
|
44 |
|
|
process.eidLikelihood +
|
45 |
|
|
process.eidLikelihoodExt +
|
46 |
|
|
process.eidNeuralNet +
|
47 |
|
|
process.eidNeuralNetExt)
|
48 |
|
|
|
49 |
sixie |
1.3 |
#Load Flavor Matching Information
|
50 |
sixie |
1.1 |
process.load("MitProd.TreeFiller.JetsMCFlavourMatching_cfi")
|
51 |
|
|
|
52 |
ksung |
1.5 |
# setup MET muon corrections
|
53 |
|
|
process.load("JetMETCorrections.Type1MET.MetMuonCorrections_cff")
|
54 |
|
|
process.load("Configuration.StandardSequences.MagneticField_cff")
|
55 |
|
|
process.load("Geometry.CommonDetUnit.globalTrackingGeometry_cfi")
|
56 |
|
|
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
|
57 |
|
|
process.GlobalTag.globaltag="IDEAL_V9::All"
|
58 |
|
|
process.load("Geometry.CommonDetUnit.bareGlobalTrackingGeometry_cfi")
|
59 |
|
|
process.load("TrackingTools.TrackAssociator.default_cfi")
|
60 |
|
|
process.load("TrackingTools.TrackAssociator.DetIdAssociatorESProducer_cff")
|
61 |
|
|
|
62 |
|
|
# setup Type1 MET corrections
|
63 |
ksung |
1.6 |
process.load("JetMETCorrections.Configuration.L2L3Corrections_CMSSW_152_cff")
|
64 |
ksung |
1.2 |
process.load("JetMETCorrections.Type1MET.MetType1Corrections_cff")
|
65 |
ksung |
1.5 |
process.corMetType1Icone5.inputUncorMetLabel = cms.string('corMetGlobalMuons')
|
66 |
ksung |
1.6 |
process.corMetType1Icone5.corrector = cms.string('L2L3JetCorrectorIcone5')
|
67 |
ksung |
1.2 |
|
68 |
sixie |
1.3 |
#produce jet vertex association information
|
69 |
|
|
process.load("MitProd.TreeFiller.JetVertexAssociation_cfi")
|
70 |
|
|
|
71 |
|
|
#For Jet Corrections
|
72 |
|
|
process.load("MitProd.TreeFiller.JetCorrections_cfi")
|
73 |
|
|
process.prefer("L3JetCorrectorIcone5")
|
74 |
|
|
|
75 |
sixie |
1.1 |
process.TreeService = cms.Service("TreeService",
|
76 |
|
|
fileNames = cms.untracked.vstring('XX-MITDATASET-XX')
|
77 |
|
|
)
|
78 |
|
|
|
79 |
|
|
process.add_(cms.Service("ObjectService"))
|
80 |
|
|
|
81 |
|
|
process.load("MitProd.TreeFiller.MitTreeFiller_cfi")
|
82 |
|
|
|
83 |
sixie |
1.3 |
process.p1 = cms.Path(
|
84 |
|
|
(process.caloJetMCFlavour
|
85 |
|
|
+ process.eIdSequence
|
86 |
ksung |
1.5 |
+ (process.MetMuonCorrections * process.corMetType1Icone5)
|
87 |
sixie |
1.3 |
+ process.jetvertexAssociationSequence
|
88 |
|
|
)
|
89 |
|
|
*process.MitTreeFiller)
|