#include "Event.h"
Definition at line 21 of file Event.h.
Definition at line 23 of file Event.cxx.
constexpr int kBogusI
obviously bogus integer value
recob::Event::Event |
( |
int |
id | ) |
|
|
explicit |
double recob::Event::Energy |
( |
| ) |
const |
Definition at line 36 of file Event.cxx.
References util::kBogusD.
Referenced by recob::operator<(), and recob::operator<<().
39 mf::LogWarning(
"Event") <<
"Event::Energy() is not yet defined. Need to decide " 40 <<
" how to calculate energy of Vertex" 41 <<
" Return util:kBogusD for now.";
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
constexpr double kBogusD
obviously bogus double value
int recob::Event::ID |
( |
| ) |
const |
|
inline |
Definition at line 58 of file Event.cxx.
61 std::sort(vtxs.begin(), vtxs.end());
double recob::Event::SigmaEnergy |
( |
| ) |
const |
Definition at line 47 of file Event.cxx.
References util::kBogusD.
Referenced by recob::operator<<().
50 mf::LogWarning(
"Event") <<
"Event::SigmaEnergy() is not yet defined. Need to decide " 51 <<
" how to calculate uncertainty in energy of Prong/Vertex" 52 <<
" Return util:kBogusD for now.";
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning
constexpr double kBogusD
obviously bogus double value
bool operator< |
( |
const Event & |
a, |
|
|
const Event & |
b |
|
) |
| |
|
friend |
Definition at line 82 of file Event.cxx.
85 return a.Energy() < b.Energy();
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
const Event & |
a |
|
) |
| |
|
friend |
Definition at line 68 of file Event.cxx.
71 o << std::setprecision(5);
72 o <<
"Event " << a.fID << std::setw(5)
73 <<
" Energy = " << a.Energy() <<
" +/- " << a.SigmaEnergy() << std::endl;
The documentation for this class was generated from the following files:
- lardataobj/v1_36_00/source/lardataobj/RecoBase/Event.h
- lardataobj/v1_36_00/source/lardataobj/RecoBase/Event.cxx