Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fixing whitespace in VectorUtil.h
  • Loading branch information
mattleblanc committed Feb 2, 2021
commit e13f3f1960a69c09c79ebfb16b5ca6a77794196a
10 changes: 5 additions & 5 deletions math/genvector/inc/Math/GenVector/VectorUtil.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ namespace ROOT {
\param v1 Vector 1
\param v2 Vector 2
\return Angle between the two vectors
\f[ \Delta R2 = ( \Delta \phi )^2 + ( \Delta \y )^2 \f],
\f[ \Delta R2 = ( \Delta \phi )^2 + ( \Delta \y )^2 \f]
*/
template <class Vector1, class Vector2>
inline typename Vector1::Scalar DeltaR2RapidityPhi( const Vector1 & v1, const Vector2 & v2) {
Expand All @@ -104,11 +104,11 @@ namespace ROOT {
\param v1 Vector 1
\param v2 Vector 2
\return Angle between the two vectors
\f[ \Delta R = \sqrt{ ( \Delta \phi )^2 + ( \Delta \eta )^2 } \f],
\f[ \Delta R = \sqrt{ ( \Delta \phi )^2 + ( \Delta \eta )^2 } \f]
*/
template <class Vector1, class Vector2>
inline typename Vector1::Scalar DeltaR( const Vector1 & v1, const Vector2 & v2 ) {
return std::sqrt( DeltaR2(v1,v2) );
inline typename Vector1::Scalar DeltaR( const Vector1 & v1, const Vector2 & v2) {
return std::sqrt( DeltaR2(v1,v2) );
}

/**
Expand All @@ -120,7 +120,7 @@ namespace ROOT {
\f[ \Delta R = \sqrt{ ( \Delta \phi )^2 + ( \Delta y )^2 } \f],
*/
template <class Vector1, class Vector2>
inline typename Vector1::Scalar DeltaRapidityPhi( const Vector1 & v1, const Vector2 & v2 ) {
inline typename Vector1::Scalar DeltaRapidityPhi( const Vector1 & v1, const Vector2 & v2) {
return std::sqrt( DeltaR2RapidityPhi(v1,v2) );
}

Expand Down