CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TreeStruct.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignmentAlgorithm_plugins_TreeStruct_h
2 #define Alignment_CommonAlignmentAlgorithm_plugins_TreeStruct_h
3 
5 
6 struct TreeStruct {
7  TreeStruct() : delta(0.f), error(0.f), paramIndex(0) {}
8  TreeStruct(int ind) : delta(0.f), error(0.f), paramIndex(ind) {}
9  TreeStruct(float del, float err, int ind) : delta(del), error(err), paramIndex(ind) {}
10 
11  float delta;
12  float error;
13  int paramIndex;
14  static const char* LeafList() { return "delta/F:error/F:paramIndex/I"; }
17 };
18 
19 #endif
TreeStruct()
Definition: TreeStruct.h:7
structure to store algorithm results in a TTree
Definition: TreeStruct.h:6
static const char * LeafList()
Definition: TreeStruct.h:16
TreeStruct(int ind)
Definition: TreeStruct.h:8
float error
parameter from alignment algorithm (change wrt. start)
Definition: TreeStruct.h:12
int paramIndex
error from alignment algorithm
Definition: TreeStruct.h:13
TreeStruct(float del, float err, int ind)
Definition: TreeStruct.h:9
float delta
Definition: TreeStruct.h:11