Definition at line 31 of file DiscreteInputs_IO.h.
◆ DiscreteInputs()
| trigger::DiscreteInputs::DiscreteInputs |
( |
const char * | fileName | ) |
|
|
inline |
Definition at line 33 of file DiscreteInputs_IO.h.
33 : file_(fopen(fileName, "rb")) {
34 if (!file_) {
35 std::cout << "ERROR: cannot read '" << fileName << "'" << std::endl;
36 }
37 assert(file_);
38 }
◆ ~DiscreteInputs()
| trigger::DiscreteInputs::~DiscreteInputs |
( |
| ) |
|
|
inline |
◆ event()
| const EventDump & trigger::DiscreteInputs::event |
( |
| ) |
|
|
inline |
◆ nextEvent()
| bool trigger::DiscreteInputs::nextEvent |
( |
| ) |
|
|
inline |
Definition at line 41 of file DiscreteInputs_IO.h.
41 {
42 if (feof(file_)) return false;
43 if (!event_.readFromFile(file_)) return false;
44 printf("Beginning of event %lu (%lu TPs) \n", event_.event_,
45 event_.ecal_tps_.size());
46 return true;
47 }
◆ event_
◆ file_
| FILE* trigger::DiscreteInputs::file_ |
|
private |
The documentation for this class was generated from the following file: