add analysis flow chart

This commit is contained in:
Ryan Tang 2024-05-30 17:23:43 -04:00
parent 184b24b7c2
commit 8f2f264317
3 changed files with 866 additions and 0 deletions

View File

@ -57,6 +57,8 @@ root macro to run analysis flow at once.
# Analysis Flow
![Alt text](analysis_flow.png?raw=true "Analysis Flow")
1. The NSCL-evt file to pixie-evt file (nscl2pixie)
2. Use the EventBuilder to build event and apply the mapping.h
3. Use peachCake.C/h to analysis and output a new root file.

864
analysis_flow.excalidraw Normal file
View File

@ -0,0 +1,864 @@
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [
{
"type": "rectangle",
"version": 392,
"versionNonce": 1005078016,
"index": "a0",
"isDeleted": false,
"id": "F7K7zMR1U55-x1Y0zNheF",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 770.1777777777761,
"y": 71,
"strokeColor": "#000000",
"backgroundColor": "transparent",
"width": 217,
"height": 49.296296296296305,
"seed": 1288944801,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 1
},
"boundElements": [
{
"type": "text",
"id": "a-Y-OVWiKnXczi4Nhg3-k"
},
{
"id": "wVuMtUwvQDwX0zsvknEbS",
"type": "arrow"
}
],
"updated": 1717103666213,
"link": null,
"locked": false
},
{
"type": "text",
"version": 507,
"versionNonce": 1564427776,
"index": "a1",
"isDeleted": false,
"id": "a-Y-OVWiKnXczi4Nhg3-k",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 801.6113944159597,
"y": 80.14814814814815,
"strokeColor": "#000000",
"backgroundColor": "transparent",
"width": 154.1327667236328,
"height": 30.999999999999996,
"seed": 307235695,
"groupIds": [],
"frameId": null,
"roundness": null,
"boundElements": [],
"updated": 1717103804894,
"link": null,
"locked": false,
"fontSize": 24.97113665389526,
"fontFamily": 1,
"text": "*.evt (NSCL)",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "F7K7zMR1U55-x1Y0zNheF",
"originalText": "*.evt (NSCL)",
"autoResize": true,
"lineHeight": 1.2414332767332916
},
{
"type": "rectangle",
"version": 372,
"versionNonce": 1946977792,
"index": "a2",
"isDeleted": false,
"id": "soHz1JXys4CcGsQ3wYg0G",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1164.4370370370366,
"y": 56.65925925925899,
"strokeColor": "#000000",
"backgroundColor": "transparent",
"width": 217.79999999999995,
"height": 62.7407407407408,
"seed": 784122305,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 1
},
"boundElements": [
{
"type": "text",
"id": "B5h2e4cOtLsO2Z2nCmXUv"
},
{
"id": "wVuMtUwvQDwX0zsvknEbS",
"type": "arrow"
},
{
"id": "cVfBGP1caGY3pgFvecDal",
"type": "arrow"
}
],
"updated": 1717103670546,
"link": null,
"locked": false
},
{
"type": "rectangle",
"version": 593,
"versionNonce": 696436224,
"index": "a3",
"isDeleted": false,
"id": "lVG_kdGInlSn8Z2rog8y_",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1583.5925925925924,
"y": 56.659259259257624,
"strokeColor": "#000000",
"backgroundColor": "transparent",
"width": 217.79999999999995,
"height": 62.7407407407408,
"seed": 678994785,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 1
},
"boundElements": [
{
"id": "BrUYg7L4kzqjcJN7o7PEr",
"type": "text"
},
{
"id": "cVfBGP1caGY3pgFvecDal",
"type": "arrow"
},
{
"id": "P9cZwyL3gt9n5Uc2t372O",
"type": "arrow"
},
{
"id": "y_XLI7bYXzqDj5i3ZglYI",
"type": "arrow"
},
{
"id": "1fNgNC-J7N4FcxMoXbF_7",
"type": "arrow"
}
],
"updated": 1717103936319,
"link": null,
"locked": false
},
{
"type": "rectangle",
"version": 706,
"versionNonce": 1794710016,
"index": "a4",
"isDeleted": false,
"id": "75BzEnWMBt8CyzY_59Z5z",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1585.5925925925924,
"y": 250.65925925925762,
"strokeColor": "#000000",
"backgroundColor": "transparent",
"width": 218,
"height": 72,
"seed": 492968513,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 1
},
"boundElements": [
{
"id": "MtjqdHYBc5PTU-ra8NZHg",
"type": "text"
},
{
"id": "cVfBGP1caGY3pgFvecDal",
"type": "arrow"
},
{
"id": "P7NpNHMmnsu-hhgwxYmo2",
"type": "arrow"
},
{
"id": "P9cZwyL3gt9n5Uc2t372O",
"type": "arrow"
},
{
"id": "_XgEhQ8VfxSK_1GOXMTyR",
"type": "arrow"
}
],
"updated": 1717103913250,
"link": null,
"locked": false
},
{
"type": "text",
"version": 484,
"versionNonce": 230693376,
"index": "a6",
"isDeleted": false,
"id": "B5h2e4cOtLsO2Z2nCmXUv",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1201.9510583383062,
"y": 72.52962962962943,
"strokeColor": "#000000",
"backgroundColor": "transparent",
"width": 142.77195739746094,
"height": 31,
"seed": 1364715503,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [],
"updated": 1717103804894,
"link": null,
"locked": false,
"fontSize": 24.971673819742485,
"fontFamily": 1,
"text": "*.evt (pixie)",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "soHz1JXys4CcGsQ3wYg0G",
"originalText": "*.evt (pixie)",
"autoResize": true,
"lineHeight": 1.2414065722535408
},
{
"type": "text",
"version": 693,
"versionNonce": 1097238016,
"index": "a7",
"isDeleted": false,
"id": "BrUYg7L4kzqjcJN7o7PEr",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1588.5925925925924,
"y": 72.52962962962806,
"strokeColor": "#000000",
"backgroundColor": "transparent",
"width": 207.79999999999995,
"height": 31,
"seed": 1623507279,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [],
"updated": 1717103804894,
"link": null,
"locked": false,
"fontSize": 24.971673819742485,
"fontFamily": 1,
"text": "*.root",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "lVG_kdGInlSn8Z2rog8y_",
"originalText": "*.root",
"autoResize": true,
"lineHeight": 1.2414065722535408
},
{
"type": "text",
"version": 831,
"versionNonce": 1387059712,
"index": "a8",
"isDeleted": false,
"id": "MtjqdHYBc5PTU-ra8NZHg",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1620.4974845603658,
"y": 255.65925925925762,
"strokeColor": "#000000",
"backgroundColor": "transparent",
"width": 148.19021606445312,
"height": 62,
"seed": 1964271183,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [],
"updated": 1717103804894,
"link": null,
"locked": false,
"fontSize": 24.971673819742485,
"fontFamily": 1,
"text": "zzz_*.root \n(physical)",
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "75BzEnWMBt8CyzY_59Z5z",
"originalText": "zzz_*.root (physical)",
"autoResize": true,
"lineHeight": 1.2414065722535408
},
{
"type": "arrow",
"version": 903,
"versionNonce": 1154631168,
"index": "aA",
"isDeleted": false,
"id": "wVuMtUwvQDwX0zsvknEbS",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 994.4219758263598,
"y": 93.30417347587908,
"strokeColor": "#000000",
"backgroundColor": "transparent",
"width": 161.1259259259275,
"height": 2.067020374485665,
"seed": 270153423,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [],
"updated": 1717103670546,
"link": null,
"locked": false,
"startBinding": {
"elementId": "F7K7zMR1U55-x1Y0zNheF",
"focus": -0.0325789073360154,
"gap": 7.244198048583655
},
"endBinding": {
"elementId": "soHz1JXys4CcGsQ3wYg0G",
"focus": -0.05177259320591252,
"gap": 8.889135284749358
},
"lastCommittedPoint": null,
"startArrowhead": null,
"endArrowhead": "arrow",
"points": [
[
0,
0
],
[
161.1259259259275,
-2.067020374485665
]
]
},
{
"type": "arrow",
"version": 1144,
"versionNonce": 1747174912,
"index": "aC",
"isDeleted": false,
"id": "cVfBGP1caGY3pgFvecDal",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1391.2747523248029,
"y": 92.8788079758255,
"strokeColor": "#000000",
"backgroundColor": "transparent",
"width": 187.01481481481642,
"height": 0.14846317047623359,
"seed": 401824335,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [],
"updated": 1717103722113,
"link": null,
"locked": false,
"startBinding": {
"elementId": "soHz1JXys4CcGsQ3wYg0G",
"focus": 0.15714684037187934,
"gap": 9.03771528776636
},
"endBinding": {
"elementId": "lVG_kdGInlSn8Z2rog8y_",
"focus": -0.14655181276661794,
"gap": 5.303025452972918
},
"lastCommittedPoint": null,
"startArrowhead": null,
"endArrowhead": "arrow",
"points": [
[
0,
0
],
[
187.01481481481642,
-0.14846317047623359
]
]
},
{
"type": "text",
"version": 511,
"versionNonce": 301794816,
"index": "aH",
"isDeleted": false,
"id": "D8BUfkyxf6YqzPnGnv0Xh",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1406.5629629629611,
"y": 36.788888888889346,
"strokeColor": "#000000",
"backgroundColor": "transparent",
"width": 154.16296296296298,
"height": 31.3703703703704,
"seed": 2079320367,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [],
"updated": 1717103804895,
"link": null,
"locked": false,
"fontSize": 25.096296296296305,
"fontFamily": 1,
"text": "EventBuilder",
"textAlign": "center",
"verticalAlign": "top",
"containerId": null,
"originalText": "EventBuilder",
"autoResize": true,
"lineHeight": 1.2500000000000007
},
{
"type": "arrow",
"version": 816,
"versionNonce": 1730840064,
"index": "aJ",
"isDeleted": false,
"id": "P9cZwyL3gt9n5Uc2t372O",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1694.3490894148867,
"y": 125.99999999999997,
"strokeColor": "#2f9e44",
"backgroundColor": "transparent",
"width": 14.720340156314478,
"height": 120.99999999999997,
"seed": 1496444239,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [],
"updated": 1717103956173,
"link": null,
"locked": false,
"startBinding": {
"elementId": "lVG_kdGInlSn8Z2rog8y_",
"focus": 0.02212915002641517,
"gap": 6.6000000000015575
},
"endBinding": {
"elementId": "75BzEnWMBt8CyzY_59Z5z",
"focus": 0.17023883632050066,
"gap": 3.6592592592576807
},
"lastCommittedPoint": null,
"startArrowhead": null,
"endArrowhead": "arrow",
"points": [
[
0,
0
],
[
14.720340156314478,
120.99999999999997
]
]
},
{
"type": "text",
"version": 526,
"versionNonce": 541722112,
"index": "aY",
"isDeleted": false,
"id": "OS1VTZ3RYneQR4p9CDlCf",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1014.2358093261721,
"y": 38.31481481481478,
"strokeColor": "#000000",
"backgroundColor": "transparent",
"width": 113.52838134765625,
"height": 31.3703703703704,
"seed": 1137711616,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [],
"updated": 1717103804895,
"link": null,
"locked": false,
"fontSize": 25.096296296296305,
"fontFamily": 1,
"text": "nscl2pixie",
"textAlign": "center",
"verticalAlign": "top",
"containerId": null,
"originalText": "nscl2pixie",
"autoResize": true,
"lineHeight": 1.2500000000000007
},
{
"type": "text",
"version": 651,
"versionNonce": 1005848064,
"index": "aZ",
"isDeleted": false,
"id": "nnW-Edocf22dPVD9OOQJz",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1722.728355407715,
"y": 159.31481481481478,
"strokeColor": "#2f9e44",
"backgroundColor": "transparent",
"width": 174.5432891845703,
"height": 31.3703703703704,
"seed": 425630208,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [],
"updated": 1717103952167,
"link": null,
"locked": false,
"fontSize": 25.096296296296305,
"fontFamily": 1,
"text": "peachCake.C/h",
"textAlign": "center",
"verticalAlign": "top",
"containerId": null,
"originalText": "peachCake.C/h",
"autoResize": true,
"lineHeight": 1.2500000000000007
},
{
"type": "text",
"version": 721,
"versionNonce": 850888192,
"index": "ab",
"isDeleted": false,
"id": "tYzcdXxsJMi3zSQP5slck",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1338.6626358032224,
"y": 313.3148148148148,
"strokeColor": "#1971c2",
"backgroundColor": "transparent",
"width": 192.6747283935547,
"height": 31.3703703703704,
"seed": 1488673280,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [
{
"id": "_XgEhQ8VfxSK_1GOXMTyR",
"type": "arrow"
}
],
"updated": 1717103964286,
"link": null,
"locked": false,
"fontSize": 25.096296296296305,
"fontFamily": 1,
"text": "DecayFinder.C/h",
"textAlign": "center",
"verticalAlign": "top",
"containerId": null,
"originalText": "DecayFinder.C/h",
"autoResize": true,
"lineHeight": 1.2500000000000007
},
{
"type": "arrow",
"version": 1246,
"versionNonce": 1983535616,
"index": "ac",
"isDeleted": false,
"id": "_XgEhQ8VfxSK_1GOXMTyR",
"fillStyle": "hachure",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"angle": 0,
"x": 1571.2506037881035,
"y": 293.46322045866816,
"strokeColor": "#1971c2",
"backgroundColor": "transparent",
"width": 300.4839494945818,
"height": 4.0834693557875426,
"seed": 2132280832,
"groupIds": [],
"frameId": null,
"roundness": {
"type": 2
},
"boundElements": [],
"updated": 1717103961991,
"link": null,
"locked": false,
"startBinding": {
"elementId": "75BzEnWMBt8CyzY_59Z5z",
"gap": 14.341988804488892,
"focus": -0.1369310325902604
},
"endBinding": {
"elementId": "b5dkaETtp-ccJyO_7aotI",
"gap": 11.13493554752128,
"focus": 0.13758667262201696
},
"lastCommittedPoint": null,
"startArrowhead": null,
"endArrowhead": "arrow",
"points": [
[
0,
0
],
[
-300.4839494945818,
4.0834693557875426
]
]
},
{
"id": "b5dkaETtp-ccJyO_7aotI",
"type": "ellipse",
"x": 952,
"y": 252,
"width": 308,
"height": 84,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 1,
"strokeStyle": "solid",
"roughness": 2,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "ad",
"roundness": {
"type": 2
},
"seed": 1141851648,
"version": 122,
"versionNonce": 1245944320,
"isDeleted": false,
"boundElements": [
{
"id": "VQc1q0tqYnMh1__fMOiX0",
"type": "arrow"
},
{
"type": "text",
"id": "ZSrE2fB6zIFCKsL3sABZa"
},
{
"id": "_XgEhQ8VfxSK_1GOXMTyR",
"type": "arrow"
},
{
"id": "1fNgNC-J7N4FcxMoXbF_7",
"type": "arrow"
}
],
"updated": 1717103975147,
"link": null,
"locked": false
},
{
"id": "ZSrE2fB6zIFCKsL3sABZa",
"type": "text",
"x": 1033.2212554653381,
"y": 276.301515190165,
"width": 145.7686004638672,
"height": 35,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "#ffffff",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "ae",
"roundness": null,
"seed": 143120896,
"version": 111,
"versionNonce": 588121600,
"isDeleted": false,
"boundElements": null,
"updated": 1717103967414,
"link": null,
"locked": false,
"text": "Histograms",
"fontSize": 28,
"fontFamily": 1,
"textAlign": "center",
"verticalAlign": "middle",
"containerId": "b5dkaETtp-ccJyO_7aotI",
"originalText": "Histograms",
"autoResize": true,
"lineHeight": 1.25
},
{
"id": "1fNgNC-J7N4FcxMoXbF_7",
"type": "arrow",
"x": 1675,
"y": 130,
"width": 420,
"height": 142,
"angle": 0,
"strokeColor": "#2f9e44",
"backgroundColor": "#ffffff",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 0,
"opacity": 100,
"groupIds": [],
"frameId": null,
"index": "ag",
"roundness": {
"type": 2
},
"seed": 1615480320,
"version": 191,
"versionNonce": 1529403904,
"isDeleted": false,
"boundElements": null,
"updated": 1717103956173,
"link": null,
"locked": false,
"points": [
[
0,
0
],
[
-35,
100
],
[
-420,
142
]
],
"lastCommittedPoint": null,
"startBinding": {
"elementId": "lVG_kdGInlSn8Z2rog8y_",
"focus": 0.02338147833474176,
"gap": 10.600000000001586
},
"endBinding": {
"elementId": "b5dkaETtp-ccJyO_7aotI",
"focus": -0.1270123958094121,
"gap": 8.69326324342451
},
"startArrowhead": null,
"endArrowhead": "arrow"
}
],
"appState": {
"gridSize": null,
"viewBackgroundColor": "#ffffff"
},
"files": {}
}

BIN
analysis_flow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB