13 std::vector<ldmx_int::EcalTP> EcalTPs;
16 bool readFromFile(FILE *file) {
17 if (!fread(&event,
sizeof(uint64_t), 1, file))
return false;
18 ldmx_int::readManyFromFile(EcalTPs, file);
21 bool writeToFile(FILE *file) {
22 fwrite(&event,
sizeof(uint64_t), 1, file);
23 ldmx_int::writeManyToFile(EcalTPs, file);