15 #include "pdsdata/xtc/Dgram.hh"
22 ifstream &file(*(_readerpointerpair.second._filestream));
26 const streampos eventstartpos(file.tellg());
27 file.read(reinterpret_cast<char*>(&datagram),
sizeof(Pds::Dgram));
28 file.seekg(datagram.xtc.sizeofPayload(), ios_base::cur);
30 if (datagram.seq.service() == Pds::TransitionId::L1Accept)
32 uint64_t bunchId = datagram.seq.clock().seconds();
33 bunchId = (bunchId<<32) + static_cast<uint32_t>(datagram.seq.stamp().fiducials()<<8);
34 savePos(eventstartpos,bunchId);
contains class to parse xtc files
file contains declaration of the CASSEvent
void runthis()
parse the frms6 file
file contains specialized class that do the settings for cass