1 #ifndef VECTOR_CONVERSION_H
2 #define VECTOR_CONVERSION_H
13 #include "HepMC/SimpleVector.h"
14 #include "CLHEP/Vector/LorentzVector.h"
22 {
return CLHEP::Hep3Vector( v.
x(), v.
y(), v.
z() ); }
26 {
return CLHEP::HepLorentzVector( v.
x(), v.
y(), v.
z(), v.
t() ); }
28 #endif // VECTOR_CONVERSION_H
double z() const
return z
double x() const
return x
double z() const
return z
double y() const
return y
double y() const
return y
ThreeVector is a simple representation of a position or displacement 3 vector.
double x() const
return x
FourVector is a simple representation of a physics 4 vector.
double t() const
return t