Plots for the ARC of HCAL CRAFT paper CFT-09-018

In response to specific comments received on Sat. Sept. 26, 2009. The comments and line numbers refer to version v5 of the paper specifically.

Comment #55: "Equation 2: Sasha has a question:"

...related to the correctness of Equation 2.

   \begin{split}  \langle A_i \rangle_{S_{j}} = \int_T^{T+25ns}P_j(t)dt , \\  \langle A_i \rangle_{S_{j+1}} = \int_T^{T+25ns}P_{j+1}(t)dt   \end{split}

where

   \begin{gather}   $i$ = \textrm{bin number}, \\   $j$ = \textrm{subsample number (index of TDC phase)}, \\  \langle A_i \rangle_{S_{j}} = \textrm{amplitude at bin }$i$\textrm{ for data subsample }$j$\textrm{ (i.e. has TDC phase }$j$\textrm{), and} \\  $T$ = $i$\times25 \textrm{ns.}   \end{gather}

The key is that $P_{j+1}(t) = P_j(t+\Delta t)$ (shifting the pulse earlier in time, or "to the left"), $\Delta t \simeq 0.8ns$, the TDC bit resolution - i.e., you're integrating the same pulse shifted by a phase. So adjust the integration limits:

   \begin{eqnarray}  \begin{split}  \langle A_i \rangle_{S_{j+1}}-\langle A_i \rangle_{S_{j}}& = \int_T^{T+25ns}P_{j+1}(t)dt - \int_T^{T+25ns}P_j(t)dt \\  & =  \int_{T+\Delta t}^{T+25ns+\Delta t}P_j(t)dt - \int_T^{T+25ns}P_j(t)dt \\  & = \int_{T+25ns}^{T+25ns+\Delta t}P_j(t)dt - \int_T^{T+\Delta t}P_j(t)dt \\  & = \Delta t\textrm{-sized sliver of P(t) entering the window at T+25ns} - \\   &   \Delta t\textrm{-sized sliver of P(t) leaving the window at T}   \end{split}   \end{equation}

You're left with two terms representing two pieces of the pulse at the beginning and end of the interval. Prior to the start of the pulse you define $P(t)$ to be 0, so for the first sample with a pulse just entering in from the right the second term is 0 and you only have the first term. This is the piece represented in the document, modulo a variable substitution to get the range right. After 32 phases (25ns-worth), you have to start subtracting out the piece of the pulse that left that 25ns bin (the second term above), but that's a detail the paper probably doesn't need.

Comment #62: "Line 115: Since in a sense this is the basic result, a figure would really be nice….

Response: Here is the plot that has been traditionally associated with the 1.2 ns resolution result. It comes from a position scan of an HB wedge over 64 cells (4phix16eta) with a 150 GeV pion beam.

  • Fundamental resolution of HCAL barrel/endcap for 150 GeV pions:
    pi-pscan-sidebyside.png

Comment #113: Fig 10: Don’t understand how you get Filtered/Unfiltered ratios >1

Response: The key to understanding this whole method is to understand that the total number of events in the MET distribution is "conserved". The method does not throw out events, it only throws out calorimetric "hits" contributing to the MET calculation for that event, if they are "out-of-time."

