9 #ifndef _HDF5_CONVERTER_H_
10 #define _HDF5_CONVERTER_H_
104 const std::string &_groupname,
105 const uint32_t _options,
std::string name
name of the value in the file
Event to store all LCLS Data.
virtual void loadSettings(size_t)
load the settings of this pp
std::list< entry_t > _procSummaryList
container for all pps that should be written when program quits
check if FEL is off by checking for bykick which is eventid
pp1002(const name_t &)
constructor
std::tr1::shared_ptr< hdf5::WriteEntry > entryWriter_t
define pointer to the entry writer
size_t _maxFileSize
the maximum file size of the single file
void writeEventToSingleFile(const CASSEvent &evt)
function to write the events to a single file
virtual void processEvent(const CASSEvent &)
process the event
uint64_t id_t
define the id type
void writeEventToMultipleEventsFile(const CASSEvent &evt)
function to write the events to a file that contains multiple events
std::tr1::function< void(const CASSEvent &)> _writeEvent
write event to file
std::tr1::function< void(void)> _writeSummary
write summary to file
entry_t(const std::string &_name, const std::string &_groupname, const uint32_t _options, shared_pointer _proc)
constructor
base class for processors.
void writeSummaryToSingleFile()
function to write the summary to a single file
int _maxFilePerSubDir
the number of files in each subdir
std::string groupname
group where the data will be written to
struct bundleing info for writing an entry to file
void appendEventToMultipleEventsFile(const CASSEvent &evt)
function to write the events to a file that contains multiple events
void writeSummaryToMultipleEventsFile()
write the summary to a file that contains multiple events
std::list< entry_t > _procList
container with all pps that contain the histograms to dump to hdf5
uint32_t options
options for writing
virtual void releaseEvent(const CASSEvent &)
overwrite the release
file contains processors baseclass declaration
saves a selected 2d histogram to hdf5
entryWriter_t _entryWriter
the entry writer
const name_t _name
the processors name
shared_pointer proc
processor holding the data to be written
virtual const result_t & result(const CASSEvent::id_t eventid=0)
overwrite the retrieval of an histogram
QMutex _lock
a lock to make the process reentrant
std::string name_t
define the name type
virtual void aboutToQuit()
dump all pp histograms to summary group just before quitting
std::tr1::shared_ptr< Processor > shared_pointer
a shared pointer of this
int _filecounter
counter to count how many files have been written
std::string _basefilename
the filename that the data will be written to