Top Banner
INFN GEM Cosmic Ray Analysis Status Andrew Puckett University of Connecticut GMN GEM Meeting 12/12/2019
23

INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Nov 13, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

INFN GEM Cosmic Ray Analysis Status

Andrew PuckettUniversity of Connecticut

GMN GEM Meeting12/12/2019

Page 2: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Outline

• Decoded data format: “Hit” ROOT files• Hit reconstruction: Clustering algorithm• Tracking• Alignment• Spatial Resolution• Track-based efficiency• Event display• Path forward

11/13/19 SBS GMN-GEM meeting 2

Page 3: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

INFN four-layer cosmic ray test stand, Nov. 2018

11/13/19 SBS GMN-GEM meeting 3

Trigger Scintillators

yx

z

Page 4: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Decoded Data Format—”Hit” ROOT Files

11/13/19 SBS GMN-GEM meeting 4

• “evtID” = event ID number• “nch” = number of strips fired, AFTER common-mode subtraction, zero suppression• “detID” = module number• “planeID” (0 or 1): 0 (1) = Y (X) strips (measuring horizontal (vertical) coordinate)• “strip” = strip fired• adc0,1,2,3,4,5: ADC samples

Page 5: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Hit Reconstruction: Clustering algorithm

11/13/19 SBS GMN-GEM meeting 5

1. Filter strips by requiring the max. ADC sample on a strip and the sum of all samples on a strip to be above some user-adjustable thresholds.

2. From remaining strips, select candidate “pixels” (combinations of one X and Y strip) based on Pearson correlation coefficient between individual ADC samples on X and Y strips, which ranges between -1 and 1

a) This statistic measures the degree of ADC and time correlation between X and Y strips, and seems to have good efficiency and discrimination

3. Using the “pixel” with largest correlation coefficient as a seed, add nearest neighbor X (Y) strips to the (2D) cluster, provided their best matches in Y (X) are also within +/- 2 strips of the current “pixel” and their correlation coefficients with their “best matching” strips exceed some user-adjustable threshold. Repeat this process left/right/up/down from the current pixel until we run out of new strips. Increment “pixels” in the order in which they are added to the cluster

4. Mark strips added to the cluster as used and repeat until we run out of unused strips

5. Once we are done adding strips, compute the “cluster correlation coefficient” which is the same as the strip correlation coefficient, except that we sum the ADC values of all X/Y strips in the cluster for each sample, then compute 𝜌 for the “cluster summed samples”.

6. Optionally filter clusters based on ADC asymmetry and X-Y time difference.

⇢ ⌘16

P5i=0 ADCXiADCYi � µxµy

�x�y

µx ⌘ 1

6

X

i

ADCXi

µy ⌘ 1

6

X

i

ADCYi

�2x ⌘ 1

6

X

i

(ADCXi)2 � µ2

x

�2y ⌘ 1

6

X

i

(ADCYi)2 � µ2

y

�1 ⇢ 1<latexit sha1_base64="naBHdfb4koCs7rS+C/r1uMf7fkA=">AAADYXicjVJBb9MwFHaTAVtgWzeOu1hUTANpVVJgGwekoXHgOCS6taq7yHGd1prtZLYzFkX5k9y4cOGP4KRZKRsCnmS/T+9973v204tSzrTx/W8tx1158PDR6pr3+Mn6xmZ7a/tMJ5kitE8SnqhBhDXlTNK+YYbTQaooFhGn59HlSZU/v6ZKs0R+NnlKxwJPJYsZwcaGwq3WFxTRKZMFvZJYKZy/LD0IkZolcBfRq4xdw12IYoVJMb+Dsjgokc5EWLB3fnnxBr7/cDIIWeWG1u1DJLLwpr7zskCaTQUObxqflxChqkHNudvhlza7VV2w83+xhwt20/Ki99eSvXmHF5bWvNmiZYH8PwSGywL5rcB+ABGntrgeY40DD1E5WZpy2O74Xb82eB8EDeiAxk7D9lc0SUgmqDSEY61HgZ+acYGVYYTT0kOZpikml3hKRxZKLKgeF/WGlPC5jUxgnCh7pIF1dLmiwELrXESWKbCZ6bu5Kvin3Cgz8dG4YDLNDJVk3ijOODQJrNYNTpiixPDcAkwUs2+FZIbtKI1dSq8ewtvKDhZfvg/Oet3gVff1p17nuNeMYxXsgGdgDwTgEByDj+AU9AFpfXdWnHVnw/nhrrltd3tOdVpNzVPwm7k7PwFDBget</latexit>

Page 6: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

INFN GEM events, cosmic run 3805 (450k events)

11/13/19 SBS GMN-GEM meeting 6

0.5- 0.0 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5Layers with at least one strip fired in X and Y

0

20

40

60

80

100

120

140

160

180

200

220310´

Page 7: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Strips fired and clusters per layer per event

11/13/19 SBS GMN-GEM meeting 7

• These plots are for events with at least 3/4 layers with at least one X and Y strip firing (in the same module)

Page 8: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Cluster sizes

11/13/19 SBS GMN-GEM meeting 8

• These cluster size distributions are obtained for clusters on good tracks

Page 9: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

ADC and Time correlations, I

11/13/19 SBS GMN-GEM meeting 9

• These distributions are for all clusters on good tracks, without any explicit cuts applied.

Page 10: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Time and ADC correlations, II

11/13/19 SBS GMN-GEM meeting 10

• Bottom left: cluster correlation coefficient between X and Y time samples, summed over all strips in cluster sample-by-sample, clusters on good tracks

• Bottom right: correlation coefficient between X and Y strips used to “seed” the cluster (based on local maximum of correlation coefficient)

Page 11: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Tracking• Cosmic ray tracking is done by “educated brute force”, “Kalman Filter-like” approach:

• Consider all possible reconstructed 2D hits in first layer• For each hit in first layer, consider all possible hits in second layer compatible with a straight-line track with "#

"$≤ 1, "(

"$≤ 1 (or other user-adjustable maximum slope along x and y).

• Third and subsequent layers: for each potentially valid hit combination from the first N-1 layers, consider all hits in layer N falling within some reasonable distance from straight-line projection based on the first N-1 layers; update track parameters ”on the fly” with each new hit added (i.e., “evolve the state”)

• Prefer four-plane tracks initially, if no four-plane track is found with acceptable 𝜒2, reduce number of required hits to 3 and try again: • When number of layers required on current tracking iteration is less than the total number of layers with

available hits, we test all possible combinations of k<N layers chosen from among N layers so that we don’t bias the search in favor of some tracking layers over others.

• Analysis rate on INFN cosmic data ~1-2 kHz, depending on thresholds/cuts applied at the clustering stage; • Based on experience so far, analysis time for cosmic data is dominated by the clustering algorithm, NOT by

track-finding. • However, I don’t have quantitative analysis to back this up; need to measure time spent in clustering and

track-finding routines.

• This approach should scale to high-rate tracking, assuming the implementation of constraints from other detectors (calorimeters, CDET, GRINCH, hodoscope, etc) to limit the search region for clusters/tracks before 2D clustering. Such constraints are natural to implement within this approach

11/13/19 SBS GMN-GEM meeting 11

Page 12: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Alignment

11/13/19 SBS GMN-GEM meeting 12

(xg, yg, zg) = Global hit coordinates

(xl, yl, zl = 0) = Local hit coordinates (internal to module)

(x0, y0, z0) = Global coordinates of module center

(↵x,↵y,↵z) = Rotational o↵sets of module wrt global coordinate system<latexit sha1_base64="TuibjtTQxO6yVjFks1yWmXzgRv8=">AAADRnicbZLPb9MwFMedjB+j/FgHRy4WFVOHpiotiB+HSZM4wIHDQHSb1FSR47yk1hw72A40i/rXceHMjT+BCwcQ4ordhtGue5Kjr97z9+OXZ8cFZ9oEwTfP37hy9dr1zRutm7du39lqb9890rJUFIZUcqlOYqKBMwFDwwyHk0IByWMOx/HpS1c//ghKMynem6qAcU4ywVJGibGpaNsLwxgyJmr4IIhSpHo0a2HcnUbZHq7c5yzKdvHO/g4ODUxNjV9xGROOJ8xgKqVKmCAG9AyH4cLHnY87H8f7OFjxvpF03Yq7TBhQwlaMxLlMSg67/3mB4wWOF1zWxzJIpo0dU3DIf5CQ8GJCoukeblR1rs5WmO+kmY/FcmWaajDLzBDyYlJ/UmaGs4tnY11pA/msFYJIlkYZtTtBL5gHXhf9RnRQE4dR+2uYSFrmtn/KidajflCYcU2UYZSD5ZcaCkJPSQYjKwXJQY/r+TOY4Yc2k+BUKruEm7HNLjtqkmtd5bHdmRMz0RdrLnlZbVSa9Pm4ZqIoDQi6OCgt5/fl3hROmAJqeGUFoYrZXjGdEEWovQTdmg/hhYun57+8Lo4Gvf7j3pO3g87BoBnHJrqPHqAu6qNn6AC9RodoiKj32fvu/fR++V/8H/5v/89iq+81nntoJTbQX2BsBxM=</latexit>

• Linearized equations for local/global coordinate transformation:

• Assume rotational offsets of modules are small enough that we can treat all cosines as 1, sines as the angles themselves

• Determine offsets and rotations for each module by solving a (linear) system of equations for the offsets that minimize 𝜒2 defined in terms of track residuals

• Set up and invert a matrix, easy-peasy. • Iterate the process until the changes on subsequent iterations are smaller than the stat.

uncertainties. • Re-run reconstruction with new offsets, tighter 𝜒2 cut for tracking, lather, rinse, repeat.

Page 13: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Example Good Alignment Result

11/13/19 SBS GMN-GEM meeting 13

• Fixed some bugs in alignment code to improve quality of solutions: • On each iteration, fit the changes in each parameter relative to

the previous iteration (or starting solution), which improves convergence, stability of solutions.

• Previous alignment found a false solution that gave small tracking residuals while having the modules within the same layer too close to each other; not enough “dead area” between adjacent modules within the same layer; unphysical overlap along the “X” axis.

• Good starting point is essential for convergence to a “correct” solution

Page 14: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Tracking results after alignment

11/13/19 SBS GMN-GEM meeting 14

• Naïve, global average per-layer detection efficiency based on ratio of 3-hit/4-hit tracks is ~84%. Local efficiency in ”good” regions of active area is close to 100%.

• Global average track reconstruction efficiency for events with at least one 2D hit reconstructed in at least 3/4 tracking layers is ~86%.

𝜎 = 0.15 𝑚𝑚assumed in 𝜒0calculation

Page 15: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Tracking residuals

11/13/19 SBS GMN-GEM meeting 15

• After software alignment, Gaussian fit to FWHM of tracking residuals gives (𝝈𝒙, 𝝈𝒚) = (𝟏𝟑𝟒 𝝁𝒎 , 𝟏𝟐𝟑 𝝁𝒎). Some additional improvement possible with more sophisticated hit position reconstruction (currently just simple ADC-weighted average strip position). Modest additional analysis needed to derive “intrinsic” spatial resolution from tracking residuals and details of detection geometry

Page 16: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Track-Based Efficiency (INFN cosmic run 3805)

11/13/19 SBS GMN-GEM meeting 16

• Divide each layer into coarse XY binning so that we have on average ~few hundred events/bin• Then for each track falling in that bin, ask if there was a hit on that track in that bin. • Ratio of “Did hit”/”Should hit” gives local efficiency• After bug fixes and improved alignment, ”good” regions of GEM active area are >95% efficient, and “dead areas” between modules are more

clearly visible. • Fourth (top) layer shows clearly lower efficiency, could be related to gas flow issue during this run…

Page 17: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Hit Maps, Run 3805

11/13/19 SBS GMN-GEM meeting 17

• Distribution within each layer of reconstructed hit coordinates, showing dead areas/shorted sectors/etc.

• “Stripe” at y = 100 mm in layer 3 is caused by trigger bias; gap between trigger scintillators above GEMs.

Page 18: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Cosmic Ray Event display examples, I

11/13/19 SBS GMN-GEM meeting 18

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 0

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 1

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 2

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 3

• Pink “x” = reconstructed hit position

• Black “+” = reconstructed track position at layer

• Stripes = all strips fired by module, color-coded by ADC value

Page 19: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Cosmic Ray Event display examples, II

11/13/19 SBS GMN-GEM meeting 19

• Pink “x” = reconstructed hit position

• Black “+” = reconstructed track position at layer

• Stripes = all strips fired by module, color-coded by ADC value

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 0

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 1

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 2

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 3

Page 20: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Cosmic Ray Event display examples, III

11/13/19 SBS GMN-GEM meeting 20

• Pink “x” = reconstructed hit position

• Black “+” = reconstructed track position at layer

• Stripes = all strips fired by module, color-coded by ADC value

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 0

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 1

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 2

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 3

Page 21: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Cosmic Ray Event display examples, IV

11/13/19 SBS GMN-GEM meeting 21

• Pink “x” = reconstructed hit position

• Black “+” = reconstructed track position at layer

• Stripes = all strips fired by module, color-coded by ADC value

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 0

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 1

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 2

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 3

Page 22: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Cosmic Ray Event display examples, V

11/13/19 SBS GMN-GEM meeting 22

• Pink “x” = reconstructed hit position

• Black “+” = reconstructed track position at layer

• Stripes = all strips fired by module, color-coded by ADC value

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 0

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 1

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 2

200- 150- 100- 50- 0 50 100 150 200

800-

600-

400-

200-

0

200

400

600

800

Layer 3

Page 23: INFN GEM Cosmic Ray Analysis Status...INFN four-layer cosmic ray test stand, Nov. 2018 11/13/19 SBS GMN-GEM meeting 3 Trigger Scintillators y x z

Path forward

• Put all this code into “production” software tools (SBS-offline repo) for UVA EEL cosmic setup, other test data, for final experiment setup.• Deploy, test, and optimize these algorithms for

high-rate tracking in BigBite/GMN/GEN-RP with simulated, digitized data.• Eric already has the digitization machinery and

simulation output; should be able to test the performance of my tracking algorithms under various background conditions.• First test case: GMN

11/13/19 SBS GMN-GEM meeting 23