DD4hep  1.30.0
Detector Description Toolkit for High Energy Physics
Functions

ROOT namespace for mathematical operations and corresponding classes. More...

Functions

double operator* (const dd4hep::Position &l, const dd4hep::Position &r)
 Dot product of 3-vectors. More...
 
double mean_length (const dd4hep::Position &p1, const dd4hep::Position &p2)
 Calculate the mean length of two vectors. More...
 
dd4hep::Position mean_direction (const dd4hep::Position &p1, const dd4hep::Position &p2)
 Calculate the mean direction of two vectors. More...
 
bool operator< (const XYZPoint &a, const XYZPoint &b)
 Allow point insertion of a point in maps. More...
 
bool operator< (const XYZVector &a, const XYZVector &b)
 Allow 3-vector insertion of a in maps. More...
 
bool operator< (const PxPyPzEVector &a, const PxPyPzEVector &b)
 Allow 4-vector insertion of a in maps. More...
 
bool operator< (const RotationZYX &a, const RotationZYX &b)
 

Detailed Description

ROOT namespace for mathematical operations and corresponding classes.

Function Documentation

◆ mean_direction()

dd4hep::Position ROOT::Math::mean_direction ( const dd4hep::Position p1,
const dd4hep::Position p2 
)
inline

Calculate the mean direction of two vectors.

Definition at line 519 of file Objects.h.

◆ mean_length()

double ROOT::Math::mean_length ( const dd4hep::Position p1,
const dd4hep::Position p2 
)
inline

Calculate the mean length of two vectors.

Definition at line 515 of file Objects.h.

◆ operator*()

double ROOT::Math::operator* ( const dd4hep::Position l,
const dd4hep::Position r 
)
inline

Dot product of 3-vectors.

Definition at line 511 of file Objects.h.

◆ operator<() [1/4]

bool ROOT::Math::operator< ( const PxPyPzEVector &  a,
const PxPyPzEVector &  b 
)

Allow 4-vector insertion of a in maps.

Definition at line 18 of file ParsersObjects_PxPyPzEVector.cpp.

◆ operator<() [2/4]

bool ROOT::Math::operator< ( const RotationZYX &  a,
const RotationZYX &  b 
)

Definition at line 18 of file ParsersObjects_RotationZYX.cpp.

◆ operator<() [3/4]

bool ROOT::Math::operator< ( const XYZPoint &  a,
const XYZPoint &  b 
)

Allow point insertion of a point in maps.

Definition at line 18 of file ParsersObjects_XYZPoint.cpp.

◆ operator<() [4/4]

bool ROOT::Math::operator< ( const XYZVector &  a,
const XYZVector &  b 
)

Allow 3-vector insertion of a in maps.

Definition at line 18 of file ParsersObjects_XYZVector.cpp.