Event.cpp 378 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "Event.hpp"

using namespace corryvreckan;

void Event::print(std::ostream& out) const {
    out << "Start: " << start() << std::endl;
    out << "End:   " << end();
    if(!trigger_list_.empty()) {
        out << std::endl << "Trigger list: ";
        for(auto& trg : trigger_list_) {
            out << std::endl << trg.first << ": " << trg.second;
        }
    }
}