47 |
|
return true; |
48 |
|
} |
49 |
|
|
50 |
– |
double HTlep(const BaseCycleContainer *bcc){ |
51 |
– |
|
52 |
– |
double htlep=0; |
53 |
– |
|
54 |
– |
if(bcc->electrons){ |
55 |
– |
for(unsigned int i=0; i<bcc->electrons->size(); ++i){ |
56 |
– |
htlep += bcc->electrons->at(i).pt(); |
57 |
– |
} |
58 |
– |
} |
59 |
– |
if(bcc->muons){ |
60 |
– |
for(unsigned int i=0; i<bcc->muons->size(); ++i){ |
61 |
– |
htlep += bcc->muons->at(i).pt(); |
62 |
– |
} |
63 |
– |
} |
64 |
– |
if(bcc->met) htlep += bcc->met->pt(); |
65 |
– |
|
66 |
– |
return htlep; |
67 |
– |
|
68 |
– |
} |
69 |
– |
|
50 |
|
Jet* nextJet(const Particle *p, std::vector<Jet> *jets){ |
51 |
|
|
52 |
|
double deltarmin = double_infinity(); |