Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
LArObjectHelper.h
Go to the documentation of this file.
1
8
#ifndef LAR_OBJECT_HELPER_H
9
#define LAR_OBJECT_HELPER_H 1
10
11
#include "
Objects/Cluster.h
"
12
13
namespace
lar_content
14
{
15
19
class
LArObjectHelper
20
{
21
public
:
25
class
TypeAdaptor
26
{
27
public
:
35
template
<
typename
T>
36
static
pandora::CartesianVector
GetPosition
(
const
T &t);
37
45
template
<
typename
T>
46
static
const
pandora::CaloHit
*
GetCaloHit
(
const
T &t);
47
};
48
};
49
50
}
// namespace lar_content
51
52
#endif
// #ifndef LAR_OBJECT_HELPER_H
Cluster.h
Header file for the cluster class.
lar_content::LArObjectHelper::TypeAdaptor
TypeAdaptor.
Definition
LArObjectHelper.h:26
lar_content::LArObjectHelper::TypeAdaptor::GetCaloHit
static const pandora::CaloHit * GetCaloHit(const T &t)
Get the associated calo hit, or nullptr if none.
lar_content::LArObjectHelper::TypeAdaptor::GetPosition
static pandora::CartesianVector GetPosition(const T &t)
Get the associated position.
pandora::CaloHit
CaloHit class.
Definition
CaloHit.h:26
pandora::CartesianVector
CartesianVector class.
Definition
CartesianVector.h:24
lar_content
Definition
CheatingBeamParticleIdTool.cc:19
lar_content::LArObjectHelper
LArObjectHelper class.
Definition
LArObjectHelper.h:20
LArContent
larpandoracontent
LArHelpers
LArObjectHelper.h