Definition at line 58 of file T0Counter_module.cc.
Definition at line 88 of file T0Counter_module.cc.
void insert(double tim, unsigned int id, art::Ptr< raw::ExternalTrigger > trig)
double dune::T0Counter::t0::avgTime |
( |
| ) |
const |
|
inline |
Definition at line 72 of file T0Counter_module.cc.
75 for(
auto const &i :
idtime) t += i.second, ++
n;
76 if (n != 0)
return t/
n;
std::vector< std::pair< unsigned int, double > > idtime
T min(sqlite3 *const db, std::string const &table_name, std::string const &column_name)
Definition at line 81 of file T0Counter_module.cc.
82 idtime.push_back(std::pair<unsigned int,double>(
id,tim));
83 trigs.push_back(trig);
std::vector< std::pair< unsigned int, double > > idtime
std::vector< art::Ptr< raw::ExternalTrigger > > trigs
bool dune::T0Counter::t0::testCoincidence |
( |
double |
tim, |
|
|
double |
tol |
|
) |
| const |
|
inline |
Definition at line 64 of file T0Counter_module.cc.
65 for(
auto const &i :
idtime) {
66 if (tim >= i.second-
tol && tim <= i.second+
tol)
return true;
std::vector< std::pair< unsigned int, double > > idtime
std::vector< std::pair< unsigned int, double> > dune::T0Counter::t0::idtime |
The documentation for this struct was generated from the following file: