5 |
|
process.load("FWCore.MessageService.MessageLogger_cfi") |
6 |
|
process.load("FWCore.MessageLogger.MessageLogger_cfi") |
7 |
|
|
8 |
< |
process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(10000) |
8 |
> |
process.MessageLogger.cerr.FwkReport.reportEvery = cms.untracked.int32(500000) |
9 |
|
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(100)) |
10 |
|
|
11 |
|
|
20 |
|
### Conditions tags |
21 |
|
|
22 |
|
#process.GlobalTag.globaltag = 'START36_V10::ALL' |
23 |
< |
process.GlobalTag.globaltag = 'START38_V12::ALL' |
23 |
> |
process.GlobalTag.globaltag = 'START38_V14::All' |
24 |
> |
#process.GlobalTag.globaltag = 'MC_38Y_V13::ALL' |
25 |
|
|
26 |
|
### Input files |
27 |
|
|
28 |
< |
process.load('MCfiles') |
28 |
> |
#process.load('Signal') |
29 |
|
|
30 |
< |
#process.source = cms.Source("PoolSource", |
31 |
< |
# fileNames = cms.untracked.vstring( |
30 |
> |
process.source = cms.Source("PoolSource", |
31 |
> |
fileNames = cms.untracked.vstring( |
32 |
|
|
33 |
< |
#'/store/mc/Spring10/QCD_Pt-15_7TeV-pythia8/GEN-SIM-RECO/START3X_V26B-v2/0033/88571403-6E73-DF11-B10F-0015174ED57A.root', |
33 |
< |
#'/store/mc/Spring10/QCD_Pt-15_7TeV-pythia8/GEN-SIM-RECO/START3X_V26B-v2/0029/F45EEABC-EE71-DF11-8969-A4BADB1E65B1.root' |
33 |
> |
# 'file:/uscms/home/naodell/nobackup/CA5A27DF-0AE8-DF11-9C93-E0CB4E553686.root' |
34 |
|
|
35 |
< |
# '/store/mc/Fall10/QCD_Pt_15to30_Tune1_7TeV_pythia8/GEN-SIM-RECO/START38_V12-v1/0000/FEE60486-13C8-DF11-AFD5-E0CB4E29C4B6.root' |
36 |
< |
# '/store/mc/Fall10/QCD_Pt_30to50_Tune1_7TeV_pythia8/GEN-SIM-RECO/START38_V12-v1/0006/562C8C93-FCCA-DF11-96E6-E0CB4EA0A8FE.root' |
35 |
> |
# '/store/mc/Fall10/QCD_Pt_15to30_Tune1_7TeV_pythia8/GEN-SIM-RECO/E7TeV_ProbDist_2010Data_BX156_START38_V12-v1/0042/CA5A27DF-0AE8-DF11-9C93-E0CB4E553686.root' |
36 |
> |
# '/store/mc/Spring10/QCD_Pt-15_7TeV-pythia8/GEN-SIM-RECO/START3X_V26B-v2/0033/88571403-6E73-DF11-B10F-0015174ED57A.root', |
37 |
> |
# '/store/mc/Spring10/QCD_Pt-15_7TeV-pythia8/GEN-SIM-RECO/START3X_V26B-v2/0029/F45EEABC-EE71-DF11-8969-A4BADB1E65B1.root' |
38 |
|
|
39 |
< |
#) |
40 |
< |
#) |
39 |
> |
'/store/mc/Fall10/QCD_Pt_15to30_Tune1_7TeV_pythia8/GEN-SIM-RECO/START38_V12-v1/0000/FEE60486-13C8-DF11-AFD5-E0CB4E29C4B6.root' |
40 |
> |
# '/store/mc/Fall10/QCD_Pt_30to50_Tune1_7TeV_pythia8/GEN-SIM-RECO/START38_V12-v1/0006/562C8C93-FCCA-DF11-96E6-E0CB4EA0A8FE.root' |
41 |
> |
# '/store/user/devildog/Pythia6_TTbar_HTaunu_M115/Pythia6_TTbar_HTaunu_M115_RECO/37107caf96076abac1f3ce400b4245d8/Pythia6_TTbar_HTaunu_RECO_9_1_QGV.root' |
42 |
> |
) |
43 |
> |
) |
44 |
|
|
45 |
|
### Jet correction services |
46 |
|
|
47 |
|
from JetMETCorrections.Configuration.DefaultJEC_cff import * |
48 |
|
process.load('JetMETCorrections.Configuration.DefaultJEC_cff') |
49 |
|
|
46 |
– |
## Uncomment the following lines for using JEC ## |
47 |
– |
## in CMSSW 38X. This is temporary. ## |
48 |
– |
|
49 |
– |
process.ak5PFL2Relative.useCondDB = False |
50 |
– |
process.ak5PFL3Absolute.useCondDB = False |
51 |
– |
process.ak5PFResidual.useCondDB = False |
52 |
– |
|
50 |
|
### To include ak5 GenJets |
51 |
|
|
52 |
|
process.load('RecoJets.Configuration.GenJetParticles_cff') |
57 |
|
|
58 |
|
process.MPIntuple = cms.EDAnalyzer('MPIntuple', |
59 |
|
|
60 |
< |
PFJetTag = cms.untracked.InputTag("ak5PFJets"), |
60 |
> |
RecoJetTag = cms.untracked.InputTag("ak5PFJets"), |
61 |
> |
RecoMETTag = cms.untracked.InputTag("pfMet"), |
62 |
> |
ElectronTag = cms.untracked.InputTag("gsfElectrons"), |
63 |
> |
MuonTag = cms.untracked.InputTag("muons"), |
64 |
|
GenJetTag = cms.untracked.InputTag("ak5GenJets"), |
65 |
|
PrimaryVtxTag = cms.untracked.InputTag("offlinePrimaryVertices"), |
66 |
+ |
electronIDMap = cms.InputTag("eidTight"), |
67 |
+ |
nJets = cms.untracked.int32(4), |
68 |
|
doPFJets = cms.untracked.bool(True), |
69 |
|
doGenJets = cms.untracked.bool(True), |
70 |
|
triggerHLT = cms.untracked.bool(True), |
71 |
< |
hltName = cms.untracked.string("REDIGI38X"), |
72 |
< |
rootfilename = cms.untracked.string("MPI_ntuple_QCDpy8_Pt15to30.root") |
73 |
< |
|
71 |
> |
hltName = cms.untracked.string("HLT"), |
72 |
> |
rootfilename = cms.untracked.string("nuTuple_Signal.root"), |
73 |
> |
triggers = cms.untracked.vstring("HLT_L1_BscMinBiasOR_BptxPlusORMinus", "HLT_L1Jet6U", "HLT_L1Jet10U", "HLT_Jet15U", "HLT_Jet30U", "HLT_Jet50U", "HLT_Jet70U", "HLT_Jet100U", "HLT_FwdJet20U", "HLT_Jet15U_HcalNoiseFiltered", "HLT_BTagIP_Jet50U", "HLT_DiJetAve15U", "HLT_DiJetAve30U", "HLT_DiJetAve50U", "HLT_DoubleJet15U_ForwardBackward", "HLT_QuadJet15U", "HLT_HT100U") |
74 |
|
) |
75 |
|
|
76 |
|
### Let it run |
77 |
|
|
76 |
– |
#process.p = cms.Path(process.ak5PFJetsL2L3 * process.MPIntuple) |
77 |
– |
|
78 |
|
process.p = cms.Path(process.genParticlesForJets * process.ak5GenJets * process.ak5PFJetsL2L3 * process.MPIntuple) |