DUNEAnaClusterUtils.cxx
Go to the documentation of this file.
1 /**
2 *
3 * @file dunereco/AnaUtils/DUNEAnaClusterUtils.cxx
4 *
5 * @brief Utility containing helpful functions for end users to access information about Clusters
6 */
7 
9 
12 
13 namespace dune_ana
14 {
15 
16 std::vector<art::Ptr<recob::Hit>> DUNEAnaClusterUtils::GetHits(const art::Ptr<recob::Cluster> &pCluster, const art::Event &evt, const std::string &label)
17 {
18  return DUNEAnaClusterUtils::GetAssocProductVector<recob::Hit>(pCluster,evt,label,label);
19 }
20 
21 
22 } // namespace dune_ana
23 
24 
static std::vector< art::Ptr< recob::Hit > > GetHits(const art::Ptr< recob::Cluster > &pCluster, const art::Event &evt, const std::string &label)
Get the hits associated with the cluster.
std::string string
Definition: nybbler.cc:12
Utility containing helpful functions for end users to access information about Clusters.
Declaration of signal hit object.
TCEvent evt
Definition: DataStructs.cxx:7