File indexing completed on 2024-08-27 22:59:25
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def TrackstersMergeProducer(**kwargs):
0004 mod = cms.EDProducer('TrackstersMergeProducer',
0005 linkingPSet = cms.PSet(
0006 cutTk = cms.string('1.48 < abs(eta) < 3.0 && pt > 1. && quality("highPurity") && hitPattern().numberOfLostHits("MISSING_OUTER_HITS") < 5'),
0007 delta_tk_ts_layer1 = cms.double(0.02),
0008 delta_tk_ts_interface = cms.double(0.03),
0009 delta_ts_em_had = cms.double(0.03),
0010 delta_ts_had_had = cms.double(0.03),
0011 track_time_quality_threshold = cms.double(0.5),
0012 algo_verbosity = cms.int32(0),
0013 type = cms.string('LinkingAlgoByDirectionGeometric')
0014
0015 ),
0016 trackstersclue3d = cms.InputTag('ticlTrackstersCLUE3DHigh'),
0017 layer_clusters = cms.InputTag('hgcalMergeLayerClusters'),
0018 layer_clustersTime = cms.InputTag('hgcalMergeLayerClusters', 'timeLayerCluster'),
0019 tracks = cms.InputTag('generalTracks'),
0020 tracksTime = cms.InputTag('tofPID', 't0'),
0021 tracksTimeQual = cms.InputTag('mtdTrackQualityMVA', 'mtdQualMVA'),
0022 tracksTimeErr = cms.InputTag('tofPID', 'sigmat0'),
0023 muons = cms.InputTag('muons1stStep'),
0024 detector = cms.string('HGCAL'),
0025 propagator = cms.string('PropagatorWithMaterial'),
0026 optimiseAcrossTracksters = cms.bool(True),
0027 useMTDTiming = cms.bool(True),
0028 eta_bin_window = cms.int32(1),
0029 phi_bin_window = cms.int32(1),
0030 pt_sigma_high = cms.double(2),
0031 pt_sigma_low = cms.double(2),
0032 halo_max_distance2 = cms.double(4),
0033 track_min_pt = cms.double(1),
0034 track_min_eta = cms.double(1.48),
0035 track_max_eta = cms.double(3),
0036 track_max_missing_outerhits = cms.int32(5),
0037 cosangle_align = cms.double(0.9945),
0038 e_over_h_threshold = cms.double(1),
0039 pt_neutral_threshold = cms.double(2),
0040 resol_calo_offset_had = cms.double(1.5),
0041 resol_calo_scale_had = cms.double(0.15),
0042 resol_calo_offset_em = cms.double(1.5),
0043 resol_calo_scale_em = cms.double(0.15),
0044 tfDnnLabel = cms.string('tracksterSelectionTf'),
0045 eid_input_name = cms.string('input'),
0046 eid_output_name_energy = cms.string('output/regressed_energy'),
0047 eid_output_name_id = cms.string('output/id_probabilities'),
0048 eid_min_cluster_energy = cms.double(2.5),
0049 eid_n_layers = cms.int32(50),
0050 eid_n_clusters = cms.int32(10),
0051 mightGet = cms.optional.untracked.vstring
0052 )
0053 for k,v in kwargs.items():
0054 setattr(mod, k, v)
0055 return mod