Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
dunereco
dunereco
AnaUtils
DUNEAnaSpacePointUtils.cxx
Go to the documentation of this file.
1
/**
2
*
3
* @file dunereco/AnaUtils/DUNEAnaSpacePointUtils.cxx
4
*
5
* @brief Utility containing helpful functions for end users to access information about SpacePoints
6
*/
7
8
#include "
dunereco/AnaUtils/DUNEAnaSpacePointUtils.h
"
9
10
#include "
lardataobj/RecoBase/Hit.h
"
11
#include "
lardataobj/RecoBase/SpacePoint.h
"
12
13
namespace
dune_ana
14
{
15
16
std::vector<art::Ptr<recob::Hit>>
DUNEAnaSpacePointUtils::GetHits
(
const
art::Ptr<recob::SpacePoint>
&pSpacepoint,
const
art::Event
&
evt
,
const
std::string
&
label
)
17
{
18
return
DUNEAnaSpacePointUtils::GetAssocProductVector<recob::Hit>(pSpacepoint,
evt
,
label
,
label
);
19
}
20
21
}
// namespace dune_ana
22
23
string
std::string string
Definition:
nybbler.cc:12
test_nxdot.label
label
Definition:
test_nxdot.py:6
DUNEAnaSpacePointUtils.h
Utility containing helpful functions for end users to access information about SpacePoints.
dune_ana
Definition:
DUNEAnaClusterUtils.cxx:13
Hit.h
Declaration of signal hit object.
art::Event
Definition:
Event.h:22
SpacePoint.h
tca::evt
TCEvent evt
Definition:
DataStructs.cxx:7
dune_ana::DUNEAnaSpacePointUtils::GetHits
static std::vector< art::Ptr< recob::Hit > > GetHits(const art::Ptr< recob::SpacePoint > &pSpacepoint, const art::Event &evt, const std::string &label)
Get the hits associated with the spacepoint.
Definition:
DUNEAnaSpacePointUtils.cxx:16
art::Ptr< recob::SpacePoint >
Generated by
1.8.11