12 |
|
return result; |
13 |
|
} |
14 |
|
|
15 |
+ |
L1ObjColl L1ObjColl::selectByPt( double ptMin, double ptMax) const |
16 |
+ |
{ |
17 |
+ |
L1ObjColl result; |
18 |
+ |
const double epsilon = 1.e-9; |
19 |
+ |
for (unsigned int i=0; i<theL1Obj.size(); i++) if ( theL1Obj[i].pt > (ptMin-epsilon) && theL1Obj[i].pt < (ptMax+epsilon) ) result.push_back( theL1Obj[i], theL1Matching[i], theDeltaR[i]); |
20 |
+ |
return result; |
21 |
+ |
} |
22 |
|
L1ObjColl L1ObjColl::selectByPtMin( double ptMin) const |
23 |
|
{ |
24 |
|
L1ObjColl result; |
89 |
|
} |
90 |
|
return result; |
91 |
|
} |
85 |
– |
|
92 |
|
std::vector<L1Obj> L1ObjColl::getL1ObjsMatched(double ptMin) const |
93 |
|
{ |
94 |
|
std::vector<L1Obj> result; |