|
fastjet 2.4.3
|
#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) | |
| typedef std::list<Jet*> atlas::Jet::constit_vect_t |
| typedef std::vector<Jet*> atlas::Jet::jet_list_t |
| atlas::Jet::Jet | ( | ) | [inline] |
Definition at line 26 of file Jet.hh.
: LorentzVector(0,0,0,0) {}
| atlas::Jet::Jet | ( | double | p1, |
| double | p2, | ||
| double | p3, | ||
| double | p0, | ||
| int | index = 0 |
||
| ) | [inline] |
Definition at line 27 of file Jet.hh.
: LorentzVector(p1,p2,p3,p0), m_index(index){}
| atlas::Jet::Jet | ( | LorentzVector | v | ) | [inline] |
| atlas::Jet::Jet | ( | Jet & | j | ) |
Definition at line 12 of file Jet.cc.
References atlas::LorentzVector::add(), index(), m_constituents, and m_index.
: LorentzVector(0,0,0,0){ add(jet); m_index = jet.index(); m_constituents = jet.m_constituents; // m_area = jet.area(); // m_area_error = jet.area_error(); }
| atlas::Jet::Jet | ( | Jet * | j | ) |
Definition at line 19 of file Jet.cc.
References atlas::LorentzVector::add(), index(), m_constituents, and m_index.
{
add(*j);
m_index = j->index();
m_constituents = j->m_constituents;
// m_area = j->area();
// m_area_error = j->area_error();
}
| void atlas::Jet::addConstituent | ( | Jet * | jet | ) | [inline] |
Definition at line 46 of file Jet.hh.
References atlas::LorentzVector::add(), and m_constituents.
Referenced by atlas::jet_from_overlap(), and ATLASConePlugin::run_clustering().
{m_constituents.push_back(jet);this->add(*jet);};
| void atlas::Jet::addConstituent | ( | constit_vect_t::iterator | first, |
| constit_vect_t::iterator | last | ||
| ) |
Definition at line 38 of file Jet.cc.
References atlas::LorentzVector::add(), and m_constituents.
{
m_constituents.insert(m_constituents.end(), first, last);
for(; first!=last;++first) this->add( **first);
}
| void atlas::Jet::addConstituent_notMoment | ( | Jet * | jet | ) | [inline] |
| void atlas::Jet::addJet | ( | Jet * | j | ) |
Definition at line 32 of file Jet.cc.
References atlas::LorentzVector::add(), firstConstituent(), lastConstituent(), and m_constituents.
{
add(*j) ;
m_constituents.insert(m_constituents.end(), j->firstConstituent(), j->lastConstituent() );
}
| void atlas::Jet::addJet | ( | Jet & | j | ) |
The standard way of merging jets.
Definition at line 27 of file Jet.cc.
References atlas::LorentzVector::add(), firstConstituent(), lastConstituent(), and m_constituents.
Referenced by atlas::JetConeFinderTool::calc_cone(), and atlas::JetSplitMergeTool::execute().
{
add(j);
m_constituents.insert(m_constituents.end(), j.firstConstituent(), j.lastConstituent() );
}
| constit_vect_t::iterator atlas::Jet::firstConstituent | ( | ) | [inline] |
Definition at line 40 of file Jet.hh.
References m_constituents.
Referenced by addJet(), atlas::jet_from_overlap(), and atlas::JetSplitMergeTool::split_merge().
{ return m_constituents.begin();};
| int atlas::Jet::getConstituentNum | ( | ) | [inline] |
Access jet constituents.
Definition at line 39 of file Jet.hh.
References m_constituents.
Referenced by atlas::JetSplitMergeTool::split_merge().
{return m_constituents.size();}
| LorentzVector atlas::Jet::hlv | ( | ) | [inline] |
| int atlas::Jet::index | ( | ) | const [inline] |
| constit_vect_t::iterator atlas::Jet::lastConstituent | ( | ) | [inline] |
Definition at line 41 of file Jet.hh.
References m_constituents.
Referenced by addJet(), atlas::jet_from_overlap(), and atlas::JetSplitMergeTool::split_merge().
{ return m_constituents.end();};
| void atlas::Jet::removeConstituent | ( | Jet * | jet | ) | [inline] |
Definition at line 48 of file Jet.hh.
References m_constituents, and atlas::LorentzVector::subtract().
Referenced by atlas::JetSplitMergeTool::split_merge().
{m_constituents.remove(jet);this->subtract(*jet);};
| void atlas::Jet::set_index | ( | int | i | ) | [inline] |
Definition at line 56 of file Jet.hh.
References m_index.
Referenced by ATLASConePlugin::run_clustering().
{m_index= i;}
constit_vect_t 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(), addConstituent_notMoment(), addJet(), firstConstituent(), getConstituentNum(), Jet(), lastConstituent(), and removeConstituent().
int atlas::Jet::m_index [protected] |
Definition at line 66 of file Jet.hh.
Referenced by index(), Jet(), and set_index().
1.7.3