#include <Run2ToRun3TrigNavConverterV2.h>
◆ ConvProxy()
◆ description()
| std::string ConvProxy::description |
( |
| ) |
const |
Definition at line 131 of file Run2ToRun3TrigNavConverterV2.cxx.
132{
133 std::string ret;
134 ret +=
" N parents: " + std::to_string(
parents.size());
135 ret +=
" N children: " + std::to_string(
children.size());
136 std::ostringstream
os;
139 ret +=
" ptrs: " +
os.str();
140 ret +=
" feaHash: " + std::to_string(
feaHash);
141 ret +=
" N run chains: " + std::to_string(
runChains.size());
142 return ret;
143}
std::set< ConvProxy * > children
std::set< HLT::Identifier > runChains
std::set< ConvProxy * > parents
◆ isChild()
| bool ConvProxy::isChild |
( |
const ConvProxy * | other | ) |
const |
◆ isParent()
| bool ConvProxy::isParent |
( |
const ConvProxy * | other | ) |
const |
◆ merge()
Definition at line 62 of file Run2ToRun3TrigNavConverterV2.cxx.
63{
64 if (other == this)
65 {
66 return;
67 }
68
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87 auto add = [](
ConvProxy *toadd, std::set<ConvProxy *> &coll)
88 {
89 if (std::find(coll.begin(), coll.end(), toadd) == coll.end())
90 {
91 coll.insert(toadd);
92 }
93 };
94
96 {
97 auto place = std::find(coll.begin(), coll.end(), torem);
98 if (place != coll.end())
99 {
100 coll.erase(place);
101 }
102 };
103
104
105 for (
auto otherChild :
other->children)
106 {
108 add(
this, otherChild->parents);
109 }
110
111 for (
auto otherParent :
other->parents)
112 {
114 add(
this, otherParent->children);
115 }
116
117
118 for (
auto otherParent :
other->parents)
119 {
120 remove(other, otherParent->children);
121 }
122
123 for (
auto otherChild :
other->children)
124 {
125 remove(other, otherChild->parents);
126 }
127 other->children.clear();
128 other->parents.clear();
129}
bool add(const std::string &hname, TKey *tobj)
std::set< HLT::Identifier > passChains
ConvProxy(const HLT::TriggerElement *te)
◆ mergeAllowed()
| bool ConvProxy::mergeAllowed |
( |
const ConvProxy * | other | ) |
const |
Definition at line 50 of file Run2ToRun3TrigNavConverterV2.cxx.
51{
52 if (this == other)
53 return false;
54
56 return false;
58 return false;
59 return true;
60}
bool isParent(const ConvProxy *other) const
bool isChild(const ConvProxy *other) const
◆ children
◆ feaHash
◆ features
◆ hNode
◆ imNode
◆ l1Node
◆ MissingFEA
| const uint64_t ConvProxy::MissingFEA = 0 |
|
static |
◆ parents
◆ passChains
◆ rois
◆ runChains
◆ te
◆ teIDs
◆ tracks
The documentation for this struct was generated from the following files: