Skip to content

Commit

Permalink
Merge pull request #173 from lenzip/QQHUncertainty_fix_from_Yacine
Browse files Browse the repository at this point in the history
updated file from Yacine
  • Loading branch information
lenzip authored Jul 27, 2020
2 parents 318573f + 368397b commit 566afa8
Showing 1 changed file with 37 additions and 37 deletions.
74 changes: 37 additions & 37 deletions NanoGardener/python/modules/qqhuncertainty.cc
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,25 @@ static std::map<int, std::vector<double> > stxs_acc =
{ 203, {0.0082, 0.0 ,-0.4038, 0.0 , 0.0 , 0.0 , 0.0 , 0.0 ,-0.0256, 0.0164 }}, // Mjj 0-60, PTHjj 0-25
{ 204, {0.0603, 0.0 , 0.1258,-0.5825, 0.0 , 0.0 , 0.0 , 0.0 ,-0.1876, 0.1206 }}, // Mjj 60-120, PTHjj 0-25
{ 205, {0.0608, 0.0 , 0.1268, 0.1617,-0.5332, 0.0 , 0.0 , 0.0 ,-0.1891, 0.1216 }}, // Mjj 120-350, PTHjj 0-25
{ 206, {0.0121, 0.0 ,-0.5962, 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0681, 0.0243 }}, // Mjj 350-700, PTHjj 0-25 , pTH 0-200
{ 207, {0.0432, 0.0 , 0.0901,-0.4175, 0.0 , 0.0 , 0.0 , 0.0 , 0.2423, 0.0865 }}, // Mjj 700-1000, PTHjj 0-25 , pTH 0-200
{ 208, {0.0532, 0.0 , 0.111 , 0.1416,-0.4668, 0.0 , 0.0 , 0.0 , 0.2986, 0.1065 }}, // Mjj 1000-1500, PTHjj 0-25 , pTH 0-200
{ 209, {0.0702,-0.3026, 0.1465, 0.1868, 0.2682,-0.6504, 0.0 , 0.0 ,-0.2185, 0.1405 }}, // Mjj 1500-inf , PTHjj 0-25 , pTH 0-200
{ 210, {0.0289,-0.1247, 0.0604, 0.077 , 0.1105,-0.2681, 0.0 , 0.0 , 0.1624, 0.0579 }}, // Mjj 350-700, PTHjj 0-25 , pTH 200-inf
{ 211, {0.0366,-0.1576, 0.0763, 0.0973, 0.1397, 0.2377,-0.6724, 0.0 ,-0.1138, 0.0732 }}, // Mjj 700-1000, PTHjj 0-25 , pTH 200-inf
{ 212, {0.0118,-0.0509, 0.0246, 0.0314, 0.0451, 0.0767,-0.217 , 0.0 , 0.0662, 0.0236 }}, // Mjj 1000-1500, PTHjj 0-25 , pTH 200-inf
{ 213, {0.0335,-0.1445, 0.07 , 0.0892, 0.1281, 0.218 , 0.3371,-0.6777,-0.1043, 0.0671 }}, // Mjj 1500-inf , PTHjj 0-25 , pTH 200-inf
{ 214, {0.0093,-0.04 , 0.0193, 0.0247, 0.0354, 0.0603, 0.0932,-0.1874, 0.052 , 0.0186 }}, // Mjj 0-60, PTHjj 25-inf
{ 215, {0.0348,-0.1498, 0.0725, 0.0925, 0.1328, 0.226 , 0.3495, 0.6955,-0.1082, 0.0696 }}, // Mjj 60-120, PTHjj 25-inf
{ 216, {0.0069,-0.0298, 0.0144, 0.0184, 0.0264, 0.045 , 0.0695, 0.1384, 0.0388, 0.0138 }}, // Mjj 120-350, PTHjj 25-inf
{ 217, {0.004 , 0.1332, 0.0083, 0.0106, 0.0152,-0.0368, 0.0 , 0.0 ,-0.0123, 0.0079 }}, // Mjj 350-700, PTHjj 25-inf , pTH 0-200
{ 218, {0.0048, 0.1623, 0.0101, 0.0129, 0.0185,-0.0448, 0.0 , 0.0 , 0.0271, 0.0097 }}, // Mjj 700-1000, PTHjj 25-inf , pTH 0-200
{ 219, {0.0033, 0.1118, 0.0069, 0.0089, 0.0127, 0.0216,-0.0612, 0.0 ,-0.0104, 0.0067 }}, // Mjj 1000-1500, PTHjj 25-inf , pTH 0-200
{ 220, {0.0027, 0.0901, 0.0056, 0.0071, 0.0103, 0.0175,-0.0494, 0.0 , 0.0151, 0.0054 }}, // Mjj 1500-inf , PTHjj 25-inf , pTH 0-200
{ 221, {0.0041, 0.1361, 0.0085, 0.0108, 0.0155, 0.0264, 0.0408,-0.082 ,-0.0126, 0.0081 }}, // Mjj 350-700, PTHjj 25-inf , pTH 200-inf
{ 222, {0.0026, 0.0879, 0.0055, 0.007 , 0.01 , 0.017 , 0.0263,-0.0529, 0.0147, 0.0052 }}, // Mjj 700-1000, PTHjj 25-inf , pTH 200-inf
{ 223, {0.0057, 0.19 , 0.0118, 0.0151, 0.0216, 0.0368, 0.0569, 0.1133,-0.0176, 0.0113 }}, // Mjj 1000-1500, PTHjj 25-inf , pTH 200-inf
{ 224, {0.0026, 0.0886, 0.0055, 0.007 , 0.0101, 0.0172, 0.0265, 0.0528, 0.0148, 0.0053 }} // Mjj 1500-inf , PTHjj 25-inf , pTH 200-inf
{ 206, {0.0121, 0.0 ,-0.5962, 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0681, 0.0243 }}, // Mjj 0-60, PTHjj 25-inf
{ 207, {0.0432, 0.0 , 0.0901,-0.4175, 0.0 , 0.0 , 0.0 , 0.0 , 0.2423, 0.0865 }}, // Mjj 60-120, PTHjj 25-inf
{ 208, {0.0532, 0.0 , 0.111 , 0.1416,-0.4668, 0.0 , 0.0 , 0.0 , 0.2986, 0.1065 }}, // Mjj 120-350, PTHjj 25-inf
{ 209, {0.0702,-0.3026, 0.1465, 0.1868, 0.2682,-0.6504, 0.0 , 0.0 ,-0.2185, 0.1405 }}, // Mjj 350-700, PTHjj 0-25 , pTH 0-200
{ 210, {0.0289,-0.1247, 0.0604, 0.077 , 0.1105,-0.2681, 0.0 , 0.0 , 0.1624, 0.0579 }}, // Mjj 350-700, PTHjj 25-inf , pTH 0-200
{ 211, {0.0366,-0.1576, 0.0763, 0.0973, 0.1397, 0.2377,-0.6724, 0.0 ,-0.1138, 0.0732 }}, // Mjj 700-1000, PTHjj 0-25 , pTH 0-200
{ 212, {0.0118,-0.0509, 0.0246, 0.0314, 0.0451, 0.0767,-0.217 , 0.0 , 0.0662, 0.0236 }}, // Mjj 700-1000, PTHjj 25-inf , pTH 0-200
{ 213, {0.0335,-0.1445, 0.07 , 0.0892, 0.1281, 0.218 , 0.3371,-0.6777,-0.1043, 0.0671 }}, // Mjj 1000-1500, PTHjj 0-25 , pTH 0-200
{ 214, {0.0093,-0.04 , 0.0193, 0.0247, 0.0354, 0.0603, 0.0932,-0.1874, 0.052 , 0.0186 }}, // Mjj 1000-1500, PTHjj 25-inf , pTH 0-200
{ 215, {0.0348,-0.1498, 0.0725, 0.0925, 0.1328, 0.226 , 0.3495, 0.6955,-0.1082, 0.0696 }}, // Mjj 1000-inf, PTHjj 0-25 , pTH 0-200
{ 216, {0.0069,-0.0298, 0.0144, 0.0184, 0.0264, 0.045 , 0.0695, 0.1384, 0.0388, 0.0138 }}, // Mjj 1000-inf, PTHjj 25-inf , pTH 0-200
{ 217, {0.004 , 0.1332, 0.0083, 0.0106, 0.0152,-0.0368, 0.0 , 0.0 ,-0.0123, 0.0079 }}, // Mjj 350-700, PTHjj 0-25 , pTH 200-inf
{ 218, {0.0048, 0.1623, 0.0101, 0.0129, 0.0185,-0.0448, 0.0 , 0.0 , 0.0271, 0.0097 }}, // Mjj 350-700, PTHjj 25-inf , pTH 200-inf
{ 219, {0.0033, 0.1118, 0.0069, 0.0089, 0.0127, 0.0216,-0.0612, 0.0 ,-0.0104, 0.0067 }}, // Mjj 700-1000, PTHjj 0-25 , pTH 200-inf
{ 220, {0.0027, 0.0901, 0.0056, 0.0071, 0.0103, 0.0175,-0.0494, 0.0 , 0.0151, 0.0054 }}, // Mjj 700-1000, PTHjj 25-inf , pTH 200-inf
{ 221, {0.0041, 0.1361, 0.0085, 0.0108, 0.0155, 0.0264, 0.0408,-0.082 ,-0.0126, 0.0081 }}, // Mjj 1000-1500, PTHjj 0-25 , pTH 200-inf
{ 222, {0.0026, 0.0879, 0.0055, 0.007 , 0.01 , 0.017 , 0.0263,-0.0529, 0.0147, 0.0052 }}, // Mjj 1000-1500, PTHjj 25-inf , pTH 200-inf
{ 223, {0.0057, 0.19 , 0.0118, 0.0151, 0.0216, 0.0368, 0.0569, 0.1133,-0.0176, 0.0113 }}, // Mjj 1000-inf, PTHjj 0-25 , pTH 200-inf
{ 224, {0.0026, 0.0886, 0.0055, 0.007 , 0.0101, 0.0172, 0.0265, 0.0528, 0.0148, 0.0053 }} // Mjj 1000-inf, PTHjj 25-inf , pTH 200-inf
};

