ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/CMSSW/Alignment/CommonAlignmentAlgorithm/plugins/TreeStruct.h
Revision: 1.2
Committed: Fri May 31 12:13:40 2013 UTC (11 years, 11 months ago) by flucke
Content type: text/plain
Branch: MAIN
CVS Tags: CMSSW_6_2_0, CMSSW_6_2_0_pre8, V04-00-14, V04-00-13, V04-00-09-53X-calib-V01, V04-00-12, HEAD
Changes since 1.1: +20 -0 lines
Log Message:
merging calibration development from branch 'branch53X_calibration' (tag
'br53-00-09') to HEAD:
- add backplane calibration
- configurable granularity in time (i.e. run) and space for lorentz angle
  calibrations
- more info in diagnostics tree

File Contents

# Content
1 #ifndef Alignment_CommonAlignmentAlgorithm_plugins_TreeStruct_h
2 #define Alignment_CommonAlignmentAlgorithm_plugins_TreeStruct_h
3
4 /// structure to store algorithm results in a TTree
5
6 struct TreeStruct
7 {
8 TreeStruct() : delta(0.f), error(0.f), paramIndex(0) {}
9 TreeStruct(int ind) : delta(0.f), error(0.f), paramIndex(ind) {}
10 TreeStruct(float del, float err, int ind) : delta(del), error(err), paramIndex(ind) {}
11
12 float delta; /// parameter from alignment algorithm (change wrt. start)
13 float error; /// error from alignment algorithm
14 int paramIndex;/// internal param. index (same index => same delta)
15 /// List of leaves to pass as 3rd argument to TTree::Branch(...) if 2nd argument
16 /// is a pointer to TreeStruct - keep in synch with data members above!
17 static const char* LeafList() {return "delta/F:error/F:paramIndex/I";}
18 };
19
20 #endif