Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunereco
dunereco
AnaUtils
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
8
#include "
dunereco/AnaUtils/DUNEAnaClusterUtils.h
"
9
10
#include "
lardataobj/RecoBase/Hit.h
"
11
#include "
lardataobj/RecoBase/Cluster.h
"
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
dune_ana::DUNEAnaClusterUtils::GetHits
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.
Definition:
DUNEAnaClusterUtils.cxx:16
string
std::string string
Definition:
nybbler.cc:12
test_nxdot.label
label
Definition:
test_nxdot.py:6
Cluster.h
dune_ana
Definition:
DUNEAnaClusterUtils.cxx:13
DUNEAnaClusterUtils.h
Utility containing helpful functions for end users to access information about Clusters.
Hit.h
Declaration of signal hit object.
art::Event
Definition:
Event.h:22
tca::evt
TCEvent evt
Definition:
DataStructs.cxx:7
art::Ptr< recob::Cluster >
Generated by
1.8.11