Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

22
Background Background Subtraction and Subtraction and Likelihood Method Likelihood Method of Analysis: of Analysis: First Attempt First Attempt Jose Benitez Jose Benitez 6/26/2006 6/26/2006

Transcript of Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Page 1: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Background Subtraction Background Subtraction and Likelihood Method of and Likelihood Method of

Analysis:Analysis:First AttemptFirst Attempt

Jose BenitezJose Benitez6/26/20066/26/2006

Page 2: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Part I: Background SubtractionPart I: Background Subtraction

Properties of background:• Hits on non ring pads, where they are not

expected, are seen clearly seen in slot 4. These hits create tails on the Cherenkov angle distribution and make the resolution worse.

• The time distribution of these hits is like that of Cherenkov photons hence we cannot remove them with a time cut.

• The amount of these hits does not grow with photon path length.

Page 3: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Use last property to perform Use last property to perform background subtraction:background subtraction:

Indirect Photons

Direct Photons

beam position 1

Call this the signal.

Call this the background.

Page 4: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Now we should fit accordingly:Now we should fit accordingly:

Important: Background Gaussian must be fixed.

10.8mrad

11.4mrad

Beam Position1: Direct Indirect

• Double Gaussian fit.

•3K events used from Run12.

•“Bad” MCP pad columns cut out.

•Background Parameters: Sigma = 30mrad Mean = 825mrad Norm = 220

Page 5: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

ThetaC Resolution

0

2

4

6

8

10

12

14

0 2 4 6 8 10 12

Photon Path Length (m)

Nar

row

Sig

ma

of

do

ub

le g

auss

ian

fit

(m

rad

) ThetaC resolution as function of ThetaC resolution as function of

photon path length after photon path length after background removal:background removal:

BABAR 9.6mrad

2-3 mrad growth with path length has been removed!

Conclusion: Background subtraction is necessary for our data.

Page 6: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Step 0: Determine the beta resolution BABAR has from it’s thetaC resolution in order to have a reference to compare to.

Step 1: Construct a PDF which describes our data.

Step 2: Determine the parameters of the PDF.

Step 3: Use the PDF to determine beta for each photon detected.

Step 4: Fit the beta distribution to determine our resolution; background subtraction will be used.

Part 2: Likelihood method of analysis which incorporates the TOP measurement.Note: Rather than trying to determine a correction to the measured theta it is morelogical to measure beta, as will be seen from this method, when both theta and TOP are known for each photon.

Page 7: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Step 0: BABAR beta resolutionStep 0: BABAR beta resolution

)cos(

1

n

dv

dn

nvddPDF g

1

222

1)

11(

)cos()(

1

n <nm <n>=1.469

mrad

x10-3

Page 8: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Step1: Construction of a PDFStep1: Construction of a PDFPhysics:Known properties of Cherenkov radiation:• Distribution of photons:

Where is restricted to the range where n() > 1, and is the speed of the particle which produced the radiation in a medium with index of refraction n() .

• Correlation of wavelength with theta is exact:

The number of photons emitted also depends on , hence Cherenkov radiation is described by a 2D distribution N().

What is the functional form of this 2D distribution?

222

1

)(

11)(

nN

)(

1)cos(

n

Page 9: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

• Since the correlation of theta with lambda is exact the 2D distribution must be the following:

• This relation now combines the previous two equations into one.• There exists a more rigorous way of deriving it.• The delta function confines the probability to a very narrow

region/curve of the theta-lambda plane defined by the Cherenkov equation in order to retain the exact correlation.

• The factor of n is there because we must require that

Do the math!

))cos()(1()(1

)(

11),(

))cos()(1()()(),(

222

nnn

N

nnNN

dNN )sin(),()(!

Page 10: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Measurement:Measurement:

• N(is the PDF for an ideal detector which could measure both theta and lambda with no error and with perfect ( independent) efficiency.

• For a detector which measures theta and lambda with gaussian errors (and and has a dependent efficiency the PDF can be constructed by convolution with Gaussians and multiplication by the known efficiency :

ddeeNPDF )sin()(),(),(

2

2

2

2

max

min

2

)(

2

)(

Page 11: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

We must determine the effciency We must determine the effciency distribution:distribution:

Double Gauss Fit

•Normalization is not important.

•Shape does not change drastically

use same distribution for all photons

Limits on wavelength integral:

min=3000A

max=6500A

Page 12: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Is the Theta error Gaussian?Is the Theta error Gaussian?• Our data does not have a nice Gaussian distribution in theta. I believe this

has to do with non-uniform illumination plus insufficient coverage.

• Consider toy model for our measurement setup:

Non-Uniform illumination :

Uniform illumination:

Pixelated Distribution

Gaussian Distribution

Single ring with 5mrad width.

Many rings with 5mrad width.

Error on Theta will be Gaussian.

Page 13: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

• Problem: Unfortunately we cannot use this PDF because of the method we use to measure lambda:

When the resolution in ng becomes bad there are too many measurements which cannot be converted into a lambda because the map between lambda and ng saturates at about ng=1.44; any measurements of ng below this value do not have a corresponding value of lambda. Furthermore the error on lambda is by far not Gaussian.

)(1 ggg nnv

cn

T

Lv

Group index vs. wavelength

Beam Position 1 Direct Photons

Page 14: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

• However this does not pose a real problem in this likelihood method because we can rewrite the PDF in terms of the photon speed v since there is a one-to-one map between v and lambda:

• Note we have acquired a new factor ddv from the Jacobian of the transformation. • Finally, the PDF becomes:

)()()(

)( 1

v

cnv

n

cv g

g

Polynomial Fit

)(

2221

))()(cos()(1

)(

11),(

)),((),(),(

v

cng

dv

dnn

nvN

vNvNN

vddeevvNvPDF

vPDFPDF

v

vvv

v

)sin())((),(),(

),(),(

2

2

2

2max

min

2

)(

2

)(

Limits on velocity integral:

min=v(min)

max=v(max)

(ng)=ng-1

Page 15: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

• Since we measure the speed of the photons as

and the errors on L and T appear to be Gaussian it follows that the error on v is Guassian. So we have solved both of our previous problems by working on the -v plane.

• We must determine our resolutions and by projecting the PDF onto the theta and v axes and fitting it to our data:

• These fits are done by trial and error so they are not optimized, however our beta resolution will turn out to be almost independent of these parameters. These parameters are likely to important when doing PID

T

Lv

Data is from

Beam Position 1 Indirect Photons

Projections of the PDF: ~9mrad , =9x10-3

Step 2: Determination of the PDF parameters:

Page 16: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Check PDF at perfect Theta and V Check PDF at perfect Theta and V resolutionresolution

PDF with parameters :

~.5mrad , =.5x10-3

(rad)

v/c

Theta Projection

Velocity Projection

RMS~8.5x10-3

RMS~3.7mrad

Page 17: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Measurement of velocity resolution Measurement of velocity resolution as a function of photon path length:as a function of photon path length:

T

Lv

22

TLv TL

v

T

Lv

Growth is due to the increasing relative error in time measurement, the saturation comes from the constant relative error in the path length.

•Used new pad angle assignments and slot dependent time epsilons from Joe. There is some help from the epsilons but it is not significant.

•There is significant help from using total photon path length rather than just the bar path length.

66.vv22

T

Lv L

v

Lv

LoftindependeniskLk

ZL

z

kL

z

z 0

L/L ~ 1.3%

T ~ 285ps

Page 18: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

2D Plot of the PDF Assuming the following parameters:

~9mrad =9x10-31

Data From Beam Position 1 Indirect photons PDF(, v)

PDF follows curve which is determined by Cherenkov Equation

))((

1)cos(

vn

Page 19: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Step3: Determination of beta for each photon using the PDF.

• Each photon is described by the angle and velocity v.

•To find the beta which produced this photon we scan beta from some minimum to some maximum value and feed our two measurements into the PDF for each beta. The PDF assigns a probability to each value of beta and we take the beta with the largest probability.

Example:

(r

ad)

Measurement 1

=.97 Measurement 2

=?

Terminal point v~.68

Using the PDF these lines are smeared and Measurement 2 is not cut out.

Page 20: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Step4: Fit beta distribution.•Apply Background Subtraction.

x10-3x10-3

Beam Position 1 Indirect photons.

Background Gaussian must be fixed. •Background Parameters: Sigma = 30x10-3

Mean = 1.004 Norm = 250

• Double Gaussian fit.

•3K events used from Run12.

•“Bad” MCP pad columns cut out.

Page 21: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

Beta Resolution as a function of Beta Resolution as a function of photon path length:photon path length:

Beta Resolution Background Subtracted

0

2

4

6

8

10

12

14

16

0 2 4 6 8 10 12

Photon Path Length (m)

Nar

row

Sig

ma

Of D

oubl

e G

aus

Fit x

10^3

Using <n>

Likelihood results

Chromatic Correction To Beta Distribution

-1

-0.5

0

0.5

1

1.5

2

2.5

0 2 4 6 8 10 12

Photon Path Length (m)D

iffer

ence

in S

igm

aBet

a x1

0^3

BABAR 10.4x10-3

Page 22: Background Subtraction and Likelihood Method of Analysis: First Attempt Jose Benitez 6/26/2006.

ConclusionsConclusions

• Background subtraction is very powerful. If we would let the background Gaussian be bigger the signal resolution would be even better possibly as good as BABAR.

• A PDF which describes our data has been constructed. The only problem is that our data does not have a Gaussian error; however when the detector plane is uniformly illuminated the error will become Gaussian.

• Our current resolution on the photon velocity is higher than expected for a TOP resolution of 100ps and a path length resolution of 1%. The saturation in the v resolution appears to indicate that the path length resolution is actually worse.

• The main advantage of the likelihood method is that it provides a function into which we can feed our measurements without having to cut out any photons independent of the resolution in v (or ng).

• A clear chromatic correction is seen when we use the likelihood method.