DUNEAnaSliceUtils.cxx
Go to the documentation of this file.
1 /**
2 *
3 * @file dunereco/AnaUtils/DUNEAnaSliceUtils.cxx
4 *
5 * @brief Utility containing helpful functions for end users to access information about Slices
6 */
7 
9 
12 
13 namespace dune_ana
14 {
15 
16 std::vector<art::Ptr<recob::Hit>> DUNEAnaSliceUtils::GetHits(const art::Ptr<recob::Slice> &pSlice, const art::Event &evt, const std::string &label)
17 {
18  return DUNEAnaSliceUtils::GetAssocProductVector<recob::Hit>(pSlice,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 Slices.
Declaration of signal hit object.
TCEvent evt
Definition: DataStructs.cxx:7
static std::vector< art::Ptr< recob::Hit > > GetHits(const art::Ptr< recob::Slice > &pSlice, const art::Event &evt, const std::string &label)
Get the hits associated with the slice.
Definition: fwd.h:31