|
fastjet 2.4.5
|
#include <ProtoJet.hpp>


Public Member Functions | |
| ProtoJet (float seedET) | |
| ProtoJet (float seedET, float y, float phi) | |
| ProtoJet (const ProtoJet< Item > &pj) | |
| ~ProtoJet () | |
| void | addItem (const Item *tw) |
| void | setJet (float y, float phi, float pT) |
| void | updateJet () |
| void | erase () |
| float | y () const |
| float | phi () const |
| float | pT () const |
| const ConeJetInfo & | info () const |
| const std::list< const Item * > & | LItems () const |
| void | print (std::ostream &os) const |
| void | NowStable () |
| void | splitted () |
| void | merged () |
Protected Attributes | |
| std::list< const Item * > | _LItems |
| float | _y |
| float | _phi |
| float | _pT |
| ConeJetInfo | _info |
Definition at line 58 of file ProtoJet.hpp.
| fastjet::d0::ProtoJet< Item >::ProtoJet | ( | float | seedET | ) |
Definition at line 97 of file ProtoJet.hpp.
References fastjet::d0::ProtoJet< Item >::_phi, fastjet::d0::ProtoJet< Item >::_pT, and fastjet::d0::ProtoJet< Item >::_y.
| fastjet::d0::ProtoJet< Item >::ProtoJet | ( | float | seedET, |
| float | y, | ||
| float | phi | ||
| ) |
Definition at line 104 of file ProtoJet.hpp.
References fastjet::d0::ProtoJet< Item >::_phi, fastjet::d0::ProtoJet< Item >::_pT, fastjet::d0::ProtoJet< Item >::_y, fastjet::d0::ProtoJet< Item >::phi(), and fastjet::d0::ProtoJet< Item >::y().
| fastjet::d0::ProtoJet< Item >::ProtoJet | ( | const ProtoJet< Item > & | pj | ) |
Definition at line 111 of file ProtoJet.hpp.
References fastjet::d0::ProtoJet< Item >::_LItems.
| fastjet::d0::ProtoJet< Item >::~ProtoJet | ( | ) | [inline] |
Definition at line 65 of file ProtoJet.hpp.
{;}
| void fastjet::d0::ProtoJet< Item >::addItem | ( | const Item * | tw | ) |
Definition at line 122 of file ProtoJet.hpp.
Referenced by fastjet::d0::ConeSplitMerge< Item >::split_merge().
{
_LItems.push_back(tw);
}
| void fastjet::d0::ProtoJet< Item >::erase | ( | ) |
Definition at line 155 of file ProtoJet.hpp.
Referenced by fastjet::d0::ConeSplitMerge< Item >::split_merge().
| const ConeJetInfo & fastjet::d0::ProtoJet< Item >::info | ( | ) | const [inline] |
Definition at line 194 of file ProtoJet.hpp.
Referenced by fastjet::d0::ProtoJet_ET_seedET_order< Item >::operator()(), and fastjet::d0::ConeSplitMerge< Item >::split_merge().
{
return _info;
}
| const std::list< const Item * > & fastjet::d0::ProtoJet< Item >::LItems | ( | ) | const [inline] |
Definition at line 199 of file ProtoJet.hpp.
Referenced by fastjet::d0::ConeSplitMerge< Item >::split_merge().
{
return _LItems;
}
| void fastjet::d0::ProtoJet< Item >::merged | ( | ) | [inline] |
Definition at line 85 of file ProtoJet.hpp.
Referenced by fastjet::d0::ConeSplitMerge< Item >::split_merge().
{_info.merged();};
| void fastjet::d0::ProtoJet< Item >::NowStable | ( | ) |
Definition at line 165 of file ProtoJet.hpp.
Referenced by fastjet::d0::ConeSplitMerge< Item >::ConeSplitMerge().
| float fastjet::d0::ProtoJet< Item >::phi | ( | ) | const [inline] |
Definition at line 185 of file ProtoJet.hpp.
Referenced by fastjet::d0::ILConeAlgorithm< Item >::TemporaryJet::dist(), fastjet::d0::ILConeAlgorithm< Item >::TemporaryJet::midpoint(), fastjet::d0::ProtoJet< Item >::ProtoJet(), and fastjet::d0::ConeSplitMerge< Item >::split_merge().
{
return _phi;
}
| void fastjet::d0::ProtoJet< Item >::print | ( | std::ostream & | os | ) | const |
| float fastjet::d0::ProtoJet< Item >::pT | ( | ) | const [inline] |
Definition at line 190 of file ProtoJet.hpp.
Referenced by fastjet::d0::ConeSplitMerge< Item >::ConeSplitMerge(), fastjet::d0::ILConeAlgorithm< Item >::TemporaryJet::midpoint(), fastjet::d0::ProtoJet_ET_seedET_order< Item >::operator()(), and fastjet::d0::ConeSplitMerge< Item >::split_merge().
{
return _pT;
}
| void fastjet::d0::ProtoJet< Item >::setJet | ( | float | y, |
| float | phi, | ||
| float | pT | ||
| ) |
Definition at line 127 of file ProtoJet.hpp.
References fastjet::d0::inline_maths::phi(), and fastjet::d0::inline_maths::y().
| void fastjet::d0::ProtoJet< Item >::splitted | ( | ) | [inline] |
Definition at line 83 of file ProtoJet.hpp.
Referenced by fastjet::d0::ConeSplitMerge< Item >::split_merge().
{_info.splitted();};
| void fastjet::d0::ProtoJet< Item >::updateJet | ( | ) |
Definition at line 134 of file ProtoJet.hpp.
References fastjet::d0::P2phi(), and fastjet::d0::P2y().
Referenced by fastjet::d0::ConeSplitMerge< Item >::split_merge().
{
//float ETsum = 0.0;
//float ysum = 0.0;
//float PHIsum= 0.0;
float p[4] = {0.,0.,0.,0.};
typename std::list<const Item*>::iterator it;
for(it = _LItems.begin(); it != _LItems.end(); ++it)
{
float pk[4];
(*it)->p4vec(pk);
//cout << "updateJet: px=" << pk[0] << " py=" << pk[1] << " pz=" << pk[2] << " E=" << pk[3] << endl;
for ( int i = 0; i < 4 ; ++i) p[i] += pk[i];
}
_y = P2y(p);
_phi = P2phi(p);
_pT = sqrt(p[0]*p[0] + p[1]*p[1]);
if ( p[3] < 0. ) _pT = - _pT;
}
| float fastjet::d0::ProtoJet< Item >::y | ( | ) | const [inline] |
Definition at line 180 of file ProtoJet.hpp.
Referenced by fastjet::d0::ILConeAlgorithm< Item >::TemporaryJet::dist(), fastjet::d0::ILConeAlgorithm< Item >::TemporaryJet::midpoint(), fastjet::d0::ProtoJet< Item >::ProtoJet(), and fastjet::d0::ConeSplitMerge< Item >::split_merge().
{
return _y;
}
ConeJetInfo fastjet::d0::ProtoJet< Item >::_info [protected] |
Definition at line 92 of file ProtoJet.hpp.
std::list<const Item*> fastjet::d0::ProtoJet< Item >::_LItems [protected] |
Definition at line 85 of file ProtoJet.hpp.
Referenced by fastjet::d0::ProtoJet< Item >::ProtoJet().
float fastjet::d0::ProtoJet< Item >::_phi [protected] |
Definition at line 90 of file ProtoJet.hpp.
Referenced by fastjet::d0::ProtoJet< Item >::ProtoJet().
float fastjet::d0::ProtoJet< Item >::_pT [protected] |
Definition at line 91 of file ProtoJet.hpp.
Referenced by fastjet::d0::ProtoJet< Item >::ProtoJet().
float fastjet::d0::ProtoJet< Item >::_y [protected] |
Definition at line 89 of file ProtoJet.hpp.
Referenced by fastjet::d0::ProtoJet< Item >::ProtoJet().
1.7.4