Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
LArObjectHelper.cc
Go to the documentation of this file.
1
10
11using namespace pandora;
12
13namespace lar_content
14{
15
16template <>
21
22template <>
27
28//------------------------------------------------------------------------------------------------------------------------------------------
29
30template <>
32{
33 return nullptr;
34}
35
36template <>
38{
39 const CaloHit *const pCaloHit2D = static_cast<const CaloHit *>(pCaloHit3D->GetParentAddress());
40 return pCaloHit2D;
41}
42
43} // namespace lar_content
Header file for the object helper class.
static const pandora::CaloHit * GetCaloHit(const T &t)
Get the associated calo hit, or nullptr if none.
static pandora::CartesianVector GetPosition(const T &t)
Get the associated position.
CaloHit class.
Definition CaloHit.h:26
const CartesianVector & GetPositionVector() const
Get the position vector of center of calorimeter cell, units mm.
Definition CaloHit.h:350
const void * GetParentAddress() const
Get the address of the parent calo hit in the user framework.
Definition CaloHit.h:532
CartesianVector class.