All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
lightana::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 sbndcode/sbndcode/OpDetReco/OpFlash/FlashFinder/FlashFinderManager.h.

Constructor & Destructor Documentation

lightana::FlashFinderManager::FlashFinderManager ( )
lightana::FlashFinderManager::~FlashFinderManager ( )

Member Function Documentation

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

Definition at line 31 of file sbndcode/sbndcode/OpDetReco/OpFlash/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  }
virtual LiteOpFlashArray_t RecoFlash(const LiteOpHitArray_t ophits)=0
BEGIN_PROLOG could also be cerr
void lightana::FlashFinderManager::SetFlashAlgo ( FlashAlgoBase algo)

Definition at line 21 of file sbndcode/sbndcode/OpDetReco/OpFlash/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* lightana::FlashFinderManager::_flash_algo
private

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