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