Geant4  10.02.p01
LorentzVectorL.cc
Go to the documentation of this file.
1 // -*- C++ -*-
2 // ---------------------------------------------------------------------------
3 //
4 // This file is a part of the CLHEP - a Class Library for High Energy Physics.
5 //
6 // This is part of the implementation of the HepLorentzVector class:
7 // Those methods which might, if coded in other modules, force loading
8 // of the LorentzRotation.cc code module.
9 //
10 
11 #ifdef GNUPRAGMA
12 #pragma implementation
13 #endif
14 
15 #include "CLHEP/Vector/LorentzVector.h"
16 #include "CLHEP/Vector/LorentzRotation.h"
17 
18 namespace CLHEP {
19 
20 HepLorentzVector &
21 HepLorentzVector::operator *= (const HepLorentzRotation & m1) {
22  return *this = m1.vectorMultiplication(*this);
23 }
24 
25 HepLorentzVector &
26 HepLorentzVector::transform(const HepLorentzRotation & m1){
27  return *this = m1.vectorMultiplication(*this);
28 }
29 
30 } // namespace CLHEP