ral 0.0.1
Loading...
Searching...
No Matches
ReconstructedParticle.h
Go to the documentation of this file.
1#include <Math/Vector3D.h>
2#include <Math/Vector4D.h>
3#include <cmath>
4#include <edm4hep/ClusterCollection.h>
5#include <edm4hep/ReconstructedParticleCollection.h>
6#include <edm4hep/TrackCollection.h>
7#include <iostream>
9namespace k4::ral {
10namespace ReconstructedParticle {
17ROOT::VecOps::RVec<float>
18getP(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
26ROOT::VecOps::RVec<float>
27getPt(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
34ROOT::VecOps::RVec<float>
35getPx(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
42ROOT::VecOps::RVec<float>
43getPy(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
50ROOT::VecOps::RVec<float>
51getPz(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
58ROOT::VecOps::RVec<float>
59getEta(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
66ROOT::VecOps::RVec<float>
67getRapidity(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
74ROOT::VecOps::RVec<float>
75getTheta(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
82ROOT::VecOps::RVec<float>
83getPhi(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
91ROOT::VecOps::RVec<float>
92getR(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
99ROOT::VecOps::RVec<float>
100getX(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
107ROOT::VecOps::RVec<float>
108getY(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
115ROOT::VecOps::RVec<float>
116getZ(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
123ROOT::VecOps::RVec<float>
124getE(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
131ROOT::VecOps::RVec<float>
132getM(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
139ROOT::VecOps::RVec<float>
140getQ(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
147ROOT::VecOps::RVec<float>
148getAbsq(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
155ROOT::VecOps::RVec<int>
156getPdg(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
163ROOT::VecOps::RVec<int>
164getAbspdg(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
171ROOT::VecOps::RVec<float>
172getP(const edm4hep::ReconstructedParticleCollection &collection);
180ROOT::VecOps::RVec<float>
181getPt(const edm4hep::ReconstructedParticleCollection &collection);
188ROOT::VecOps::RVec<float>
189getPx(const edm4hep::ReconstructedParticleCollection &collection);
196ROOT::VecOps::RVec<float>
197getPy(const edm4hep::ReconstructedParticleCollection &collection);
204ROOT::VecOps::RVec<float>
205getPz(const edm4hep::ReconstructedParticleCollection &collection);
212ROOT::VecOps::RVec<float>
213getEta(const edm4hep::ReconstructedParticleCollection &collection);
220ROOT::VecOps::RVec<float>
221getRapidity(const edm4hep::ReconstructedParticleCollection &collection);
228ROOT::VecOps::RVec<float>
229getTheta(const edm4hep::ReconstructedParticleCollection &collection);
236ROOT::VecOps::RVec<float>
237getPhi(const edm4hep::ReconstructedParticleCollection &collection);
245ROOT::VecOps::RVec<float>
246getR(const edm4hep::ReconstructedParticleCollection &collection);
253ROOT::VecOps::RVec<float>
254getX(const edm4hep::ReconstructedParticleCollection &collection);
261ROOT::VecOps::RVec<float>
262getY(const edm4hep::ReconstructedParticleCollection &collection);
269ROOT::VecOps::RVec<float>
270getZ(const edm4hep::ReconstructedParticleCollection &collection);
277ROOT::VecOps::RVec<float>
278getE(const edm4hep::ReconstructedParticleCollection &collection);
285ROOT::VecOps::RVec<float>
286getM(const edm4hep::ReconstructedParticleCollection &collection);
293ROOT::VecOps::RVec<float>
294getQ(const edm4hep::ReconstructedParticleCollection &collection);
301ROOT::VecOps::RVec<float>
302getAbsq(const edm4hep::ReconstructedParticleCollection &collection);
309ROOT::VecOps::RVec<int>
310getPdg(const edm4hep::ReconstructedParticleCollection &collection);
317ROOT::VecOps::RVec<int>
318getAbspdg(const edm4hep::ReconstructedParticleCollection &collection);
325int printP(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
333int printPt(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
340int printPx(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
347int printPy(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
354int printPz(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
361int printEta(
362 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
369int printRapidity(
370 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
377int printTheta(
378 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
385int printPhi(
386 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
394int printR(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
401int printX(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
408int printY(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
415int printZ(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
422int printE(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
429int printM(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
436int printQ(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
444int printAbsq(
445 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
452int printPdg(
453 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
460int printAbspdg(
461 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
468int printP(const edm4hep::ReconstructedParticleCollection &collection);
476int printPt(const edm4hep::ReconstructedParticleCollection &collection);
483int printPx(const edm4hep::ReconstructedParticleCollection &collection);
490int printPy(const edm4hep::ReconstructedParticleCollection &collection);
497int printPz(const edm4hep::ReconstructedParticleCollection &collection);
504int printEta(const edm4hep::ReconstructedParticleCollection &collection);
511int printRapidity(const edm4hep::ReconstructedParticleCollection &collection);
518int printTheta(const edm4hep::ReconstructedParticleCollection &collection);
525int printPhi(const edm4hep::ReconstructedParticleCollection &collection);
533int printR(const edm4hep::ReconstructedParticleCollection &collection);
540int printX(const edm4hep::ReconstructedParticleCollection &collection);
547int printY(const edm4hep::ReconstructedParticleCollection &collection);
554int printZ(const edm4hep::ReconstructedParticleCollection &collection);
561int printE(const edm4hep::ReconstructedParticleCollection &collection);
568int printM(const edm4hep::ReconstructedParticleCollection &collection);
575int printQ(const edm4hep::ReconstructedParticleCollection &collection);
583int printAbsq(const edm4hep::ReconstructedParticleCollection &collection);
590int printPdg(const edm4hep::ReconstructedParticleCollection &collection);
597int printAbspdg(const edm4hep::ReconstructedParticleCollection &collection);
607ROOT::VecOps::RVec<bool>
609 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
619ROOT::VecOps::RVec<bool>
621 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
631ROOT::VecOps::RVec<bool>
633 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
643ROOT::VecOps::RVec<bool>
645 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
655ROOT::VecOps::RVec<bool>
657 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
667ROOT::VecOps::RVec<bool>
669 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
679ROOT::VecOps::RVec<bool> maskRapidity(
681 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
691ROOT::VecOps::RVec<bool>
693 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
703ROOT::VecOps::RVec<bool>
705 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
715ROOT::VecOps::RVec<bool>
717 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
727ROOT::VecOps::RVec<bool>
729 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
739ROOT::VecOps::RVec<bool>
741 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
751ROOT::VecOps::RVec<bool>
753 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
763ROOT::VecOps::RVec<bool>
765 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
775ROOT::VecOps::RVec<bool>
777 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
787ROOT::VecOps::RVec<bool>
789 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
799ROOT::VecOps::RVec<bool>
801 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
811ROOT::VecOps::RVec<bool>
813 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
823ROOT::VecOps::RVec<bool>
825 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
835ROOT::VecOps::RVec<bool>
837 const edm4hep::ReconstructedParticleCollection &collection);
847ROOT::VecOps::RVec<bool>
849 const edm4hep::ReconstructedParticleCollection &collection);
859ROOT::VecOps::RVec<bool>
861 const edm4hep::ReconstructedParticleCollection &collection);
871ROOT::VecOps::RVec<bool>
873 const edm4hep::ReconstructedParticleCollection &collection);
883ROOT::VecOps::RVec<bool>
885 const edm4hep::ReconstructedParticleCollection &collection);
895ROOT::VecOps::RVec<bool>
897 const edm4hep::ReconstructedParticleCollection &collection);
907ROOT::VecOps::RVec<bool>
909 const edm4hep::ReconstructedParticleCollection &collection);
919ROOT::VecOps::RVec<bool>
921 const edm4hep::ReconstructedParticleCollection &collection);
931ROOT::VecOps::RVec<bool>
933 const edm4hep::ReconstructedParticleCollection &collection);
943ROOT::VecOps::RVec<bool>
945 const edm4hep::ReconstructedParticleCollection &collection);
955ROOT::VecOps::RVec<bool>
957 const edm4hep::ReconstructedParticleCollection &collection);
967ROOT::VecOps::RVec<bool>
969 const edm4hep::ReconstructedParticleCollection &collection);
979ROOT::VecOps::RVec<bool>
981 const edm4hep::ReconstructedParticleCollection &collection);
991ROOT::VecOps::RVec<bool>
993 const edm4hep::ReconstructedParticleCollection &collection);
1003ROOT::VecOps::RVec<bool>
1005 const edm4hep::ReconstructedParticleCollection &collection);
1015ROOT::VecOps::RVec<bool>
1017 const edm4hep::ReconstructedParticleCollection &collection);
1027ROOT::VecOps::RVec<bool>
1029 const edm4hep::ReconstructedParticleCollection &collection);
1039ROOT::VecOps::RVec<bool>
1041 const edm4hep::ReconstructedParticleCollection &collection);
1051ROOT::VecOps::RVec<bool>
1053 const edm4hep::ReconstructedParticleCollection &collection);
1062ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1064 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1074ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1076 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1085ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1087 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1096ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1098 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1107ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1109 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1119ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1121 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1130ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1132 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1141ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1143 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1153ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1155 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1165ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1167 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1177ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1179 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1189ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1191 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1201ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1203 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1212ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1214 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1223ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1225 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1234ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1236 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1246ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1248 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1257ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1259 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1269ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1271 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection);
1280edm4hep::ReconstructedParticleCollection
1282 const edm4hep::ReconstructedParticleCollection &collection);
1292edm4hep::ReconstructedParticleCollection
1294 const edm4hep::ReconstructedParticleCollection &collection);
1303edm4hep::ReconstructedParticleCollection
1305 const edm4hep::ReconstructedParticleCollection &collection);
1314edm4hep::ReconstructedParticleCollection
1316 const edm4hep::ReconstructedParticleCollection &collection);
1325edm4hep::ReconstructedParticleCollection
1327 const edm4hep::ReconstructedParticleCollection &collection);
1337edm4hep::ReconstructedParticleCollection
1339 const edm4hep::ReconstructedParticleCollection &collection);
1348edm4hep::ReconstructedParticleCollection
1350 const edm4hep::ReconstructedParticleCollection &collection);
1359edm4hep::ReconstructedParticleCollection
1361 const edm4hep::ReconstructedParticleCollection &collection);
1371edm4hep::ReconstructedParticleCollection
1373 const edm4hep::ReconstructedParticleCollection &collection);
1383edm4hep::ReconstructedParticleCollection
1385 const edm4hep::ReconstructedParticleCollection &collection);
1395edm4hep::ReconstructedParticleCollection
1397 const edm4hep::ReconstructedParticleCollection &collection);
1407edm4hep::ReconstructedParticleCollection
1409 const edm4hep::ReconstructedParticleCollection &collection);
1419edm4hep::ReconstructedParticleCollection
1421 const edm4hep::ReconstructedParticleCollection &collection);
1430edm4hep::ReconstructedParticleCollection
1432 const edm4hep::ReconstructedParticleCollection &collection);
1441edm4hep::ReconstructedParticleCollection
1443 const edm4hep::ReconstructedParticleCollection &collection);
1452edm4hep::ReconstructedParticleCollection
1454 const edm4hep::ReconstructedParticleCollection &collection);
1464edm4hep::ReconstructedParticleCollection
1466 const edm4hep::ReconstructedParticleCollection &collection);
1475edm4hep::ReconstructedParticleCollection
1477 const edm4hep::ReconstructedParticleCollection &collection);
1487edm4hep::ReconstructedParticleCollection
1489 const edm4hep::ReconstructedParticleCollection &collection);
1497ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1498sortP(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1499 bool reverse = false);
1508ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1509sortPt(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1510 bool reverse = false);
1518ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1519sortPx(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1520 bool reverse = false);
1528ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1529sortPy(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1530 bool reverse = false);
1538ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1539sortPz(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1540 bool reverse = false);
1549ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1550sortEta(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1551 bool reverse = false);
1559ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1560sortRapidity(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1561 bool reverse = false);
1569ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1570sortTheta(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1571 bool reverse = false);
1580ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1581sortPhi(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1582 bool reverse = false);
1591ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1592sortR(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1593 bool reverse = false);
1602ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1603sortX(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1604 bool reverse = false);
1613ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1614sortY(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1615 bool reverse = false);
1624ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1625sortZ(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1626 bool reverse = false);
1634ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1635sortE(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1636 bool reverse = false);
1644ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1645sortM(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1646 bool reverse = false);
1654ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1655sortQ(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1656 bool reverse = false);
1665ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1666sortAbsq(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1667 bool reverse = false);
1675ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData>
1676sortPdg(ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &collection,
1677 bool reverse = false);
1685edm4hep::ReconstructedParticleCollection
1686sortP(edm4hep::ReconstructedParticleCollection &collection,
1687 bool reverse = false);
1696edm4hep::ReconstructedParticleCollection
1697sortPt(edm4hep::ReconstructedParticleCollection &collection,
1698 bool reverse = false);
1706edm4hep::ReconstructedParticleCollection
1707sortPx(edm4hep::ReconstructedParticleCollection &collection,
1708 bool reverse = false);
1716edm4hep::ReconstructedParticleCollection
1717sortPy(edm4hep::ReconstructedParticleCollection &collection,
1718 bool reverse = false);
1726edm4hep::ReconstructedParticleCollection
1727sortPz(edm4hep::ReconstructedParticleCollection &collection,
1728 bool reverse = false);
1737edm4hep::ReconstructedParticleCollection
1738sortEta(edm4hep::ReconstructedParticleCollection &collection,
1739 bool reverse = false);
1747edm4hep::ReconstructedParticleCollection
1748sortRapidity(edm4hep::ReconstructedParticleCollection &collection,
1749 bool reverse = false);
1757edm4hep::ReconstructedParticleCollection
1758sortTheta(edm4hep::ReconstructedParticleCollection &collection,
1759 bool reverse = false);
1768edm4hep::ReconstructedParticleCollection
1769sortPhi(edm4hep::ReconstructedParticleCollection &collection,
1770 bool reverse = false);
1779edm4hep::ReconstructedParticleCollection
1780sortR(edm4hep::ReconstructedParticleCollection &collection,
1781 bool reverse = false);
1790edm4hep::ReconstructedParticleCollection
1791sortX(edm4hep::ReconstructedParticleCollection &collection,
1792 bool reverse = false);
1801edm4hep::ReconstructedParticleCollection
1802sortY(edm4hep::ReconstructedParticleCollection &collection,
1803 bool reverse = false);
1812edm4hep::ReconstructedParticleCollection
1813sortZ(edm4hep::ReconstructedParticleCollection &collection,
1814 bool reverse = false);
1822edm4hep::ReconstructedParticleCollection
1823sortE(edm4hep::ReconstructedParticleCollection &collection,
1824 bool reverse = false);
1832edm4hep::ReconstructedParticleCollection
1833sortM(edm4hep::ReconstructedParticleCollection &collection,
1834 bool reverse = false);
1842edm4hep::ReconstructedParticleCollection
1843sortQ(edm4hep::ReconstructedParticleCollection &collection,
1844 bool reverse = false);
1853edm4hep::ReconstructedParticleCollection
1854sortAbsq(edm4hep::ReconstructedParticleCollection &collection,
1855 bool reverse = false);
1863edm4hep::ReconstructedParticleCollection
1864sortPdg(edm4hep::ReconstructedParticleCollection &collection,
1865 bool reverse = false);
1876ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> getParticles(
1877 edm4hep::ReconstructedParticleData &item,
1878 ROOT::VecOps::RVec<edm4hep::ReconstructedParticleData> &relatedCollection);
1887ROOT::VecOps::RVec<edm4hep::TrackData>
1888getTracks(edm4hep::ReconstructedParticleData &item,
1889 ROOT::VecOps::RVec<edm4hep::TrackData> &relatedCollection);
1898ROOT::VecOps::RVec<edm4hep::ClusterData>
1899getClusters(edm4hep::ReconstructedParticleData &item,
1900 ROOT::VecOps::RVec<edm4hep::ClusterData> &relatedCollection);
1908edm4hep::ReconstructedParticleCollection
1909getParticles(const edm4hep::ReconstructedParticle &item);
1916edm4hep::TrackCollection getTracks(const edm4hep::ReconstructedParticle &item);
1923edm4hep::ClusterCollection
1924getClusters(const edm4hep::ReconstructedParticle &item);
1925} // namespace ReconstructedParticle
1926} // namespace k4::ral
ComparisonOperator
Definition LogicalOperators.h:17
int printRapidity(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print rapidity from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:549
ROOT::VecOps::RVec< float > getZ(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get z coordinate from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:161
int printE(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print energy from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:615
ROOT::VecOps::RVec< bool > maskPdg(LogicalOperators::ComparisonOperator op, int val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of pdg from each item in a collection of ReconstructedParticle...
Definition ReconstructedParticle.cc:1303
ROOT::VecOps::RVec< float > getE(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get energy from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:174
ROOT::VecOps::RVec< bool > maskM(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of mass from each item in a collection of ReconstructedParticl...
Definition ReconstructedParticle.cc:1222
ROOT::VecOps::RVec< int > getPdg(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get pdg from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:218
ROOT::VecOps::RVec< float > getRapidity(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get rapidity from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:82
ROOT::VecOps::RVec< float > getQ(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get charge from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:196
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selPhi(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of azimutal angle.
Definition ReconstructedParticle.cc:1918
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortM(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of mass.
Definition ReconstructedParticle.cc:2332
ROOT::VecOps::RVec< float > getM(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get mass from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:185
int printAbsq(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print absolute charge from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:642
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortY(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of y coordinate.
Definition ReconstructedParticle.cc:2285
ROOT::VecOps::RVec< int > getAbspdg(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get absolute pdg from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:229
int printPdg(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print pdg from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:652
ROOT::VecOps::RVec< float > getPx(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get x momentum from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:31
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selPx(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of x momentum.
Definition ReconstructedParticle.cc:1882
ROOT::VecOps::RVec< bool > maskX(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of x coordinate from each item in a collection of Reconstructe...
Definition ReconstructedParticle.cc:1114
int printTheta(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print polar angle from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:559
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortP(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of momentum.
Definition ReconstructedParticle.cc:2098
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortRapidity(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of rapidity.
Definition ReconstructedParticle.cc:2200
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selX(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of x coordinate.
Definition ReconstructedParticle.cc:1930
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortZ(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of z coordinate.
Definition ReconstructedParticle.cc:2302
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortTheta(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of polar angle.
Definition ReconstructedParticle.cc:2217
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selPz(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of z momentum.
Definition ReconstructedParticle.cc:1894
int printPhi(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print azimutal angle from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:569
ROOT::VecOps::RVec< float > getPt(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get transverse momentum from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:18
ROOT::VecOps::RVec< bool > maskY(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of y coordinate from each item in a collection of Reconstructe...
Definition ReconstructedParticle.cc:1141
ROOT::VecOps::RVec< float > getP(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get momentum from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:5
int printP(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print momentum from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:490
ROOT::VecOps::RVec< bool > maskPy(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of y momentum from each item in a collection of ReconstructedP...
Definition ReconstructedParticle.cc:925
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortPhi(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of azimutal angle.
Definition ReconstructedParticle.cc:2234
ROOT::VecOps::RVec< bool > maskRapidity(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of rapidity from each item in a collection of ReconstructedPar...
Definition ReconstructedParticle.cc:1005
ROOT::VecOps::RVec< bool > maskPhi(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of azimutal angle from each item in a collection of Reconstruc...
Definition ReconstructedParticle.cc:1060
ROOT::VecOps::RVec< bool > maskE(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of energy from each item in a collection of ReconstructedParti...
Definition ReconstructedParticle.cc:1195
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortPy(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of y momentum.
Definition ReconstructedParticle.cc:2149
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selQ(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of charge.
Definition ReconstructedParticle.cc:1960
ROOT::VecOps::RVec< bool > maskQ(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of charge from each item in a collection of ReconstructedParti...
Definition ReconstructedParticle.cc:1249
ROOT::VecOps::RVec< float > getPhi(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get azimutal angle from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:109
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selAbsq(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of absolute charge.
Definition ReconstructedParticle.cc:1966
ROOT::VecOps::RVec< bool > maskTheta(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of polar angle from each item in a collection of Reconstructed...
Definition ReconstructedParticle.cc:1033
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selM(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of mass.
Definition ReconstructedParticle.cc:1954
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > getParticles(edm4hep::ReconstructedParticleData &item, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &relatedCollection)
Get the collection of ReconstructedParticle related to a ReconstructedParticle.
Definition ReconstructedParticle.cc:2832
int printEta(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print pseudorapidity from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:539
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selPt(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of transverse momentum.
Definition ReconstructedParticle.cc:1876
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selPdg(LogicalOperators::ComparisonOperator op, int val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of pdg.
Definition ReconstructedParticle.cc:1972
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selY(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of y coordinate.
Definition ReconstructedParticle.cc:1936
ROOT::VecOps::RVec< bool > maskZ(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of z coordinate from each item in a collection of Reconstructe...
Definition ReconstructedParticle.cc:1168
ROOT::VecOps::RVec< bool > maskR(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of distance to origin from each item in a collection of Recons...
Definition ReconstructedParticle.cc:1087
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selEta(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of pseudorapidity.
Definition ReconstructedParticle.cc:1900
int printY(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print y coordinate from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:597
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selPy(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of y momentum.
Definition ReconstructedParticle.cc:1888
ROOT::VecOps::RVec< bool > maskPx(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of x momentum from each item in a collection of ReconstructedP...
Definition ReconstructedParticle.cc:898
int printPz(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print z momentum from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:529
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selAbspdg(LogicalOperators::ComparisonOperator op, int val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of absolute pdg.
Definition ReconstructedParticle.cc:1978
ROOT::VecOps::RVec< float > getPy(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get y momentum from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:44
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selZ(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of z coordinate.
Definition ReconstructedParticle.cc:1942
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortPz(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of z momentum.
Definition ReconstructedParticle.cc:2166
ROOT::VecOps::RVec< bool > maskAbsq(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of absolute charge from each item in a collection of Reconstru...
Definition ReconstructedParticle.cc:1276
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortAbsq(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of absolute charge.
Definition ReconstructedParticle.cc:2358
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortQ(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of charge.
Definition ReconstructedParticle.cc:2345
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortPt(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of transverse momentum.
Definition ReconstructedParticle.cc:2115
ROOT::VecOps::RVec< bool > maskAbspdg(LogicalOperators::ComparisonOperator op, int val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of absolute pdg from each item in a collection of Reconstructe...
Definition ReconstructedParticle.cc:1330
int printPt(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print transverse momentum from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:499
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortEta(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of pseudorapidity.
Definition ReconstructedParticle.cc:2183
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortX(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of x coordinate.
Definition ReconstructedParticle.cc:2268
ROOT::VecOps::RVec< bool > maskPz(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of z momentum from each item in a collection of ReconstructedP...
Definition ReconstructedParticle.cc:952
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selRapidity(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of rapidity.
Definition ReconstructedParticle.cc:1905
int printPx(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print x momentum from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:509
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selE(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of energy.
Definition ReconstructedParticle.cc:1948
ROOT::VecOps::RVec< edm4hep::TrackData > getTracks(edm4hep::ReconstructedParticleData &item, ROOT::VecOps::RVec< edm4hep::TrackData > &relatedCollection)
Get the collection of Track related to a ReconstructedParticle.
Definition ReconstructedParticle.cc:2844
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortPx(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of x momentum.
Definition ReconstructedParticle.cc:2132
ROOT::VecOps::RVec< bool > maskEta(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of pseudorapidity from each item in a collection of Reconstruc...
Definition ReconstructedParticle.cc:979
ROOT::VecOps::RVec< float > getR(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get distance to origin from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:122
ROOT::VecOps::RVec< float > getAbsq(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get absolute charge from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:207
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortPdg(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of pdg.
Definition ReconstructedParticle.cc:2371
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selR(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of distance to origin.
Definition ReconstructedParticle.cc:1924
ROOT::VecOps::RVec< float > getEta(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get pseudorapidity from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:70
ROOT::VecOps::RVec< float > getTheta(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get polar angle from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:96
int printR(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print distance to origin from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:579
ROOT::VecOps::RVec< edm4hep::ClusterData > getClusters(edm4hep::ReconstructedParticleData &item, ROOT::VecOps::RVec< edm4hep::ClusterData > &relatedCollection)
Get the collection of Cluster related to a ReconstructedParticle.
Definition ReconstructedParticle.cc:2855
ROOT::VecOps::RVec< float > getX(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get x coordinate from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:135
int printM(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print mass from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:624
ROOT::VecOps::RVec< bool > maskP(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of momentum from each item in a collection of ReconstructedPar...
Definition ReconstructedParticle.cc:844
ROOT::VecOps::RVec< float > getY(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get y coordinate from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:148
int printPy(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print y momentum from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:519
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selTheta(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of polar angle.
Definition ReconstructedParticle.cc:1912
int printQ(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print charge from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:633
ROOT::VecOps::RVec< float > getPz(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Get z momentum from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:57
int printAbspdg(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print absolute pdg from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:662
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > selP(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Select a subgroup of ReconstructedParticle based on the value of momentum.
Definition ReconstructedParticle.cc:1870
int printZ(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print z coordinate from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:606
int printX(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Print x coordinate from each item in a collection of ReconstructedParticle.
Definition ReconstructedParticle.cc:588
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortE(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of energy.
Definition ReconstructedParticle.cc:2319
ROOT::VecOps::RVec< bool > maskPt(LogicalOperators::ComparisonOperator op, float val, ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection)
Create boolean mask based on the value of transverse momentum from each item in a collection of Recon...
Definition ReconstructedParticle.cc:871
ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > sortR(ROOT::VecOps::RVec< edm4hep::ReconstructedParticleData > &collection, bool reverse)
Sort a collection of ReconstructedParticle based on the value of distance to origin.
Definition ReconstructedParticle.cc:2251
Definition CalorimeterHit.cc:2