test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Public Attributes
TreeStruct Struct Reference

structure to store algorithm results in a TTree More...

#include <TreeStruct.h>

Public Member Functions

 TreeStruct ()
 
 TreeStruct (int ind)
 
 TreeStruct (float del, float err, int ind)
 

Static Public Member Functions

static const char * LeafList ()
 

Public Attributes

float delta
 
float error
 parameter from alignment algorithm (change wrt. start) More...
 
int paramIndex
 error from alignment algorithm More...
 

Detailed Description

structure to store algorithm results in a TTree

Definition at line 6 of file TreeStruct.h.

Constructor & Destructor Documentation

TreeStruct::TreeStruct ( )
inline

Definition at line 8 of file TreeStruct.h.

8 : delta(0.f), error(0.f), paramIndex(0) {}
double f[11][100]
float error
parameter from alignment algorithm (change wrt. start)
Definition: TreeStruct.h:13
int paramIndex
error from alignment algorithm
Definition: TreeStruct.h:14
float delta
Definition: TreeStruct.h:12
TreeStruct::TreeStruct ( int  ind)
inline

Definition at line 9 of file TreeStruct.h.

9 : delta(0.f), error(0.f), paramIndex(ind) {}
double f[11][100]
float error
parameter from alignment algorithm (change wrt. start)
Definition: TreeStruct.h:13
int paramIndex
error from alignment algorithm
Definition: TreeStruct.h:14
float delta
Definition: TreeStruct.h:12
TreeStruct::TreeStruct ( float  del,
float  err,
int  ind 
)
inline

Definition at line 10 of file TreeStruct.h.

10 : delta(del), error(err), paramIndex(ind) {}
float error
parameter from alignment algorithm (change wrt. start)
Definition: TreeStruct.h:13
int paramIndex
error from alignment algorithm
Definition: TreeStruct.h:14
float delta
Definition: TreeStruct.h:12

Member Function Documentation

static const char* TreeStruct::LeafList ( )
inlinestatic

internal param. index (same index => same delta) List of leaves to pass as 3rd argument to TTree::Branch(...) if 2nd argument is a pointer to TreeStruct - keep in synch with data members above!

Definition at line 17 of file TreeStruct.h.

Referenced by SiStripBackplaneCalibration::writeTree(), SiStripLorentzAngleCalibration::writeTree(), and SiPixelLorentzAngleCalibration::writeTree().

17 {return "delta/F:error/F:paramIndex/I";}

Member Data Documentation

float TreeStruct::delta

Definition at line 12 of file TreeStruct.h.

float TreeStruct::error
int TreeStruct::paramIndex

error from alignment algorithm

Definition at line 14 of file TreeStruct.h.