So when the filter efficiency is as high as it is, you start to see effects that combine with the fluctuations from low statistics (see response to comment #116 below). Eliminating one rechit on the basis of time can reduce or increase MET in a particular bin. The following plots zoom in on a region that exhibits such a fluctuation.

  • Zoomed in to QCD sample to see fluctuations:
    zoominqcd.png

Comment #116: "Fig 10: better binning of all plots. The middle right plot has discontinuity at 500 & 700 GeV which does NOT appear to be a statistical fluctuations. Is it a normalization problem?"

Response: Assume “all” refers to all plots within the figure. Assume “better” means “smaller number of”. The discontinuities are a result of statistical fluctuations and not mis-normalization. Recall that the middle plots are generated by integrating “to the right” of a threshold that is itself swept from left to right in the top plots. This smooths out the statistical fluctuations seen there. As the threshold approaches a high fluctuation (while the distribution is dropping), the fluctuation gains more prominence in the integral until it dominates. Once the threshold passes the fluctuation the integral drops drastically.

Here are plots of the individual bins stacked together and plotted separately (the samples were all normalized to $\int\mathcal{L}dt=100 \textrm{pb}^{-1}$). You can see that the source of the spikes are individual events from each sample.

  • Summer08 QCD MET distribution - Pt bins stacked together:
    QCDstacked.png

  • Summer08 QCD MET distribution - Pt bins plotted separately:
    QCDperbinMET.png

A potential solution was arrived at during the ARC review. As the QCD Pt bins are "hadd-ed" together, weight the samples by the statistical error in each bin. So as an example drawn from the problematic dataset above, zoom in to the Pt=170 GeV sample (which has two high MET fluctuations around 500 GeV) and the Pt=470 GeV sample (which contributes the most statistics around 500 GeV):

scaledVsUnscaled.png

To simplify, round the numbers as follows:

  • Pt=170 GeV sample has $1\pm1$ event scaled by a factor of $\sim2 \simeq 2\pm2$ events
  • Pt=470 GeV sample has $10\pm\sqrt{10}$ events scaled by a factor of $ .01\simeq 0.1\pm\frac{\sqrt{10}}{100}$

Form the weighted average using 1/(error)^2 as the weights:

  \begin{eqnarray}  A=\frac{2}{2^2} + \frac{0.1}{(\frac{\sqrt{10}}{100})^2} = \frac{1}{2} + 100 \\  B=\frac{1}{2^2} + \frac{1}{(\frac{\sqrt{10}}{100})^2} = \frac{1}{4} + 1000 \\  \textrm{Value at bin 500 !GeV} = \frac{A}{B} \pm \frac{1}{\sqrt{B}} = \frac{100.5}{1000.25} \pm \frac{1}{\sqrt{1000.25}} = 0.1005\pm0.0316,  \end{eqnarray}

which gives the desired result of being heavily weighted toward the high-statistics sample.

UPDATE: Turns out the above method does not work. The following equations show why:

  \begin{eqnarray} % \begin{split}  S[i] <code>&amp; \textrm{the scaled \# of events in a given bin for sample }i = f_i n[i], \\  \epsilon[i] =&amp; \textrm{the scaled error on }S[i] = f_i\sqrt{n[i]}, \\  f_i =&amp; \textrm{the scale factor for the sample  } = \frac{\sigma_i \int \mathcal{L} dt}{N[i]}, \\  n[i] =&amp; \textrm{number of events in a given bin for sample }i, \\  N[i] =&amp; \textrm{total number of events in sample }i, \\  \textrm{Value in bin} &amp;</code> \frac{\displaystyle\sum_{i \in samples}\quad\frac{S[i]}{(\epsilon[i])^2}}{\displaystyle\sum_{i \in samples}\quad\frac{1}{(\epsilon[i])^2}} \\   &amp;= \frac{\displaystyle\sum_{i \in samples}\quad\frac{f_i n[i]}{f_i^2n[i]}}{\displaystyle\sum_{i \in samples}\quad\frac{1}{f_i^2 n[i]}} \\   &amp;= \frac{\displaystyle\sum_{i \in samples}\quad\frac{1}{f_i}}{\displaystyle\sum_{i \in samples}\quad\frac{1}{f_i^2 n[i]}}, % \end{split}  \end{eqnarray}

The scale factor $f_i$ ranges from $10^4$ for $P_T=15$ GeV to $10^{-9}$ for $P_T=3000$ GeV. the highest $P_T$ bin also has the smallest number of events, so that the sums are dominated by this, the lowest probability sample.

 \begin{displaymath}  \textrm{Value in bin} \simeq \frac{\frac{1}{f_{3000}}}{\frac{1}{f_{3000}^2 n[3000]}} = f_{3000}n[3000] = \textrm{Scaled value of bin for }P_T=3000\textrm{ GeV} \end{displaymath}

We next tried a software tool called "KEYS" - "Kernel Estimating Your Shapes" an adaptive kernel-estimating smoother. Here are the results:

  • attempt to smooth QCD using KEYS adaptive kernel estimator:
    qcdrebintrials_jmsmooth.png

-- PhilDudero - 2009-09-28
Latex rendering error!! dvi file was not created.

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng QCDperbinMET.png r1 manage 21.7 K 2009-09-28 - 13:42 UnknownUser Summer08 QCD MET distribution - Pt bins plotted separately
PNGpng QCDstacked.png r1 manage 13.4 K 2009-09-28 - 13:04 UnknownUser Summer08 QCD MET distribution - Pt bins stacked together
PNGpng hta-mc31x-qcdstacked.png r1 manage 11.7 K 2009-09-28 - 14:08 UnknownUser Summer09 QCD MET distribution - Pt bins stacked together
PNGpng pi-pscan-sidebyside.png r1 manage 50.8 K 2009-09-28 - 12:42 UnknownUser Fundamental resolution of HCAL barrel/endcap for 150GeV pions
PNGpng qcdrebintrials_jmsmooth.png r1 manage 24.5 K 2009-10-01 - 09:26 UnknownUser attempt to smooth QCD using KEYS adaptive kernel estimator
PNGpng qcdrebintrials_mc31x.png r1 manage 26.6 K 2009-09-28 - 14:01 UnknownUser QCD Plots for the paper using Summer09 MC31X samples
PNGpng scaledVsUnscaled.png r1 manage 5.2 K 2009-09-29 - 16:18 UnknownUser  
PNGpng zoominqcd.png r2 r1 manage 12.7 K 2009-09-28 - 14:45 UnknownUser Zoomed in to QCD sample to see fluctuations
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r8 - 2009-10-02 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback