CFEL - ASG Software Suite  2.5.0
CASS
tree_structure.h
Go to the documentation of this file.
1 #ifndef _TREESTRUCTURE_H
2 #define _TREESTRUCTURE_H
3 
4 /**
5  * @file tree_structure.h defining structures for the root tree
6  *
7  * @author Lutz Foucar
8  */
9 
10 #include <map>
11 #include <vector>
12 #include <string>
13 
14 /** a hit is just a map of hit values identified by a string */
15 typedef std::map<std::string, double> treehit_t;
16 
17 /** lots of hits are a delayline detector */
18 typedef std::vector<treehit_t> treedetector_t;
19 
20 /** a map will enable us to identify the right detector in the container */
21 typedef std::map<std::string, treedetector_t> treestructure_t;
22 
23 /** the machine structure just a map of values identified by a string */
24 typedef std::map<std::string, double> machinestructure_t;
25 
26 /** a vector of bools that show which eventcodes where associated with the event */
27 typedef std::vector<bool> eventStatus_t;
28 
29 /** the 0d processor structure a map of values identified by a string */
30 typedef std::map<std::string, double> ppstructure_t;
31 
32 #endif
std::map< std::string, double > treehit_t
a hit is just a map of hit values identified by a string
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::vector< treehit_t > treedetector_t
lots of hits are a delayline detector
std::map< std::string, double > ppstructure_t
the 0d processor structure a map of values identified by a string