#include <Event.h>
Definition at line 21 of file Event.h.
Definition at line 20 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 33 of file Event.cxx.
36 mf::LogWarning(
"Event") <<
"Event::Energy() is not yet defined. Need to decide "
37 <<
" how to calculate energy of Vertex"
38 <<
" Return util:kBogusD for now.";
constexpr double kBogusD
obviously bogus double value
int recob::Event::ID |
( |
| ) |
const |
|
inline |
Definition at line 55 of file Event.cxx.
58 std::sort(vtxs.begin(), vtxs.end());
double recob::Event::SigmaEnergy |
( |
| ) |
const |
Definition at line 44 of file Event.cxx.
47 mf::LogWarning(
"Event") <<
"Event::SigmaEnergy() is not yet defined. Need to decide "
48 <<
" how to calculate uncertainty in energy of Prong/Vertex"
49 <<
" Return util:kBogusD for now.";
constexpr double kBogusD
obviously bogus double value
bool operator< |
( |
const Event & |
a, |
|
|
const Event & |
b |
|
) |
| |
|
friend |
Definition at line 79 of file Event.cxx.
82 return a.Energy() < b.Energy();
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
const Event & |
a |
|
) |
| |
|
friend |
Definition at line 65 of file Event.cxx.
68 o << std::setprecision(5);
69 o <<
"Event " <<
a.fID << std::setw(5)
70 <<
" Energy = " <<
a.Energy() <<
" +/- " <<
a.SigmaEnergy() << std::endl;
id for this event
Definition at line 28 of file Event.h.
The documentation for this class was generated from the following files: