14 int TESqrtMin,
int TESqrtMax )
15 : m_xsSigmaScale(XSSigmaScale),
16 m_xsSigmaOffset(XSSigmaOffset),
19 m_TESqrtMin(TESqrtMin),
20 m_TESqrtMax(TESqrtMax)
37 int TESqrtMin,
int TESqrtMax) {
39 checkValueRange(XEmin, XEmax, TESqrtMin, TESqrtMax);
41 m_xsSigmaScale = XSSigmaScale;
42 m_xsSigmaOffset = XSSigmaOffset;
45 m_TESqrtMin = TESqrtMin;
46 m_TESqrtMax = TESqrtMax;
51 int & XEmin,
int & XEmax,
52 int & TESqrtMin,
int & TESqrtMax)
const {
54 XSSigmaScale = m_xsSigmaScale;
55 XSSigmaOffset = m_xsSigmaOffset;
58 TESqrtMin = m_TESqrtMin;
59 TESqrtMax = m_TESqrtMax;
65 std::cout <<
indent <<
" METSigParam:" << std::endl;
66 std::cout <<
indent <<
" xsSigmaScale : " << m_xsSigmaScale << std::endl
67 <<
indent <<
" xsSigmaOffset: " << m_xsSigmaOffset << std::endl
68 <<
indent <<
" xeMin : " << m_XEmin << std::endl
69 <<
indent <<
" xeMax : " << m_XEmax << std::endl
70 <<
indent <<
" teSqrtMin : " << m_TESqrtMin << std::endl
71 <<
indent <<
" teSqrtMax : " << m_TESqrtMax << std::endl;
77 int width = indentLevel*indentWidth;
78 if(
width!=0) xmlfile << std::setw(
width) <<
" ";
80 xmlfile <<
"<METSignificance"
81 <<
" xeMin=\"" << m_XEmin <<
"\""
82 <<
" xeMax=\"" << m_XEmax <<
"\""
83 <<
" teSqrtMin=\"" << m_TESqrtMin <<
"\""
84 <<
" teSqrtMax=\"" << m_TESqrtMax <<
"\""
85 <<
" xsSigmaScale=\"" << m_xsSigmaScale <<
"\""
86 <<
" xsSigmaOffset=\"" << m_xsSigmaOffset <<
"\""
92 std::stringstream outsideValues;
94 outsideValues <<
"METSigParam: the following values are out of range [0:63]:";
95 if( XEmin<0 || XEmin>63) {
96 outsideValues <<
" XEmin (" << XEmin <<
")";
99 if( XEmax<0 || XEmax>63) {
100 outsideValues <<
" XEmax (" << XEmax <<
")";
103 if( TESqrtMin<0 || TESqrtMin>63) {
104 outsideValues <<
" TESqrtMin (" << TESqrtMin <<
")";
107 if( TESqrtMax<0 || TESqrtMax>63) {
108 outsideValues <<
" TESqrtMax (" << TESqrtMax <<
")";
113 throw std::range_error(
"");