CMS 3D CMS Logo

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 7 of file TreeStruct.h.

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

Definition at line 8 of file TreeStruct.h.

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

Definition at line 9 of file TreeStruct.h.

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

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 16 of file TreeStruct.h.

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

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

Member Data Documentation

float TreeStruct::delta

Definition at line 11 of file TreeStruct.h.

Referenced by edmStreamStallGrapher.StreamInfoElement::unpack().

float TreeStruct::error

parameter from alignment algorithm (change wrt. start)

Definition at line 12 of file TreeStruct.h.

Referenced by Page1Parser.Page1Parser::check_for_whole_start_tag().

int TreeStruct::paramIndex

error from alignment algorithm

Definition at line 13 of file TreeStruct.h.