26 ifstream &file(*(_readerpointerpair.second._filestream));
27 file.seekg (0, ios::end);
28 const streampos filesize(file.tellg());
29 file.seekg (0, ios::beg);
34 std::tr1::shared_ptr<CASSEvent> event(
new CASSEvent);
35 streampos eventstartpos;
38 eventstartpos = file.tellg();
40 savePos(eventstartpos,event->id());
Event to store all LCLS Data.
file contains declaration of the CASSEvent
virtual void readHeaderInfo(std::ifstream &)
read the file header
base class for all file readers
void read(const std::string &filename, std::string &headerstring, std::vector< float > &matrix, std::pair< int, int > &shape)
read the cbf data into a linearized 2d array
contains class to parse a txt ascii file
contains base class for all file readers
file contains specialized class that do the settings for cass
void runthis()
parse the frms6 file