1 |
import FWCore.ParameterSet.Config as cms
|
2 |
|
3 |
process = cms.Process("LJMET")
|
4 |
|
5 |
# initialize MessageLogger and output report
|
6 |
process.load("FWCore.MessageLogger.MessageLogger_cfi")
|
7 |
process.MessageLogger.cerr.threshold = 'WARNING'
|
8 |
#process.MessageLogger.categories.append('PATLayer0Summary')
|
9 |
process.MessageLogger.cerr.INFO = cms.untracked.PSet(
|
10 |
default = cms.untracked.PSet( limit = cms.untracked.int32(0) ),
|
11 |
PATLayer0Summary = cms.untracked.PSet( limit = cms.untracked.int32(-1) )
|
12 |
)
|
13 |
#process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
|
14 |
|
15 |
# source
|
16 |
process.source = cms.Source("PoolSource",
|
17 |
fileNames = cms.untracked.vstring('file:/uscms/home/kukarzev/work/production_2_2_3/src/LJMet/MultivariateAnalysis/test/PAT_Layer1.root')
|
18 |
)
|
19 |
|
20 |
# this defines the input files
|
21 |
#from LJMet.MultivariateAnalysis.PAT_Layer1_ttbar_tauola_cfi import *
|
22 |
#from LJMet.MultivariateAnalysis.PAT_Layer1_ttjets_madgraph_cfi import *
|
23 |
#from LJMet.MultivariateAnalysis.PAT_Layer1_zjets_madgraph_cfi import *
|
24 |
#from LJMet.MultivariateAnalysis.PAT_Layer1_wjets_madgraph_cfi import *
|
25 |
# this inputs the input files from the previous function
|
26 |
#process.source = PATInput()
|
27 |
|
28 |
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
|
29 |
|
30 |
#
|
31 |
# disable duplicate event check mode because the run and event numbers
|
32 |
# are incorrect in current madgraph samples (Dec 16, 2008)
|
33 |
#
|
34 |
process.source.duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
|
35 |
|
36 |
|
37 |
process.load("Configuration.StandardSequences.Geometry_cff")
|
38 |
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
|
39 |
process.GlobalTag.globaltag = cms.string('IDEAL_V9::All')
|
40 |
process.load("Configuration.StandardSequences.MagneticField_cff")
|
41 |
|
42 |
## LJMet MVA analyser
|
43 |
process.mva = cms.EDAnalyzer("TtLJetsAnalyzer",
|
44 |
#tag = cms.string('CRUZET_part4_physics_v3')
|
45 |
outFile = cms.string('ljmet_tmva.root'),
|
46 |
jetSource = cms.string('selectedLayer1Jets'),
|
47 |
electronSource = cms.string('selectedLayer1Electrons'),
|
48 |
muonSource = cms.string('selectedLayer1Muons'),
|
49 |
METSource = cms.string('selectedLayer1METs'),
|
50 |
nCaloJets_min = cms.int32(4),
|
51 |
nLepton_min = cms.int32(1),
|
52 |
jet_et_min = cms.double(25.0),
|
53 |
jet_eta_max = cms.double(2.4),
|
54 |
muon_pt_min = cms.double(20.0),
|
55 |
muon_eta_max = cms.double(2.1),
|
56 |
muon_trackIso_max = cms.double(100.0),
|
57 |
muon_caloIso_max = cms.double(100.0),
|
58 |
electron_pt_min = cms.double(20.0),
|
59 |
electron_eta_max = cms.double(2.5),
|
60 |
electron_trackIso_max = cms.double(100.0),
|
61 |
electron_caloIso_max = cms.double(100.0),
|
62 |
met_et_min = cms.double(0.0)
|
63 |
)
|
64 |
|
65 |
process.p = cms.Path(
|
66 |
process.mva
|
67 |
)
|
68 |
|