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