All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
lightana::LiteOpFlash_t Struct Reference

#include <FlashFinderTypes.h>

Public Member Functions

 LiteOpFlash_t ()
 
 LiteOpFlash_t (double flash_time, double flash_time_err, int flash_tpc, std::vector< double > &&pe_array, std::vector< unsigned int > &&hit_idx)
 
void Register (size_t channel, double pe)
 

Public Attributes

std::vector< double > channel_pe
 
std::vector< unsigned int > asshit_idx
 
double time
 
double time_err
 
int tpc
 

Detailed Description

Definition at line 26 of file sbndcode/sbndcode/OpDetReco/OpFlash/FlashFinder/FlashFinderTypes.h.

Constructor & Destructor Documentation

lightana::LiteOpFlash_t::LiteOpFlash_t ( )
inline
lightana::LiteOpFlash_t::LiteOpFlash_t ( double  flash_time,
double  flash_time_err,
int  flash_tpc,
std::vector< double > &&  pe_array,
std::vector< unsigned int > &&  hit_idx 
)
inline

Member Function Documentation

void lightana::LiteOpFlash_t::Register ( size_t  channel,
double  pe 
)
inline

Definition at line 46 of file sbndcode/sbndcode/OpDetReco/OpFlash/FlashFinder/FlashFinderTypes.h.

47  {
48  if(channel >= channel_pe.size()) channel_pe.resize(channel+1,0);
49  channel_pe[channel] = pe;
50  }

Member Data Documentation

std::vector<unsigned int> lightana::LiteOpFlash_t::asshit_idx
std::vector<double> lightana::LiteOpFlash_t::channel_pe
double lightana::LiteOpFlash_t::time
double lightana::LiteOpFlash_t::time_err
int lightana::LiteOpFlash_t::tpc

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