All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
icarus_tool::ROIFinderNOP Class Reference
Inheritance diagram for icarus_tool::ROIFinderNOP:
icarus_tool::IROIFinder

Public Member Functions

 ROIFinderNOP (const fhicl::ParameterSet &pset)
 
 ~ROIFinderNOP ()
 
void configure (const fhicl::ParameterSet &pset) override
 
void initializeHistograms (art::TFileDirectory &) const override
 
size_t plane () const override
 
void FindROIs (const Waveform &, size_t, size_t, double, CandidateROIVec &) const override
 
- Public Member Functions inherited from icarus_tool::IROIFinder
virtual ~IROIFinder () noexcept=default
 

Private Attributes

size_t fPlane
 Tool can be plane dependent. More...
 

Additional Inherited Members

- Public Types inherited from icarus_tool::IROIFinder
using Waveform = std::vector< float >
 
using CandidateROI = std::pair< size_t, size_t >
 
using CandidateROIVec = std::vector< CandidateROI >
 

Detailed Description

Definition at line 16 of file ROIFinderNOP_tool.cc.

Constructor & Destructor Documentation

icarus_tool::ROIFinderNOP::ROIFinderNOP ( const fhicl::ParameterSet &  pset)
explicit

Definition at line 36 of file ROIFinderNOP_tool.cc.

37 {
38  configure(pset);
39 }
void configure(const fhicl::ParameterSet &pset) override
icarus_tool::ROIFinderNOP::~ROIFinderNOP ( )

Definition at line 41 of file ROIFinderNOP_tool.cc.

42 {
43 }

Member Function Documentation

void icarus_tool::ROIFinderNOP::configure ( const fhicl::ParameterSet &  pset)
overridevirtual

Implements icarus_tool::IROIFinder.

Definition at line 45 of file ROIFinderNOP_tool.cc.

46 {
47  fPlane = pset.get< size_t >("Plane");
48 
49  return;
50 }
size_t fPlane
Tool can be plane dependent.
void icarus_tool::ROIFinderNOP::FindROIs ( const Waveform waveform,
size_t  channel,
size_t  cnt,
double  rmsNoise,
CandidateROIVec roiVec 
) const
overridevirtual

Implements icarus_tool::IROIFinder.

Definition at line 52 of file ROIFinderNOP_tool.cc.

53 {
54  // We just make the entire waveform an "ROI"
55  roiVec.clear();
56  roiVec.emplace_back(size_t(0),waveform.size()-1);
57 
58  return;
59 }
void icarus_tool::ROIFinderNOP::initializeHistograms ( art::TFileDirectory &  histDir) const
overridevirtual

Implements icarus_tool::IROIFinder.

Definition at line 61 of file ROIFinderNOP_tool.cc.

62 {
63  return;
64 }
size_t icarus_tool::ROIFinderNOP::plane ( ) const
inlineoverridevirtual

Implements icarus_tool::IROIFinder.

Definition at line 25 of file ROIFinderNOP_tool.cc.

25 {return fPlane;}
size_t fPlane
Tool can be plane dependent.

Member Data Documentation

size_t icarus_tool::ROIFinderNOP::fPlane
private

Tool can be plane dependent.

Definition at line 31 of file ROIFinderNOP_tool.cc.


The documentation for this class was generated from the following file: