TypeAdaptor.
More...
#include <LArObjectHelper.h>
|
template<> |
CartesianVector | GetPosition (const CartesianVector &t) |
|
template<> |
CartesianVector | GetPosition (const CaloHit *const &pT) |
|
template<> |
const CaloHit * | GetCaloHit (const CartesianVector &) |
|
template<> |
const CaloHit * | GetCaloHit (const CaloHit *const &pCaloHit3D) |
|
|
template<typename T > |
static pandora::CartesianVector | GetPosition (const T &t) |
| Get the associated position. More...
|
|
template<typename T > |
static const pandora::CaloHit * | GetCaloHit (const T &t) |
| Get the associated calo hit, or nullptr if none. More...
|
|
TypeAdaptor.
Definition at line 25 of file LArObjectHelper.h.
template<>
const CaloHit* lar_content::LArObjectHelper::TypeAdaptor::GetCaloHit |
( |
const CartesianVector & |
| ) |
|
template<>
const CaloHit* lar_content::LArObjectHelper::TypeAdaptor::GetCaloHit |
( |
const CaloHit *const & |
pCaloHit3D | ) |
|
Definition at line 37 of file LArObjectHelper.cc.
39 const CaloHit *
const pCaloHit2D =
static_cast<const CaloHit *
>(pCaloHit3D->GetParentAddress());
template<typename T >
static const pandora::CaloHit* lar_content::LArObjectHelper::TypeAdaptor::GetCaloHit |
( |
const T & |
t | ) |
|
|
static |
Get the associated calo hit, or nullptr if none.
- Parameters
-
- Returns
- the associated calo hit, or nullptr if none
template<>
CartesianVector lar_content::LArObjectHelper::TypeAdaptor::GetPosition |
( |
const CartesianVector & |
t | ) |
|
template<>
CartesianVector lar_content::LArObjectHelper::TypeAdaptor::GetPosition |
( |
const CaloHit *const & |
pT | ) |
|
template<typename T >
static pandora::CartesianVector lar_content::LArObjectHelper::TypeAdaptor::GetPosition |
( |
const T & |
t | ) |
|
|
static |
Get the associated position.
- Parameters
-
- Returns
- the associated position
The documentation for this class was generated from the following files: