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 (float del, float err, int ind)
 
 TreeStruct (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() [1/3]

TreeStruct::TreeStruct ( )
inline

Definition at line 7 of file TreeStruct.h.

7 : delta(0.f), error(0.f), paramIndex(0) {}

◆ TreeStruct() [2/3]

TreeStruct::TreeStruct ( int  ind)
inline

Definition at line 8 of file TreeStruct.h.

8 : delta(0.f), error(0.f), paramIndex(ind) {}

◆ TreeStruct() [3/3]

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

Definition at line 9 of file TreeStruct.h.

9 : delta(del), error(err), paramIndex(ind) {}

Member Function Documentation

◆ LeafList()

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.

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

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

Member Data Documentation

◆ delta

float TreeStruct::delta

Definition at line 11 of file TreeStruct.h.

Referenced by edmStreamStallGrapher.StreamInfoElement::unpack().

◆ error

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().

◆ paramIndex

int TreeStruct::paramIndex

error from alignment algorithm

Definition at line 13 of file TreeStruct.h.

f
double f[11][100]
Definition: MuScleFitUtils.cc:78
TreeStruct::delta
float delta
Definition: TreeStruct.h:11
submitPVResolutionJobs.err
err
Definition: submitPVResolutionJobs.py:85
TreeStruct::error
float error
parameter from alignment algorithm (change wrt. start)
Definition: TreeStruct.h:12
TreeStruct::paramIndex
int paramIndex
error from alignment algorithm
Definition: TreeStruct.h:13