Revision: | 1.1 |
Committed: | Sun Jun 13 17:27:02 2010 UTC (14 years, 10 months ago) by konec |
Content type: | text/plain |
Branch: | MAIN |
CVS Tags: | Kasia_30_04_2012, Mikolaj_08_10_2011, Mikolaj_05_10_2011, Mikolaj_14_09_2011, Artur_27_07_2011, Artur_25_07_2011, V00-02-01, V00-02-00, V00-01-00 |
Log Message: | *** empty log message *** |
# | User | Rev | Content |
---|---|---|---|
1 | konec | 1.1 | #include "UserCode/L1RpcTriggerAnalysis/interface/L1ObjColl.h" |
2 | |||
3 | ClassImp(L1Obj) | ||
4 | ClassImp(L1ObjColl) | ||
5 | |||
6 | std::vector<L1Obj> L1ObjColl::getL1ObjsMatched(double ptMin) const | ||
7 | { | ||
8 | std::vector<L1Obj> result; | ||
9 | unsigned int nObj = theL1Obj.size(); | ||
10 | unsigned int nCom = theL1Matching.size(); | ||
11 | |||
12 | for (unsigned int i=0; i<nObj && i<nCom; ++i) | ||
13 | if (theL1Matching[i] && theL1Obj[i].pt >= ptMin) result.push_back(theL1Obj[i]); | ||
14 | |||
15 | return result; | ||
16 | } |