20int main(
int argc,
char **argv)
29 JParser<> zap(
"Example program to test application history.");
35 catch(
const exception &error) {
57 for (
int i = 0; i !=
sizeof(
application)/
sizeof(
int); ++i) {
73 for (JEvt::const_iterator fit = evt.begin(); fit != __end; ++fit) {
86 for (
size_t i = 0; i != evt.size(); ++i) {
93 ASSERT(has_muon_prefit (evt[i]) &&
94 has_muon_simplex(evt[i]) &&
95 has_muon_gandalf(evt[i]) &&
96 !has_muon_energy(evt[i]) &&
97 has_muon_start (evt[i]));
105 ASSERT( has_reconstructed_muon (evt));
106 ASSERT(!has_reconstructed_shower(evt));
108 const JFit& fit = get_best_reconstructed_muon(evt);
110 ASSERT(has_muon_prefit (fit) &&
111 has_muon_simplex(fit) &&
112 has_muon_gandalf(fit) &&
113 !has_muon_energy(fit) &&
114 has_muon_start (fit));
int main(int argc, char **argv)
Auxiliary class to test history.
Container for historical events.
JHistory & add(const int type)
Add event to history.