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