Go to the source code of this file.
#define FINDRECOPART |
( |
|
TYPE, |
|
|
|
COLLECTION1, |
|
|
|
COLLECTION2 |
|
) |
| |
Value:const TYPE *RecoPart=
NULL; \
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; \
} \
} \
}
auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition at line 32 of file L1Validator.cc.