1 |
mangano |
1.1 |
import FWCore.ParameterSet.Config as cms
|
2 |
|
|
process = cms.Process('dumpEvent')
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
#from testEventDumper.simpleSkim_cfi import *
|
6 |
|
|
|
7 |
|
|
process.load("FWCore.MessageLogger.MessageLogger_cfi")
|
8 |
|
|
process.options = cms.untracked.PSet( wantSummary = cms.untracked.bool(True) )
|
9 |
|
|
|
10 |
|
|
process.source = cms.Source("PoolSource",
|
11 |
|
|
fileNames = cms.untracked.vstring(),
|
12 |
|
|
inputCommands = cms.untracked.vstring(
|
13 |
|
|
'keep *',
|
14 |
|
|
)
|
15 |
|
|
)
|
16 |
|
|
|
17 |
|
|
process.source.fileNames = cms.untracked.vstring(
|
18 |
|
|
'file:INPUT'
|
19 |
|
|
)
|
20 |
|
|
|
21 |
|
|
process.load("Configuration.StandardSequences.MagneticField_38T_cff")
|
22 |
|
|
process.load("Configuration.StandardSequences.GeometryExtended_cff")
|
23 |
|
|
process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff")
|
24 |
|
|
process.load("Configuration.StandardSequences.Reconstruction_cff")
|
25 |
|
|
process.GlobalTag.globaltag = "GR10_E_V4::All"
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
################################
|
29 |
|
|
# EVENT INFO DUMPER #
|
30 |
|
|
################################
|
31 |
|
|
process.dumper = cms.EDAnalyzer(
|
32 |
|
|
"EventInfoDumper",
|
33 |
|
|
primaryVertices = cms.InputTag("offlinePrimaryVertices"),
|
34 |
|
|
electrons = cms.VInputTag(cms.InputTag("goodElectrons")), #, cms.InputTag("gsfElectrons")),
|
35 |
|
|
muons = cms.VInputTag(cms.InputTag("goodMuons") ), #, cms.InputTag("muons")),
|
36 |
|
|
mets = cms.VInputTag(cms.InputTag("pfMet"), cms.InputTag("tcMet")),
|
37 |
|
|
jets = cms.VInputTag(cms.InputTag("ak5PFJets"), cms.InputTag("ak5CaloJets")),
|
38 |
|
|
jetCut = cms.string("pt > 10"),
|
39 |
|
|
composites = cms.VInputTag(
|
40 |
|
|
cms.InputTag("diMuonsZ"),
|
41 |
|
|
cms.InputTag("diElectronsZ"),
|
42 |
|
|
cms.InputTag("recoWMNfromPf"),
|
43 |
|
|
cms.InputTag("recoWMNfromTc"),
|
44 |
|
|
cms.InputTag("recoWENfromPf"),
|
45 |
|
|
cms.InputTag("recoWENfromTc"),
|
46 |
|
|
),
|
47 |
|
|
triggerResults = cms.VInputTag(cms.InputTag("TriggerResults","","HLT"), cms.InputTag("TriggerResults", "", "Skim")),
|
48 |
|
|
triggerNames = cms.vstring("HLT_.*Mu.*", "HLT_.*L1.*EG.*", "HLT_(Double)?Ele.*", "Skim_.*"),
|
49 |
|
|
)
|
50 |
|
|
################################
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(-1))
|
58 |
|
|
process.p = cms.Path(process.dumper)
|
59 |
|
|
|
60 |
|
|
|