-
Notifications
You must be signed in to change notification settings - Fork 0
/
dpanalysis_cfg.py
59 lines (50 loc) · 2.89 KB
/
dpanalysis_cfg.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import FWCore.ParameterSet.Config as cms
process = cms.Process("Demo")
process.load("FWCore.MessageService.MessageLogger_cfi")
process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(-1) )
process.source = cms.Source("PoolSource",
# replace 'myfile.root' with the source file you want to use
fileNames = cms.untracked.vstring(
#'dcache:/pnfs/cms/WAX/11/store/data/Run2012A/Photon/AOD/PromptReco-v1/000/191/247/002CDB97-4588-E111-8BF4-003048D37694.root',
#'dcache:/pnfs/cms/WAX/11/store/data/Run2012A/Photon/AOD/PromptReco-v1/000/191/247/069259D0-2C88-E111-9729-5404A63886C3.root'
#'dcache:/pnfs/cms/WAX/11/store/data/Run2012A/Photon/AOD/PromptReco-v1/000/191/247/'
#'dcache:/pnfs/cms/WAX/11/store/data/Run2011B/Photon/AOD/PromptReco-v1/000/179/558/5886DB5E-A5FF-E011-92AE-BCAEC5364CFB.root'
'dcache:/pnfs/cms/WAX/resilient/sckao/GMSB_FastSim/GMSB_L100_CTau1000_1.root',
'dcache:/pnfs/cms/WAX/resilient/sckao/GMSB_FastSim/GMSB_L100_CTau1000_2.root'
)
)
process.source.duplicateCheckMode = cms.untracked.string('noDuplicateCheck')
process.demo = cms.EDAnalyzer('DPAnalysis',
rootFileName = cms.untracked.string('MC_test.root'),
triggerName = cms.vstring('HLT_L1SingleEG12', 'HLT_DisplacedPhoton65_CaloIdVL_IsoL_PFMET25'),
L1GTSource = cms.string('L1_SingleEG22'),
L1Select = cms.bool( True ),
isData = cms.bool(True),
trigSource = cms.InputTag("TriggerResults","","HLT"),
jetSource = cms.InputTag("ak5PFJets"),
metSource = cms.InputTag("pfMet"),
muonSource = cms.InputTag("muons"),
electronSource = cms.InputTag("gsfElectrons"),
photonSource = cms.InputTag("photons"),
pvSource = cms.InputTag("offlinePrimaryVerticesWithBS"),
beamSpotSource = cms.InputTag("offlineBeamSpot"),
EBRecHitCollection = cms.InputTag("reducedEcalRecHitsEB"),
EERecHitCollection = cms.InputTag("reducedEcalRecHitsEE"),
tau = cms.double( 1000 ),
genParticles = cms.InputTag("genParticles"),
# Set up cuts for physics objects
# vertex cuts z ndof d0
vtxCuts = cms.vdouble( 99, 0, 99 ),
# photon cuts pt eta sMajMax, sMinMin, sMinMax, Num
photonCuts = cms.vdouble( 50, 2.4, 999., 0.0, 99., 1 ),
# photon isolation trk, ecalSumEt, ecalR, hcalSumEt, hcalR
photonIso = cms.vdouble( 0.2, 4.5, 0.1, 4.0, 0.1 ),
# jet cuts pt eta dR, nJets
jetCuts = cms.vdouble( 30. , 2.4, 0.3, 0 ),
metCuts = cms.vdouble( 0. ),
# electron cuts pt eta EBIso EEIso nLostHit
electronCuts = cms.vdouble( 25, 2.4, 0.15, 0.1, 2 ),
# muon cuts pt eta Iso dR
muonCuts = cms.vdouble( 25, 2.1, 0.2, 0.3 ),
)
process.p = cms.Path(process.demo)