11 except OSError
as exc:
12 if exc.errno == errno.EEXIST:
17 clustering_trees_outdir =
"./ClusteringTrees"
18 if (sys.argv[0] ==
"cmsRun"):
19 mkdir_p(clustering_trees_outdir)
22 trees_basename =
"clustree"
25 fftjet_tree_dumper = cms.EDAnalyzer(
29 treeLabel = cms.InputTag(
"fftjetpatreco",
"FFTJetPatternRecognition"),
32 outputPrefix = cms.string(clustering_trees_outdir +
'/' + trees_basename),
35 etaMax = cms.double(fftjet_standard_eta_range),
38 insertCompleteEvent = cms.bool(fftjet_insert_complete_event),
39 completeEventScale = cms.double(fftjet_complete_event_scale),
44 InitialScales = fftjet_patreco_scales_50,
47 TreeDistanceCalculator = fftjet_fixed_bandwidth_distance,
51 Class = cms.string(
"ScaledMagnitude2")
55 GlyphColor = cms.PSet(
56 Class = cms.string(
"ScaledHessianDet")