All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
pmtana::FlashFinderManager Class Reference

#include <FlashFinderManager.h>

Public Member Functions

 FlashFinderManager ()
 
 ~FlashFinderManager ()
 
void SetFlashAlgo (FlashAlgoBase *algo)
 
LiteOpFlashArray_t RecoFlash (const LiteOpHitArray_t &ophits) const
 

Private Attributes

FlashAlgoBase_flash_algo
 

Detailed Description

Definition at line 13 of file icaruscode/icaruscode/PMT/OpReco/FlashFinder/FlashFinderManager.h.

Constructor & Destructor Documentation

pmtana::FlashFinderManager::FlashFinderManager ( )
pmtana::FlashFinderManager::~FlashFinderManager ( )

Member Function Documentation

LiteOpFlashArray_t pmtana::FlashFinderManager::RecoFlash ( const LiteOpHitArray_t ophits) const

Definition at line 31 of file icaruscode/icaruscode/PMT/OpReco/FlashFinder/FlashFinderManager.cxx.

33  {
34  if(!_flash_algo) {
35  std::cerr << "\n\t No flashing to run!\n";
36  throw std::exception();
37  }
38  return _flash_algo->RecoFlash(ophits);
39  }
BEGIN_PROLOG could also be cerr
virtual LiteOpFlashArray_t RecoFlash(const LiteOpHitArray_t ophits)=0
void pmtana::FlashFinderManager::SetFlashAlgo ( FlashAlgoBase algo)

Definition at line 21 of file icaruscode/icaruscode/PMT/OpReco/FlashFinder/FlashFinderManager.cxx.

23  {
24  if(!algo) {
25  std::cerr << "\n\t Not a valid algo\n";
26  throw std::exception();
27  }
28  _flash_algo = algo;
29  }
BEGIN_PROLOG could also be cerr

Member Data Documentation

FlashAlgoBase* pmtana::FlashFinderManager::_flash_algo
private

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