source: trunk/CLHEP/src/LorentzVectorL.cc@ 18

Last change on this file since 18 was 4, checked in by Pavel Demin, 16 years ago

first commit

File size: 832 bytes
Line 
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/defs.h"
16#include "CLHEP/Vector/LorentzVector.h"
17#include "CLHEP/Vector/LorentzRotation.h"
18
19namespace CLHEP {
20
21HepLorentzVector &
22HepLorentzVector::operator *= (const HepLorentzRotation & m) {
23 return *this = m.vectorMultiplication(*this);
24}
25
26HepLorentzVector &
27HepLorentzVector::transform(const HepLorentzRotation & m){
28 return *this = m.vectorMultiplication(*this);
29}
30
31} // namespace CLHEP
Note: See TracBrowser for help on using the repository browser.