@@ -18,6 +18,7 @@ import { recoParticleID, preFilterRecoParticleID } from "./recoparticleid.js";
18
18
import { spanWithColor } from "../lib/html-string.js" ;
19
19
import { scrollTopCenter , scrollTopLeft } from "../draw/scroll.js" ;
20
20
import { reconnectMCParticleTree } from "../filters/reconnect/mcparticletree.js" ;
21
+ import { reconnectAssociation } from "../filters/reconnect/association.js" ;
21
22
22
23
export const views = {
23
24
"Monte Carlo Particle Tree" : {
@@ -80,34 +81,39 @@ export const views = {
80
81
viewFunction : mcRecoAssociation ,
81
82
scrollFunction : scrollTopCenter ,
82
83
preFilterFunction : preFilterMCReco ,
84
+ reconnectFunction : reconnectAssociation ,
83
85
collections : [ "edm4hep::MCParticle" , "edm4hep::ReconstructedParticle" ] ,
84
86
description : `<p>Association between Monte Carlo Particles and Reconstructed Particles. 1:1 relation.</p>` ,
85
87
} ,
86
88
"Monte Carlo Particle-Track" : {
87
89
viewFunction : mcTrackAssociation ,
88
90
scrollFunction : scrollTopCenter ,
89
91
preFilterFunction : preFilterMCTrack ,
92
+ reconnectFunction : reconnectAssociation ,
90
93
collections : [ "edm4hep::MCParticle" , "edm4hep::Track" ] ,
91
94
description : `<p>Association between Monte Carlo Particles and Tracks. 1:1 relation.</p>` ,
92
95
} ,
93
96
"Monte Carlo Particle-Cluster" : {
94
97
viewFunction : mcClusterAssociation ,
95
98
scrollFunction : scrollTopCenter ,
96
99
preFilterFunction : preFilterMCCluster ,
100
+ reconnectFunction : reconnectAssociation ,
97
101
collections : [ "edm4hep::MCParticle" , "edm4hep::Cluster" ] ,
98
102
description : `<p>Association between Monte Carlo Particles and Clusters. 1:1 relation.</p>` ,
99
103
} ,
100
104
"ParticleID List" : {
101
105
viewFunction : particleIDList ,
102
106
scrollFunction : scrollTopLeft ,
103
107
preFilterFunction : preFilterParticleIDList ,
108
+ reconnectFunction : ( ) => { } ,
104
109
collections : [ "edm4hep::ParticleID" ] ,
105
110
description : `<p>A list of ParticleIDs found in the event.</p>` ,
106
111
} ,
107
112
"Vertex List" : {
108
113
viewFunction : vertexList ,
109
114
scrollFunction : scrollTopLeft ,
110
115
preFilterFunction : preFilterVertexList ,
116
+ reconnectFunction : ( ) => { } ,
111
117
collections : [ "edm4hep::Vertex" ] ,
112
118
description : `<p>A list of Vertices found in the event.</p>` ,
113
119
} ,
0 commit comments