fastjet 2.4.5
|
Classes | |
class | stopwatch |
class | Jet |
class | JetSorter_Et |
class | JetSorter_Pt |
class | JetSorter_Eta |
class | JetSorter_E |
class | JetConeFinderTool |
struct | JetDistances |
class | JetSplitMergeTool |
class | LorentzVector |
Functions | |
float | to_minusPI_PI (float phi) |
float | to_zero_2PI (float phi) |
template<class T > | |
void | clear_list (T &list) |
Jet * | jet_from_overlap (Jet *j1, Jet *j2) |
void | find_jet_in_list (Jet *j) |
template<class T > | |
void | sort_jet_list (Jet::jet_list_t &list) |
void | sort_list_et (Jet::jet_list_t &list) |
void | sort_list_pt (Jet::jet_list_t &list) |
Variables | |
double | GeV = 1.0 |
void fastjet::atlas::clear_list | ( | T & | list | ) |
Definition at line 38 of file CommonUtils.hh.
Referenced by fastjet::atlas::JetSplitMergeTool::execute(), fastjet::atlas::JetConeFinderTool::execute(), and fastjet::ATLASConePlugin::run_clustering().
{ typedef typename T::iterator it_t; it_t it = list.begin(); it_t itE = list.end(); for(; it != itE; ++it){ delete *it; } list.clear(); }
void fastjet::atlas::find_jet_in_list | ( | Jet * | j | ) |
Jet * fastjet::atlas::jet_from_overlap | ( | Jet * | j1, |
Jet * | j2 | ||
) |
Definition at line 45 of file Jet.cc.
References fastjet::atlas::Jet::addConstituent(), fastjet::atlas::Jet::firstConstituent(), and fastjet::atlas::Jet::lastConstituent().
Referenced by fastjet::atlas::JetSplitMergeTool::split_merge().
{ Jet *j = new Jet(); Jet::constit_vect_t::iterator it1 = j1->firstConstituent(); Jet::constit_vect_t::iterator it1E = j1->lastConstituent(); for(;it1!= it1E; ++it1){ Jet::constit_vect_t::iterator it2 = j2->firstConstituent(); Jet::constit_vect_t::iterator it2E = j2->lastConstituent(); for(;it2!= it2E; ++it2){ if( *it1 == *it2) j->addConstituent(*it1); } } return j; }
void fastjet::atlas::sort_jet_list | ( | Jet::jet_list_t & | list | ) | [inline] |
void fastjet::atlas::sort_list_et | ( | Jet::jet_list_t & | list | ) | [inline] |
Definition at line 113 of file Jet.hh.
Referenced by fastjet::atlas::JetSplitMergeTool::split_merge().
{
//std::sort(list.begin(),list.end(),et_compare);
std::sort(list.begin(),list.end(), JetSorter_Et());
}
void fastjet::atlas::sort_list_pt | ( | Jet::jet_list_t & | list | ) | [inline] |
float fastjet::atlas::to_minusPI_PI | ( | float | phi | ) | [inline] |
float fastjet::atlas::to_zero_2PI | ( | float | phi | ) | [inline] |
double fastjet::atlas::GeV = 1.0 |
Definition at line 33 of file JetConeFinderTool.cc.