// uncertainty sources
Expand Down Expand Up @@ -178,28 +178,28 @@ std::map<int, std::vector<double> > EW_correction {
{201,{ 0.000, 1.000, 0.000, 0.000}},
{202,{ 0.000, 1.000, 0.000, 0.000}},
{203,{ 6.670, 0.981, 0.081, 0.012}}, // 0 < m_jj < 60
{214,{ 6.670, 0.981, 0.081, 0.012}}, // 0 < m_jj < 60
{206,{ 6.670, 0.981, 0.081, 0.012}}, // 0 < m_jj < 60
{204,{ 601.78, 0.938, 7.440, 0.012}}, // 60 < m_jj < 120
{215,{ 601.78, 0.938, 7.440, 0.012}}, // 60 < m_jj < 120
{207,{ 601.78, 0.938, 7.440, 0.012}}, // 60 < m_jj < 120
{205,{ 540.59, 0.981, 6.567, 0.012}}, // 120 < m_jj < 350
{216,{ 540.59, 0.981, 6.567, 0.012}}, // 120 < m_jj < 350
{208,{ 540.59, 0.981, 6.567, 0.012}}, // 120 < m_jj < 350
// pTH < 200
{206,{ 659.75, 0.955, 9.056, 0.014}}, // 350 < m_jj < 700
{217,{ 659.75, 0.955, 9.056, 0.014}}, // 350 < m_jj < 700
{207,{ 318.83, 0.937, 4.820, 0.015}}, // 700 < m_jj < 1000
{218,{ 318.83, 0.937, 4.820, 0.015}}, // 700 < m_jj < 1000
{208,{ 275.94, 0.921, 4.481, 0.016}}, //1000 < m_jj < 1500
{219,{ 275.94, 0.921, 4.481, 0.016}}, //1000 < m_jj < 1500
{209,{ 251.33, 0.899, 4.798, 0.019}}, // m_jj > 1500
{220,{ 251.33, 0.899, 4.798, 0.019}}, // m_jj > 1500
{209,{ 659.75, 0.955, 9.056, 0.014}}, // 350 < m_jj < 700
{210,{ 659.75, 0.955, 9.056, 0.014}}, // 350 < m_jj < 700
{211,{ 318.83, 0.937, 4.820, 0.015}}, // 700 < m_jj < 1000
{212,{ 318.83, 0.937, 4.820, 0.015}}, // 700 < m_jj < 1000
{213,{ 275.94, 0.921, 4.481, 0.016}}, //1000 < m_jj < 1500
{214,{ 275.94, 0.921, 4.481, 0.016}}, //1000 < m_jj < 1500
{215,{ 251.33, 0.899, 4.798, 0.019}}, // m_jj > 1500
{216,{ 251.33, 0.899, 4.798, 0.019}}, // m_jj > 1500
// pTH > 200
{210,{ 45.72, 0.927, 0.807, 0.018}}, // 350 < m_jj < 700
{221,{ 45.72, 0.927, 0.807, 0.018}}, // 350 < m_jj < 700
{211,{ 37.91, 0.907, 0.647, 0.017}}, // 700 < m_jj < 1000
{222,{ 37.91, 0.907, 0.647, 0.017}}, // 700 < m_jj < 1000
{212,{ 44.03, 0.883, 0.765, 0.017}}, //1000 < m_jj < 1500
{223,{ 44.03, 0.883, 0.765, 0.017}}, //1000 < m_jj < 1500
{213,{ 55.99, 0.851, 1.165, 0.022}}, // m_jj > 1500
{217,{ 45.72, 0.927, 0.807, 0.018}}, // 350 < m_jj < 700
{218,{ 45.72, 0.927, 0.807, 0.018}}, // 350 < m_jj < 700
{219,{ 37.91, 0.907, 0.647, 0.017}}, // 700 < m_jj < 1000
{220,{ 37.91, 0.907, 0.647, 0.017}}, // 700 < m_jj < 1000
{221,{ 44.03, 0.883, 0.765, 0.017}}, //1000 < m_jj < 1500
{222,{ 44.03, 0.883, 0.765, 0.017}}, //1000 < m_jj < 1500
{223,{ 55.99, 0.851, 1.165, 0.022}}, // m_jj > 1500
{224,{ 55.99, 0.851, 1.165, 0.022}}, // m_jj > 1500
};

Expand Down

0 comments on commit 566afa8

Please sign in to comment.