Line | |
---|
1 | inline KtFloat KtLorentzVector::crapidity() const {
|
---|
2 | return m_crapidity;
|
---|
3 | }
|
---|
4 |
|
---|
5 | inline int KtLorentzVector::getNConstituents() const {
|
---|
6 | return m_constituents.size();
|
---|
7 | }
|
---|
8 |
|
---|
9 | inline const std::vector<const KtLorentzVector*> & KtLorentzVector::getConstituents() const {return m_constituents;}
|
---|
10 |
|
---|
11 | inline bool KtLorentzVector::isJet() const {return !m_isAtomic;}
|
---|
12 |
|
---|
13 | inline bool KtLorentzVector::operator== (const KtLorentzVector& v2) const {
|
---|
14 | return (m_id == v2.m_id);
|
---|
15 | }
|
---|
16 |
|
---|
17 | inline bool KtLorentzVector::operator!= (const KtLorentzVector& v2) const {
|
---|
18 | return (m_id != v2.m_id);
|
---|
19 | }
|
---|
20 |
|
---|
21 | inline bool KtLorentzVector::operator< (const KtLorentzVector& v2) const {
|
---|
22 | return (m_id < v2.m_id);
|
---|
23 | }
|
---|
24 |
|
---|
25 | inline bool KtLorentzVector::operator> (const KtLorentzVector& v2) const {
|
---|
26 | return (m_id > v2.m_id);
|
---|
27 | }
|
---|
28 |
|
---|
29 | inline void KtLorentzVector::calcRapidity() {
|
---|
30 | const KtFloat etamax = 10;
|
---|
31 | if (fabs(this->pz())==this->e()) {
|
---|
32 | m_crapidity = (this->pz() > 0) ? (etamax+2) : -(etamax+2);
|
---|
33 | } else {
|
---|
34 | m_crapidity = HepLorentzVector::rapidity();
|
---|
35 | }
|
---|
36 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.