fastjet 2.4.5
|
Functions | |
double | sqr (double a) |
double | min (double a, double b) |
double | delta_phi (double phi1, double phi2) |
double | phi (double px, double py) |
double | y (double E, double pz) |
Variables | |
const double | PI = fabs(acos(-1.)) |
const double | TWOPI = 2*PI |
double fastjet::d0::inline_maths::delta_phi | ( | double | phi1, |
double | phi2 | ||
) | [inline] |
Definition at line 31 of file inline_maths.h.
Referenced by fastjet::d0::RD2(), and fastjet::d0::RDelta().
double fastjet::d0::inline_maths::min | ( | double | a, |
double | b | ||
) | [inline] |
Definition at line 25 of file inline_maths.h.
Referenced by fastjet::ClusterSequence::_CP2DChan_cluster(), fastjet::ClusterSequence::_CP2DChan_cluster_2piMultD(), fastjet::ClusterSequence::_CP2DChan_limited_cluster(), fastjet::ClosestPair2D::_deal_with_points_to_review(), fastjet::ClusterSequence::_do_ij_recombination_step(), fastjet::ClusterSequence::_initialise_and_run(), fastjet::ClosestPair2D::_initialize(), fastjet::SearchTree< T >::_initialize(), fastjet::ClosestPair2D::_insert_into_search_tree(), fastjet::ClusterSequence::_really_dumb_cluster(), fastjet::ClosestPair2D::_remove_from_search_tree(), fastjet::ClusterSequenceVoronoiArea::VoronoiAreaCalc::circle_area(), delta_phi(), fastjet::PseudoJet::kt_distance(), main(), fastjet::EECambridgePlugin::run_clustering(), fastjet::ClusterSequence::unique_history_order(), and fastjet::ClusterSequenceVoronoiArea::VoronoiAreaCalc::VoronoiAreaCalc().
{
return (a < b) ? a : b;
}
double fastjet::d0::inline_maths::phi | ( | double | px, |
double | py | ||
) | [inline] |
Definition at line 37 of file inline_maths.h.
Referenced by fastjet::Dnn2piCylinder::_CreateNecessaryMirrorPoints(), fastjet::RangeDefinition::_numerical_total_area(), fastjet::Dnn3piCylinder::_RegisterCylinderPoint(), fastjet::Dnn4piCylinder::_remap_phi(), fastjet::Dnn3piCylinder::_remap_phi(), fastjet::Dnn2piCylinder::_remap_phi(), fastjet::GhostedAreaSpec::add_ghosts(), fastjet::CircularRange::CircularRange(), fastjet::PseudoJet::delta_phi_to(), fastjet::d0::ILConeAlgorithm< Item >makeClusters(), fastjet::RangeDefinition::is_in_range(), fastjet::CircularRange::is_in_range(), fastjet::d0::ILConeAlgorithm< Item >::TemporaryJet::is_stable(), main(), fastjet::d0::P2phi(), fastjet::d0::HepEntity::phi(), print_jets(), fastjet::CMSIterativeConePlugin::run_clustering(), fastjet::RangeDefinition::set_position(), fastjet::d0::ProtoJet< Item >::setJet(), fastjet::atlas::to_minusPI_PI(), fastjet::atlas::to_zero_2PI(), and fastjet::ClusterSequenceVoronoiArea::VoronoiAreaCalc::VoronoiAreaCalc().
{
return atan2(py, px);
}
double fastjet::d0::inline_maths::sqr | ( | double | a | ) | [inline] |
Definition at line 19 of file inline_maths.h.
Referenced by fastjet::d0::HepEntity::pT().
{
return a*a;
}
double fastjet::d0::inline_maths::y | ( | double | E, |
double | pz | ||
) | [inline] |
Definition at line 43 of file inline_maths.h.
Referenced by fastjet::ClusterSequence::_really_dumb_cluster(), fastjet::Coord2D::distance2(), fastjet::VoronoiDiagramGenerator::generateVoronoi(), fastjet::d0::ILConeAlgorithm< Item >makeClusters(), fastjet::Point::operator*(), fastjet::Coord2D::operator*(), fastjet::Point::operator+(), fastjet::Coord2D::operator+(), fastjet::ClosestPair2D::Shuffle::operator+=(), fastjet::Point::operator-(), fastjet::Coord2D::operator-(), fastjet::Coord2D::operator/(), fastjet::ClosestPair2D::Shuffle::operator<(), fastjet::d0::P2y(), fastjet::d0::ProtoJet< Item >::setJet(), and fastjet::d0::HepEntity::y().
{ errno=0; double y; //cout << "inline_maths: "; if (fabs(E-pz) == 0.) { // cout << "Error in header mathe.h: division by 0 in function eta!" << " p=" << p << " pz=" << pz << endl; // exit(721); errno=721; y = 99999.; } else { y = 0.5*log((E+pz)/(E-pz)); } //cout << "y: E=" << E << " pz=" << pz << " y=" << y << endl; return y; }
const double fastjet::d0::inline_maths::PI = fabs(acos(-1.)) |
Definition at line 14 of file inline_maths.h.
Referenced by delta_phi(), and fastjet::d0::ILConeAlgorithm< Item >::TemporaryJet::midpoint().
const double fastjet::d0::inline_maths::TWOPI = 2*PI |
Definition at line 16 of file inline_maths.h.
Referenced by fastjet::d0::ILConeAlgorithm< Item >::TemporaryJet::midpoint().