9 #ifndef _ROOTTREE_CONVERTER_H_
10 #define _ROOTTREE_CONVERTER_H_
81 std::list<ACQIRIS::HelperAcqirisDetectors::helperinstancesmap_t::key_type>
_detectors;
84 std::list<std::pair<ACQIRIS::DelaylineDetector::particles_t::key_type,
85 ACQIRIS::HelperAcqirisDetectors::helperinstancesmap_t::key_type> >
_particles;
109 std::list<shared_pointer>
_pps;
eventStatus_t * _eventstatusstructure_ptr
pointer to the event status structure
Event to store all LCLS Data.
uint64_t _eventid
copy of the event id
pp2001(const name_t &, std::string)
Construct processor for converting histograms to root histograms.
virtual const result_t & result(const CASSEvent::id_t eventid=0)
overwrite the retrieval of an histogram
check if FEL is off by checking for bykick which is eventid
file contains declaration of classes that extract information of acqiris detectors.
uint64_t id_t
define the id type
machinestructure_t * _machinestructure_ptr
pointer to the machine structure defined above
TTree * _tree
the root tree to fill
file contains the classes that describe a delayline detector.
TFile * _rootfile
the root file
QMutex _lock
a lock to make the process reentrant
treestructure_t _treestructure
structure that should be written to tree
base class for processors.
std::map< std::string, treedetector_t > treestructure_t
a map will enable us to identify the right detector in the container
std::vector< bool > eventStatus_t
a vector of bools that show which eventcodes where associated with the event
std::map< std::string, double > machinestructure_t
the machine structure just a map of values identified by a string
std::list< ACQIRIS::HelperAcqirisDetectors::helperinstancesmap_t::key_type > _detectors
list of detectors who's hits should be filled into the tree
file contains processors baseclass declaration
std::list< shared_pointer > _pps
container for all 0d Processors that should be added to the tree
virtual void processEvent(const CASSEvent &)
only a stub does nothing, but needs to be there because its pure virtual in base class ...
virtual void loadSettings(size_t)
load the settings of this pp
std::map< std::string, double > ppstructure_t
the 0d processor structure a map of values identified by a string
ppstructure_t _ppstructure
0d processor structure
eventStatus_t _eventstatusstructure
event status structure
std::string name_t
define the name type
virtual void aboutToQuit()
dump all histogram to a root file just before quitting
virtual void releaseEvent(const CASSEvent &)
overwrite the release
defining structures for the root tree
machinestructure_t _machinestructure
machine data structure
treestructure_t * _treestructure_ptr
pointer to the above structure (needed by the tree)
ppstructure_t * _ppstructure_ptr
pointer to the 0d processor structure
std::list< std::pair< ACQIRIS::DelaylineDetector::particles_t::key_type, ACQIRIS::HelperAcqirisDetectors::helperinstancesmap_t::key_type > > _particles
list of particles whos hits should be added to the tree