LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
lar_content
Definition:
CheatingBeamParticleIdTool.cc:18
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.
lar_content::LArObjectHelper::TypeAdaptor
TypeAdaptor.
Definition:
LArObjectHelper.h:25
lar_content::LArObjectHelper
LArObjectHelper class.
Definition:
LArObjectHelper.h:19
larpandoracontent
v03_13_02
source
larpandoracontent
LArHelpers
LArObjectHelper.h
Generated on Thu Jul 26 2018 13:10:02 for LArSoft by
1.8.11