9 #ifndef _ROOT_CONVERTER_H_
10 #define _ROOT_CONVERTER_H_
72 const std::string &_groupname,
shared_pointer pp
processor holding the data to be written
Event to store all LCLS Data.
const name_t name() const
retrieve the name of this processor
check if FEL is off by checking for bykick which is eventid
uint64_t id_t
define the id type
QMutex _lock
a lock to make the process reentrant
std::string _rootfilename
the root filename where we store the data in
virtual void releaseEvent(const CASSEvent &)
overwrite the release
base class for processors.
std::list< entry_t > _ppSummaryList
container for all pps that should be written when program quits
std::string groupname
group where the data will be written to
std::list< entry_t > _ppList
container with all pps that contain the histograms to dump to hdf5
entry_t(const std::string &_name, const std::string &_groupname, shared_pointer _pp)
constructor
pp2000(const name_t &name)
Construct processor for converting histograms to root histograms.
virtual void processEvent(const CASSEvent &)
only a stub does nothing, but needs to be there because its pure virtual in base class ...
file contains processors baseclass declaration
virtual const result_t & result(const CASSEvent::id_t eventid=0)
overwrite the retrieval of an histogram
const name_t _name
the processors name
virtual void loadSettings(size_t)
load the settings of this pp
TFile * _rootfile
the root file
std::string name_t
define the name type
std::tr1::shared_ptr< Processor > shared_pointer
a shared pointer of this
virtual void aboutToQuit()
dump all histogram to a root file just before quitting
std::string name
name of the value in the file
struct bundleing info for writing an entry to file