Go to the source code of this file.
◆ FINDRECOPART
#define FINDRECOPART |
( |
|
TYPE, |
|
|
|
COLLECTION1, |
|
|
|
COLLECTION2 |
|
) |
| |
Value: double BestDist = 999.; \
for (
uint i = 0;
i < COLLECTION1->size();
i++) { \
const
TYPE *ThisPart = &COLLECTION1->at(
i); \
if (ThisDist < 1.0 && ThisDist < BestDist) { \
BestDist = ThisDist; \
RecoPart = ThisPart; \
} \
} \
if (COLLECTION1.product() != COLLECTION2.product()) { \
for (
uint i = 0;
i < COLLECTION2->size();
i++) { \
const
TYPE *ThisPart = &COLLECTION2->at(
i); \
if (ThisDist < 1.0 && ThisDist < BestDist) { \
BestDist = ThisDist; \
RecoPart = ThisPart; \
} \
} \
}
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition at line 32 of file L1Validator.cc.
◆ s_filler__LINE__()
◆ s_maker__LINE__()