
\newenvironment{cfigure}[1][tbp]{\begin{figure}[#1]\centering}{\end{figure}}

% Careful! If you change this to not begin with a capital letter, it will
% be so even at the beginning of sentences. There may be a smart way
% to get around that, I don't know.
\newcommand{\fig}[1]{Fig.~\ref{#1}}
\newcommand{\tab}[1]{Table~\ref{#1}}
\newcommand{\Fig}[1]{Figure~\ref{#1}}
\newcommand{\Tab}[1]{Table~\ref{#1}}

\newcommand{\robustnote}[1]{\textbf{\textit{#1}}\xspace}
\ifx\nonotes\undefined
\newcommand{\note}[1]{\textbf{\textit{#1}}\xspace}
\else
\newcommand{\note}[1]{\xspace}
\fi

\makeatletter
\@addtoreset{equation}{section}
\renewcommand{\theequation}{\thesection.\@arabic\c@equation}
\makeatother

\newcommand{\twotag}  {2-tag\xspace}
\newcommand{\onetagt} {1-tag(T)\xspace}
\newcommand{\onetagl} {1-tag(L)\xspace}
\newcommand{\zerotag} {0-tag\xspace}

\newcommand{\hminus} {\ensuremath{\mathrm{H}^{-}}\xspace}
\newcommand{\ppbar}  {\ensuremath{p\bar{p}}\xspace}
\newcommand{\ttbar}  {\ensuremath{t\bar{t}}\xspace}
\newcommand{\bbbar}  {\ensuremath{b\bar{b}}\xspace}
\newcommand{\ccbar}  {\ensuremath{c\bar{c}}\xspace}
\newcommand{\qqbar}  {\ensuremath{q\bar{q}}\xspace}
\newcommand{\zll}    {\ensuremath{Z\rightarrow l^{+}l^{-}}}
\newcommand{\zee}    {\ensuremath{Z\rightarrow e^{+}e^{-}}}

\newcommand{\pte}    {\ensuremath{p_{T}^{e}}}
\newcommand{\ptmu}   {\ensuremath{p_{T}^{\mu}}}
\newcommand{\ptnu}   {\ensuremath{p_{T}^{\nu}}}
\newcommand{\ptgam}  {\ensuremath{p_{T}^{\gamma}}}
\newcommand{\ptjet}  {\ensuremath{p_{T}^{\textit{jet}}}}
\newcommand{\ptpart} {\ensuremath{p_{T}^{\textit{parton}}}}
\newcommand{\ptw}    {\ensuremath{p_{T}^{W}}}
\newcommand{\ptz}    {\ensuremath{p_{T}^{Z}}}

\newcommand{\etajet} {\ensuremath{\eta^{\textit{jet}}}}
\newcommand{\etjet}  {\ensuremath{E_{T}^{\textit{jet}}}}
\newcommand{\etaevt} {\ensuremath{\eta_{\textit{evt}}}\xspace}

\newcommand{\et}     {\ensuremath{E_{T}}}
\newcommand{\ex}     {\ensuremath{E_{x}}}
\newcommand{\ey}     {\ensuremath{E_{y}}}
\newcommand{\pt}     {\ensuremath{p_{T}}}
\newcommand{\px}     {\ensuremath{p_{x}}}
\newcommand{\py}     {\ensuremath{p_{y}}}
\newcommand{\pz}     {\ensuremath{p_{z}}}
\newcommand{\met}    {\mbox{$\protect \raisebox{.3ex}{$\not$}\et$}}
\newcommand{\mex}    {\mbox{$\protect \raisebox{.3ex}{$\not$}\ex$}}
\newcommand{\mey}    {\mbox{$\protect \raisebox{.3ex}{$\not$}\ey$}}

\newcommand{\wjets}  {\ensuremath{W+\mathrm{jets}}\xspace}
\newcommand{\chisq}  {\ensuremath{\chi^{2}}\xspace}
\newcommand{\chisqmin}{\ensuremath{\chi^{2}_{\mathrm{min}}}\xspace}
\newcommand{\chisqcut}{\ensuremath{\chi^{2}_{\mathrm{cut}}}\xspace}
\newcommand{\mtop}   {\ensuremath{\mathrm{M}_{\mathrm{top}}}\xspace}
\newcommand{\mreco}  {\ensuremath{\mathrm{M}_{\mathrm{reco}}}\xspace}
\newcommand{\mterr}  {\ensuremath{\delta_{\mtop}}\xspace}
\newcommand{\mterrp} {\ensuremath{\delta_{\mtop}^{+}}\xspace}
\newcommand{\mterrm} {\ensuremath{\delta_{\mtop}^{-}}\xspace}
\newcommand{\runi}   {run~I\xspace}
\newcommand{\runii}  {run~II\xspace}

%
%  Definitions added for the dijet mass constraint version
%
\newcommand{\mjj}    {\ensuremath{\mathrm{M}_{\mathrm{jj}}}\xspace}
\newcommand{\jes}    {\ensuremath{\mathrm{JES}}\xspace}


\newcommand{\genunit}[2]{\ensuremath{#1~\mathrm{#2}}\xspace}
\newcommand{\degrees}[1]{\ensuremath{#1^{\mathrm{o}}}\xspace}
\newcommand{\meters}[1]{\ensuremath{#1~\mathrm{m}}}
\newcommand{\kev}[1] {\ensuremath{#1~\mathrm{keV}}}
\newcommand{\mev}[1] {\ensuremath{#1~\mathrm{MeV}}}
\newcommand{\mevcc}[1] {\ensuremath{#1~\mathrm{MeV}/c^{2}}}
\newcommand{\tev}[1] {\ensuremath{#1~\mathrm{TeV}}}
\newcommand{\gev}[1] {\ensuremath{#1~\mathrm{GeV}}}
\newcommand{\gevnoarg}{\ensuremath{\mathrm{GeV}}}
\newcommand{\gevc}[1] {\ensuremath{#1~\mathrm{GeV}/c}}
\newcommand{\gevcnoarg}{\ensuremath{\mathrm{GeV}/c}}
\newcommand{\gevcc}[1]{\ensuremath{#1~\mathrm{GeV}/c^{2}}}
\newcommand{\gevccnoarg}{\ensuremath{\mathrm{GeV}/c^{2}}}
\newcommand{\invpb}[1]{\ensuremath{#1~\mathrm{pb}^{-1}}}
\newcommand{\invpbnoarg}{\ensuremath{\mathrm{pb}^{-1}}}

\newcommand{\scinot}[2]{\ensuremath{#1\times 10^{#2}}\xspace}

\newcommand{\measErr}[2]{\ensuremath{#1 \pm #2}\xspace}
\newcommand{\measAErr}[3]{\ensuremath{#1~^{+#2}_{-#3}}\xspace}
\newcommand{\measStat}[2]{\ensuremath{#1 \pm #2~\mathrm{(stat.)}}\xspace}
\newcommand{\measAStat}[3]{\ensuremath{#1~^{+#2}_{-#3}~\mathrm{(stat.)}}\xspace}
\newcommand{\measStatSyst}[3]{\ensuremath{#1 \pm #2~\mathrm{(stat.)} \pm #3~\mathrm{(syst.)}}\xspace}
\newcommand{\measAStatSyst}[4]{\ensuremath{#1~^{+#2}_{-#3}~\mathrm{(stat.)}\pm #4~\mathrm{(syst.)}}\xspace}

\hyphenation{cal-o-rim-et-er cal-o-rim-et-ers}

