Skip to content

Commit

Permalink
change example data for RecoParticle test
Browse files Browse the repository at this point in the history
  • Loading branch information
brauliorivas committed May 31, 2024
1 parent fbfb0ea commit c7b270c
Showing 1 changed file with 66 additions and 5 deletions.
71 changes: 66 additions & 5 deletions test/load.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ import { buildLoader, loadParticles } from "../js/types/load";

const data = {
"Event 0": {
"AllMuon": {
"collID": 12,
"collType": "edm4hep::ReconstructedParticleCollection",
"collection": [],
},
"EFlowPhoton": {
"collID": 7,
"collType": "edm4hep::ClusterCollection",
Expand Down Expand Up @@ -36,6 +31,72 @@ const data = {
},
],
},
"Jet": {
"collID": 13,
"collType": "edm4hep::ReconstructedParticleCollection",
"collection": [
{
"charge": 1.0,
"clusters": [],
"covMatrix": [0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
"energy": 12.062528610229492,
"goodnessOfPID": 0.0,
"mass": 2.315242290496826,
"momentum": {
"x": 11.738886833190918,
"y": 1.2114704847335815,
"z": 0.9354811906814575,
},
"particleIDUsed": {
"collectionID": -2,
"index": -2,
},
"particleIDs": [
{
"collectionID": 4,
"index": 45,
},
],
"particles": [
{
"collectionID": 14,
"index": 24,
},
{
"collectionID": 14,
"index": 22,
},
{
"collectionID": 14,
"index": 74,
},
{
"collectionID": 14,
"index": 23,
},
{
"collectionID": 14,
"index": 25,
},
{
"collectionID": 14,
"index": 26,
},
],
"referencePoint": {
"x": 0.0,
"y": 0.0,
"z": 0.0,
},
"startVertex": {
"collectionID": -2,
"index": -2,
},
"tracks": [],
"type": 0,
},
],
},
},
};

Expand Down

0 comments on commit c7b270c

Please sign in to comment.