13 |
|
typedef L1Obj::TYPE TYPE; |
14 |
|
void set(const std::vector<L1Obj> & obj) { theL1Obj = obj; } |
15 |
|
void set(const std::vector<bool> & comp) { theL1Matching = comp; } |
16 |
+ |
void set(const std::vector<double> & dr) { theDeltaR = dr; } |
17 |
+ |
|
18 |
|
const std::vector<L1Obj> & getL1Objs() const { return theL1Obj; } |
19 |
|
const std::vector<bool> & getL1ObjsMatching() const { return theL1Matching; } |
20 |
+ |
const std::vector<double> & getL1ObjDeltaR() const { return theDeltaR; } |
21 |
+ |
|
22 |
+ |
/* |
23 |
+ |
L1ObjColl selectByType( TYPE t1=L1Obj::NONE, TYPE t2=L1Obj::NONE, TYPE t3=L1Obj::NONE, TYPE t4=L1Obj::NONE); |
24 |
+ |
L1ObjColl selectByPtMin( double ptMin = 0.); |
25 |
+ |
L1ObjColl selectByEta( double etaMin = -2.5, double etaMax = 2.5); |
26 |
+ |
L1ObjColl selectByBx( int bxMin = 0, int bxMax = 0); |
27 |
+ |
L1ObjColl selectByQuality( int qMin = 0, int qMax = 7); |
28 |
+ |
L1ObjColl operator+(const L1ObjColl& , const L1ObjColl&) const; |
29 |
+ |
*/ |
30 |
+ |
|
31 |
+ |
void print() const; |
32 |
|
|
33 |
+ |
//tmp |
34 |
|
std::vector<L1Obj> getL1ObjsMatched(double ptMin = 0) const; |
35 |
|
std::vector<L1Obj> getL1ObjsSelected( |
36 |
|
bool requireMatched = true, bool requireNonMatched = false, |
39 |
|
double etaMin = -2.5, double etaMax = 2.5, |
40 |
|
double phiMin = 0., double phiMax = 7., |
41 |
|
int qMin = 0, int qMax = 7) const; |
27 |
– |
void print() const; |
28 |
– |
|
42 |
|
static std::vector<L1Obj> typeSelector(const std::vector<L1Obj> & col, TYPE t1=L1Obj::NONE, TYPE t2=L1Obj::NONE, TYPE t3=L1Obj::NONE, TYPE t4=L1Obj::NONE); |
43 |
|
|
44 |
|
|
45 |
|
private: |
46 |
|
std::vector<L1Obj> theL1Obj; |
47 |
|
std::vector<bool> theL1Matching; |
48 |
+ |
std::vector<double> theDeltaR; |
49 |
|
|
50 |
|
public: |
51 |
|
ClassDef(L1ObjColl,1) |