2 #ifndef UTIL_LCFourVector_H
3 #define UTIL_LCFourVector_H 1
5 #include "EVENT/LCObject.h"
6 #include "CLHEP/Vector/LorentzVector.h"
11 using namespace CLHEP ;
50 _lcObj =
dynamic_cast< const TT*
>( lcObj ) ;
72 const TT*
lcObj()
const {
return _lcObj ; }
84 #include "UTIL/LCFourVector.icc"
The generic object that is held in an LCCollection.
Definition: LCObject.h:30
Base exception class for LCIO - all other exceptions extend this.
Definition: Exceptions.h:21
const TT * operator->() const
Instances of LCFourVector serve as a handle to the templated type.
Definition: LCFourVector.h:65
LCFourVector(const TT *lcObj)
Constructor for templated type,e.g.
Definition: LCFourVector.h:40
Four vector used in LCIO.
Definition: LCFourVector.h:30
LCFourVector(const EVENT::LCObject *lcObj)
Constructor for LCObject.
Definition: LCFourVector.h:48
const TT * lcObj() const
Pointer to the LCObject that has been used to create the four vector.
Definition: LCFourVector.h:72