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 |
|
|
process.load("MitProd.TreeFiller.JetsMCFlavourMatching_cfi")
|
50 |
|
|
|
51 |
ksung |
1.2 |
#produce corrected MET objects
|
52 |
|
|
process.load("JetMETCorrections.Configuration.MCJetCorrections152_cff")
|
53 |
|
|
process.load("JetMETCorrections.Type1MET.MetType1Corrections_cff")
|
54 |
|
|
|
55 |
sixie |
1.1 |
process.TreeService = cms.Service("TreeService",
|
56 |
|
|
fileNames = cms.untracked.vstring('XX-MITDATASET-XX')
|
57 |
|
|
)
|
58 |
|
|
|
59 |
|
|
process.add_(cms.Service("ObjectService"))
|
60 |
|
|
|
61 |
|
|
process.load("MitProd.TreeFiller.MitTreeFiller_cfi")
|
62 |
|
|
|
63 |
ksung |
1.2 |
process.p1 = cms.Path((process.caloJetMCFlavour + process.eIdSequence + process.corMetType1Icone5)
|
64 |
|
|
*process.MitTreeFiller)
|