-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparticleTreeDrawer_cfg.py
32 lines (25 loc) · 995 Bytes
/
particleTreeDrawer_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
import FWCore.ParameterSet.Config as cms
process = cms.Process("analysis")
process.source = cms.Source("PoolSource",
fileNames = cms.untracked.vstring(
'/store/mc/RunIIFall15MiniAODv2/Taustar_TauG_L10000_m250_13TeV-pythia8/MINIAODSIM/PU25nsData2015v1_76X_mcRun2_asymptotic_v12-v1/50000/1CE7319C-3CCE-E511-B917-7845C4FC379D.root'
)
)
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(10)
)
process.load("FWCore.MessageLogger.MessageLogger_cfi")
process.MessageLogger.cerr.FwkReport.reportEvery = 1
process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
process.printTree = cms.EDAnalyzer("ParticleTreeDrawer",
src = cms.InputTag("prunedGenParticles"),
printP4 = cms.untracked.bool(False),
printPtEtaPhi = cms.untracked.bool(True),
printVertex = cms.untracked.bool(False),
printStatus = cms.untracked.bool(True),
printIndex = cms.untracked.bool(False),
#status = cms.untracked.vint32(3),
)
process.p = cms.Path(
process.printTree
)