File indexing completed on 2024-04-06 12:25:24
0001
0002
0003 import os, errno, sys
0004 import FWCore.ParameterSet.Config as cms
0005
0006 from RecoJets.FFTJetProducers.fftjetcommon_cfi import *
0007
0008 def mkdir_p(path):
0009 try:
0010 os.makedirs(path)
0011 except OSError as exc:
0012 if exc.errno == errno.EEXIST:
0013 pass
0014 else: raise
0015
0016
0017 clustering_trees_outdir = "./ClusteringTrees"
0018 if (sys.argv[0] == "cmsRun"):
0019 mkdir_p(clustering_trees_outdir)
0020
0021
0022 trees_basename = "clustree"
0023
0024
0025 fftjetTreeDumper = cms.EDAnalyzer(
0026 "FFTJetTreeDump",
0027
0028
0029 treeLabel = cms.InputTag("fftjetpatreco", "FFTJetPatternRecognition"),
0030
0031
0032 outputPrefix = cms.string(clustering_trees_outdir + '/' + trees_basename),
0033
0034
0035 etaMax = cms.double(fftjet_standard_eta_range),
0036
0037
0038 insertCompleteEvent = cms.bool(fftjet_insert_complete_event),
0039 completeEventScale = cms.double(fftjet_complete_event_scale),
0040
0041
0042
0043
0044 InitialScales = fftjet_patreco_scales_50,
0045
0046
0047 TreeDistanceCalculator = fftjet_fixed_bandwidth_distance,
0048
0049
0050 GlyphSize = cms.PSet(
0051 Class = cms.string("ScaledMagnitude2")
0052 ),
0053
0054
0055 GlyphColor = cms.PSet(
0056 Class = cms.string("ScaledHessianDet")
0057 )
0058 )