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 
9 
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 
std::string string
Definition: nybbler.cc:12
Utility containing helpful functions for end users to access information about SpacePoints.
Declaration of signal hit object.
TCEvent evt
Definition: DataStructs.cxx:7
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.