Go to the documentation of this file.00001
00002
00003 import os, errno, sys
00004 import FWCore.ParameterSet.Config as cms
00005
00006 from RecoJets.FFTJetProducers.fftjetcommon_cfi import *
00007
00008 def mkdir_p(path):
00009 try:
00010 os.makedirs(path)
00011 except OSError as exc:
00012 if exc.errno == errno.EEXIST:
00013 pass
00014 else: raise
00015
00016
00017 clustering_trees_outdir = "./ClusteringTrees"
00018 if (sys.argv[0] == "cmsRun"):
00019 mkdir_p(clustering_trees_outdir)
00020
00021
00022 trees_basename = "clustree"
00023
00024
00025 fftjet_tree_dumper = cms.EDAnalyzer(
00026 "FFTJetTreeDump",
00027
00028
00029 treeLabel = cms.InputTag("fftjetpatreco", "FFTJetPatternRecognition"),
00030
00031
00032 outputPrefix = cms.string(clustering_trees_outdir + '/' + trees_basename),
00033
00034
00035 etaMax = cms.double(fftjet_standard_eta_range),
00036
00037
00038 insertCompleteEvent = cms.bool(fftjet_insert_complete_event),
00039 completeEventScale = cms.double(fftjet_complete_event_scale),
00040
00041
00042
00043
00044 InitialScales = fftjet_patreco_scales_50,
00045
00046
00047 TreeDistanceCalculator = fftjet_fixed_bandwidth_distance,
00048
00049
00050 GlyphSize = cms.PSet(
00051 Class = cms.string("ScaledMagnitude2")
00052 ),
00053
00054
00055 GlyphColor = cms.PSet(
00056 Class = cms.string("ScaledHessianDet")
00057 )
00058 )