Definition at line 25 of file HitsICARUS_tool.cc.
reco3d::HitsICARUS::HitsICARUS |
( |
const fhicl::ParameterSet & |
pset | ) |
|
|
explicit |
Constructor.
- Parameters
-
Definition at line 54 of file HitsICARUS_tool.cc.
void configure(fhicl::ParameterSet const &pset) override
Interface for configuring the particular algorithm tool.
reco3d::HitsICARUS::~HitsICARUS |
( |
| ) |
|
void reco3d::HitsICARUS::configure |
( |
fhicl::ParameterSet const & |
| ) |
|
|
overridevirtual |
Interface for configuring the particular algorithm tool.
- Parameters
-
ParameterSet | The input set of parameters for configuration |
Implements reco3d::IHitReader.
Definition at line 67 of file HitsICARUS_tool.cc.
bool reco3d::HitsICARUS::readHits |
( |
const std::vector< art::Ptr< recob::Hit >> & |
inputHits, |
|
|
std::vector< art::Ptr< recob::Hit >> & |
collectionHits, |
|
|
std::vector< art::Ptr< recob::Hit >> & |
firstIndHits, |
|
|
std::vector< art::Ptr< recob::Hit >> & |
secondIndHits |
|
) |
| const |
|
overridevirtual |
Scan an input collection of clusters and modify those according to the specific implementing algorithm.
- Parameters
-
clusterParametersList | A list of cluster objects (parameters from associated hits) |
Implements reco3d::IHitReader.
Definition at line 74 of file HitsICARUS_tool.cc.
79 for(
auto&
hit: inputHits)
81 if(
hit->Integral() < 0 || isnan(
hit->Integral()) || isinf(
hit->Integral()))
83 mf::LogWarning(
"Hits_ICARUS") <<
"WARNING: bad recob::Hit::Integral() = "
85 <<
". Skipping." << std::endl;
89 if (
hit->WireID().Plane == 0) firstIndHits.push_back(
hit);
90 else if (
hit->WireID().Plane == 1) secondIndHits.push_back(
hit);
91 else collectionHits.push_back(
hit);
94 mf::LogDebug(
"Hits_ICARUS") <<
">>>>> Reading hits done" << std::endl;
The documentation for this class was generated from the following file: