LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
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 
20 {
21 public:
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
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.
LArObjectHelper class.