All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
OpHitAlg.h
Go to the documentation of this file.
1 // -*- mode: c++; c-basic-offset: 2; -*-
2 #ifndef OPHITALG_H
3 #define OPHITALG_H
4 /*!
5  * Title: OpHit Algorithims
6  * Author: Ben Jones, MIT ( Edited by wketchum@lanl.gov, gleb.sinev@duke.edu
7  * and kevin.wood@stonybrook.edu )
8  *
9  * Description:
10  * These are the algorithms used by OpHit to produce optical hits.
11  */
12 
16 
17 #include <vector>
18 
19 namespace calib { class IPhotonCalibrator; }
20 namespace detinfo { class DetectorClocksData; }
21 namespace geo { class GeometryCore; }
22 namespace pmtana { class PulseRecoManager; }
23 
24 namespace opdet {
25 
26  void RunHitFinder(std::vector<raw::OpDetWaveform> const&,
27  std::vector<recob::OpHit>&,
30  geo::GeometryCore const&,
31  float,
34  bool use_start_time=false);
35 
36  void ConstructHit(float,
37  int,
38  double,
39  pmtana::pulse_param const&,
40  std::vector<recob::OpHit>&,
43  bool use_start_time=false);
44 
45 } // End opdet namespace
46 
47 #endif
Description of geometry of one entire detector.
void ConstructHit(float hitThreshold, int channel, double timeStamp, pmtana::pulse_param const &pulse, std::vector< recob::OpHit > &hitVector, detinfo::DetectorClocksData const &clocksData, calib::IPhotonCalibrator const &calibrator, bool use_start_time)
Definition: OpHitAlg.cxx:65
Contains all timing reference information for the detector.
void RunHitFinder(std::vector< raw::OpDetWaveform > const &opDetWaveformVector, std::vector< recob::OpHit > &hitVector, pmtana::PulseRecoManager const &pulseRecoMgr, pmtana::PMTPulseRecoBase const &threshAlg, geo::GeometryCore const &geometry, float hitThreshold, detinfo::DetectorClocksData const &clocksData, calib::IPhotonCalibrator const &calibrator, bool use_start_time)
Definition: OpHitAlg.cxx:30
Class definition file of PMTPulseRecoBase.