#include <Jet.hh>


Public Types | |
| typedef std::list< Jet * > | constit_vect_t |
| typedef std::vector< Jet * > | jet_list_t |
Public Member Functions | |
| Jet () | |
| Jet (double p1, double p2, double p3, double p0, int index=0) | |
| Jet (LorentzVector v) | |
| Jet (Jet &j) | |
| Jet (Jet *j) | |
| void | addJet (Jet &j) |
| The standard way of merging jets. | |
| void | addJet (Jet *j) |
| int | getConstituentNum () |
| Access jet constituents. | |
| constit_vect_t::iterator | firstConstituent () |
| constit_vect_t::iterator | lastConstituent () |
| void | addConstituent (Jet *jet) |
| void | addConstituent (constit_vect_t::iterator first, constit_vect_t::iterator last) |
| void | removeConstituent (Jet *jet) |
| void | addConstituent_notMoment (Jet *jet) |
| int | index () const |
| void | set_index (int i) |
| LorentzVector | hlv () |
| Atlas compatibility code :. | |
Protected Attributes | |
| int | m_index |
| constit_vect_t | m_constituents |
| position in a jet list (used for constituents positions) | |
Definition at line 20 of file Jet.hh.
| typedef std::list<Jet*> fastjet::atlas::Jet::constit_vect_t |
| typedef std::vector<Jet*> fastjet::atlas::Jet::jet_list_t |
| fastjet::atlas::Jet::Jet | ( | ) | [inline] |
Definition at line 26 of file Jet.hh.
00026 : LorentzVector(0,0,0,0) {}
| fastjet::atlas::Jet::Jet | ( | double | p1, | |
| double | p2, | |||
| double | p3, | |||
| double | p0, | |||
| int | index = 0 | |||
| ) | [inline] |
Definition at line 27 of file Jet.hh.
00027 : LorentzVector(p1,p2,p3,p0), m_index(index){}
| fastjet::atlas::Jet::Jet | ( | LorentzVector | v | ) | [inline] |
Definition at line 28 of file Jet.hh.
00028 : LorentzVector(v) {m_index = 0;}
| fastjet::atlas::Jet::Jet | ( | Jet & | j | ) |
Definition at line 12 of file Jet.cc.
References fastjet::atlas::LorentzVector::add(), index(), m_constituents, and m_index.
00012 : LorentzVector(0,0,0,0){ 00013 add(jet); 00014 m_index = jet.index(); 00015 m_constituents = jet.m_constituents; 00016 // m_area = jet.area(); 00017 // m_area_error = jet.area_error(); 00018 }
| fastjet::atlas::Jet::Jet | ( | Jet * | j | ) |
Definition at line 19 of file Jet.cc.
References fastjet::atlas::LorentzVector::add(), index(), m_constituents, and m_index.
00019 { 00020 add(*j); 00021 m_index = j->index(); 00022 m_constituents = j->m_constituents; 00023 // m_area = j->area(); 00024 // m_area_error = j->area_error(); 00025 }
| void fastjet::atlas::Jet::addConstituent | ( | constit_vect_t::iterator | first, | |
| constit_vect_t::iterator | last | |||
| ) |
Definition at line 38 of file Jet.cc.
References fastjet::atlas::LorentzVector::add(), and m_constituents.
00038 { 00039 m_constituents.insert(m_constituents.end(), first, last); 00040 for(; first!=last;++first) this->add( **first); 00041 }
| void fastjet::atlas::Jet::addConstituent | ( | Jet * | jet | ) | [inline] |
Definition at line 46 of file Jet.hh.
Referenced by fastjet::ATLASConePlugin::run_clustering().
00046 {m_constituents.push_back(jet);this->add(*jet);};
| void fastjet::atlas::Jet::addConstituent_notMoment | ( | Jet * | jet | ) | [inline] |
Definition at line 50 of file Jet.hh.
00050 {m_constituents.push_back(jet);}
| void fastjet::atlas::Jet::addJet | ( | Jet * | j | ) |
Definition at line 32 of file Jet.cc.
References fastjet::atlas::LorentzVector::add(), firstConstituent(), lastConstituent(), and m_constituents.
00032 { 00033 add(*j) ; 00034 m_constituents.insert(m_constituents.end(), j->firstConstituent(), j->lastConstituent() ); 00035 }
| void fastjet::atlas::Jet::addJet | ( | Jet & | j | ) |
The standard way of merging jets.
Definition at line 27 of file Jet.cc.
References fastjet::atlas::LorentzVector::add(), firstConstituent(), lastConstituent(), and m_constituents.
Referenced by fastjet::atlas::JetConeFinderTool::calc_cone(), and fastjet::atlas::JetSplitMergeTool::execute().
00027 { 00028 add(j); 00029 m_constituents.insert(m_constituents.end(), j.firstConstituent(), j.lastConstituent() ); 00030 }
| constit_vect_t::iterator fastjet::atlas::Jet::firstConstituent | ( | ) | [inline] |
Definition at line 40 of file Jet.hh.
Referenced by addJet(), and fastjet::atlas::JetSplitMergeTool::split_merge().
00040 { return m_constituents.begin();};
| int fastjet::atlas::Jet::getConstituentNum | ( | ) | [inline] |
Access jet constituents.
Definition at line 39 of file Jet.hh.
Referenced by fastjet::atlas::JetSplitMergeTool::split_merge().
00039 {return m_constituents.size();}
| LorentzVector fastjet::atlas::Jet::hlv | ( | ) | [inline] |
| int fastjet::atlas::Jet::index | ( | ) | const [inline] |
Definition at line 55 of file Jet.hh.
Referenced by Jet(), and fastjet::ATLASConePlugin::run_clustering().
00055 {return m_index;}
| constit_vect_t::iterator fastjet::atlas::Jet::lastConstituent | ( | ) | [inline] |
Definition at line 41 of file Jet.hh.
Referenced by addJet(), and fastjet::atlas::JetSplitMergeTool::split_merge().
00041 { return m_constituents.end();};
| void fastjet::atlas::Jet::removeConstituent | ( | Jet * | jet | ) | [inline] |
Definition at line 48 of file Jet.hh.
Referenced by fastjet::atlas::JetSplitMergeTool::split_merge().
00048 {m_constituents.remove(jet);this->subtract(*jet);};
| void fastjet::atlas::Jet::set_index | ( | int | i | ) | [inline] |
Definition at line 56 of file Jet.hh.
Referenced by fastjet::ATLASConePlugin::run_clustering().
00056 {m_index= i;}
constit_vect_t fastjet::atlas::Jet::m_constituents [protected] |
position in a jet list (used for constituents positions)
Definition at line 67 of file Jet.hh.
Referenced by addConstituent(), addJet(), and Jet().
int fastjet::atlas::Jet::m_index [protected] |
1.6.1