#include <DetGroupMerger.h>
Definition at line 7 of file DetGroupMerger.h.
◆ addSameLevel()
void DetGroupMerger::addSameLevel |
( |
std::vector< DetGroup > && |
gvec, |
|
|
std::vector< DetGroup > & |
result |
|
) |
| |
|
static |
◆ doubleIndexSize()
void DetGroupMerger::doubleIndexSize |
( |
std::vector< DetGroup > & |
vec | ) |
|
|
static |
Definition at line 76 of file DetGroupMerger.cc.
77 int indSize = vec.front().indexSize();
78 for (vector<DetGroup>::iterator
i = vec.begin();
i != vec.end();
i++) {
79 i->setIndexSize(2 * indSize);
References mps_fire::i.
◆ incrementAndDoubleSize()
void DetGroupMerger::incrementAndDoubleSize |
( |
std::vector< DetGroup > & |
vec | ) |
|
|
static |
Definition at line 83 of file DetGroupMerger.cc.
84 int indSize = vec.front().indexSize();
85 for (vector<DetGroup>::iterator
i = vec.begin();
i != vec.end();
i++) {
86 i->incrementIndex(indSize);
References mps_fire::i.
◆ mergeTwoLevels()
void DetGroupMerger::mergeTwoLevels |
( |
std::vector< DetGroup > && |
one, |
|
|
std::vector< DetGroup > && |
two, |
|
|
std::vector< DetGroup > & |
result |
|
) |
| |
|
static |
◆ orderAndMergeTwoLevels()
void DetGroupMerger::orderAndMergeTwoLevels |
( |
std::vector< DetGroup > && |
one, |
|
|
std::vector< DetGroup > && |
two, |
|
|
std::vector< DetGroup > & |
result, |
|
|
int |
firstIndex, |
|
|
int |
firstCrossed |
|
) |
| |
|
static |
Definition at line 6 of file DetGroupMerger.cc.
8 if (
one.empty() &&
two.empty())
13 if (firstIndex == firstCrossed)
17 }
else if (
two.empty()) {
19 if (firstIndex == firstCrossed)
24 if (firstIndex == firstCrossed)
References eostools::move(), SiPixelPI::one, mps_fire::result, and SiPixelPI::two.
Referenced by PixelForwardLayer::groupedCompatibleDetsV(), PixelForwardLayerPhase1::groupedCompatibleDetsV(), TECLayer::groupedCompatibleDetsV(), TBLayer::groupedCompatibleDetsV(), CompositeTECWedge::groupedCompatibleDetsV(), TIBRing::groupedCompatibleDetsV(), TIDRing::groupedCompatibleDetsV(), Phase2EndcapLayer::groupedCompatibleDetsV(), TOBRod::groupedCompatibleDetsV(), PixelBlade::groupedCompatibleDetsV(), Phase2EndcapRing::groupedCompatibleDetsV(), Phase1PixelBlade::groupedCompatibleDetsV(), Phase2OTBarrelRod::groupedCompatibleDetsV(), and CompositeTECPetal::groupedCompatibleDetsV().