00001 #ifndef Alignment_OfflineValidation_TkOffTreeVariables_h
00002 #define Alignment_OfflineValidation_TkOffTreeVariables_h
00003
00004 #include <string>
00005
00006 #include <Rtypes.h>
00007
00009 struct TkOffTreeVariables
00010 {
00012 TkOffTreeVariables() { this->clear();}
00013
00015 void clear() {
00016
00017 this->clearMergeAffectedPart();
00018
00019
00020
00021 posR = posPhi = posEta = posX = posY = posZ
00022 = rDirection = phiDirection = zDirection = rOrZDirection = 0.;
00023
00024 moduleId = subDetId
00025 = layer = side = half = rod
00026 = ring = petal
00027 = blade = panel
00028 = outerInner = module = 0;
00029
00030 isDoubleSide = isStereo = false;
00031
00032 histNameLocalX = histNameNormLocalX
00033 = histNameLocalY
00034 = histNameX = histNameNormX
00035 = histNameY = histNameNormY = "";
00036 profileNameResXvsX = profileNameResXvsY
00037 = profileNameResYvsX
00038 = profileNameResYvsY = "";
00039
00040 }
00042 void clearMergeAffectedPart()
00043 {
00044
00045 meanLocalX = meanNormLocalX = meanX = meanNormX = meanY = meanNormY
00046 = medianX = medianY
00047 = chi2PerDofX = chi2PerDofY
00048 = rmsLocalX = rmsNormLocalX = rmsX = rmsNormX = rmsY = rmsNormY
00049 = sigmaX = sigmaNormX
00050 = fitMeanX = fitSigmaX = fitMeanNormX = fitSigmaNormX
00051 = fitMeanY = fitSigmaY = fitMeanNormY = fitSigmaNormY
00052 = numberOfUnderflows = numberOfOverflows = numberOfOutliers = 0.;
00053
00054 meanResXvsX = meanResXvsY = meanResYvsX = meanResYvsY
00055 = rmsResXvsX = rmsResXvsY = rmsResYvsX = rmsResYvsY = 0.;
00056
00057
00058 entries = 0;
00059 }
00060
00061
00063
00064
00065
00067
00068 Float_t meanLocalX, meanNormLocalX,
00069 meanX, meanNormX,
00070 meanY, meanNormY,
00071 medianX, medianY,
00072 chi2PerDofX, chi2PerDofY,
00073 rmsLocalX, rmsNormLocalX, rmsX, rmsNormX,
00074 rmsY, rmsNormY,sigmaX,sigmaNormX,
00075 fitMeanX, fitSigmaX, fitMeanNormX, fitSigmaNormX,
00076 fitMeanY, fitSigmaY, fitMeanNormY, fitSigmaNormY,
00077 posR, posPhi, posEta,
00078 posX, posY, posZ,
00079 numberOfUnderflows, numberOfOverflows, numberOfOutliers,
00080 rDirection, phiDirection, zDirection, rOrZDirection;
00081
00082 UInt_t entries;
00083 UInt_t moduleId, subDetId,
00084 layer, side, half, rod,
00085 ring, petal,
00086 blade, panel,
00087 outerInner, module;
00088
00089 Bool_t isDoubleSide;
00090 Bool_t isStereo;
00091
00092 std::string histNameLocalX, histNameNormLocalX, histNameLocalY;
00093 std::string histNameX, histNameNormX, histNameY, histNameNormY;
00094
00095 Float_t meanResXvsX, meanResXvsY, meanResYvsX, meanResYvsY;
00096 Float_t rmsResXvsX, rmsResXvsY, rmsResYvsX, rmsResYvsY;
00097
00098 std::string profileNameResXvsX, profileNameResXvsY, profileNameResYvsX, profileNameResYvsY;
00099
00100 };
00101
00102 #endif