SlideShare a Scribd company logo
1 of 1
Download to read offline
The Island Algorithm - A Photon Clusterizer at sPHENIX
Brandon McKinzie, Bi Ran, and Gunther Roland
Laboratory for Nuclear Science, Massachusetts Institute of Technology
Abstract
The sPHENIX detector is a proposed major upgrade to the PHENIX experiment at the Relativistic
Heavy Ion Collider at Brookhaven National Laboratory [1]. The sPHENIX detector will have an
electromagnetic calorimeter (EMCal) to detect the energies of charged particles such as electrons,
positrons, and photons. In order to help identify which region of towers in the EMCal absorbed
the energy deposited by a given particle, this research implemented and analyzed a clustering
algorithm known as the island algorithm. Its performance can be analyzed by running collision
simulations and comparing the algorithm’s outputs with the known energies of the simulated
particles. For simulations of single-particle events, the results indicate close agreement between
the known generated energies and the reconstructed energies from the island algorithm.
Introduction
The collisions at sPHENIX involve protons and/or heavy nuclei traveling near the speed of light. When
particles collide at these high energies, hundreds or even thousands of particles can be produced. The
electromagnetic calorimeter (EMCal) is one of many specialized sub-detectors required to accurately
reconstruct the event information. The EMCal is responsible for collecting the energy and position
information of electrically charged particles that pass through the detector. The EMCal can be seen
in the two figures below as the innermost dark gray ring.
Figure 1: Left: Transverse view of a 10 GeV/c electron in sPHENIX, showing it showering mainly in the EMCal. The particle’s
energy is spread out over a group of towers. The purpose of a clusterizer is to determine which group of towers correspond
to a given single particle. Right: Cross section of the sPHENIX detector indicating the locations of the main sub-detectors.
Image source (both): ref. [1].
This research was focused on implementing an algorithm that, given raw data from the EMCal, could
translate that data into the energies of the particles produced in the collision. What follows is an
outline of the main steps in the algorithm, visualizations of example clusters built by the algorithm,
and an analysis of how well the algorithm reconstructed the energies of certain particles in comparison
with a more primitive clusterizer implementation.
The Island Algorithm
1 Begin by preparing a list of seeds, which are defined as towers with a transverse energy above a
certain threshold.
2 Order the seed list in decreasing energy, then remove seeds that are adjacent to higher energy ones.
3 Starting from the most energetic seed, conditionally assign surrounding towers to its cluster:
1 Search both directions in ϕ, collecting towers until a rise in energy or a hole is encountered.
2 Move one step forward in η. If the tower energy is larger than the previous, or if it is a hole, discontinue η steps in
this direction and move to next step. Otherwise, apply logic in step 3.1 again for this position in η.
3 When forward η steps are complete, do the same in the opposite η direction.
Figure 2: Illustration of the island algorithm. Given the seed tower near the center (dark red square), apply the steps
enumerated above to collect the surrounding towers that will define the associated island cluster. Image source: ref. [2].
Cluster Visualizations
Shown below are visual representations of clusters that were built both by the island algorithm (upper)
as well as a simple 5x5 clusterizer (lower). As its name implies, the 5x5 clusterizer simply, for each seed
tower, defines the associated cluster as all towers (with non-zero energy) in the 5x5 region centered on
the seed. For both clustering algorithms, three example clusters are plotted, one for each simulated
set of (left to right) electron, photon, and pion events. Visually inspecting these output clusters helps
one develop a stronger intuition and understanding of each algorithm’s behavior.
0.04 0.05
0.10 0.36 0.17
0.08 0.23 15.98 2.91 0.10
0.18 0.52 0.42 0.05
0.03
binη
56 58 60 62 64 66 68
binϕ
123
124
125
126
127
128
129
130
131
0
2
4
6
8
10
12
14
Single Electron Event
= 21.22T
Cluster E
= 21.80T
True E
nTowers = 15
0.07
0.11 0.10
0.10 6.92 3.22
0.08 5.37 2.38
0.07 0.03
0.04
binη
60 61 62 63 64 65
binϕ
124
125
126
127
128
129
130
131
0
1
2
3
4
5
6
Single Photon Event
= 18.74T
Cluster E
= 19.60T
True E
nTowers = 16
0.09
0.04 0.29 0.31 0.10
0.05 0.17 3.70 28.22 0.45 0.05
2.97 16.25 0.39 0.05
0.27 0.24 0.15
binη
56 57 58 59 60 61 62 63
binϕ
124
125
126
127
128
129
130
0
5
10
15
20
25
Single Pion Event
= 53.89T
Cluster E
= 56.40T
True E
nTowers = 20
Figure 3: Examples of clusters built with the island algorithm. From left to right, the clusters correspond to an electron,
photon, and neutral pion. Notice how electrons appear to deposit nearly all their energy in a single tower, while pions, which
are known to decay into two photons, are seen to have the bulk of their energy spread over two or more towers. These
visualizations show how the algorithm got its name; the bright yellow squares, the seed towers, appear as an island surrounded
by the residual (lower-energy) towers.
0.21 3.53 0.07
0.07 0.72 7.80 0.16 0.06
0.10 1.02 0.08 0.06
binη
57 58 59 60 61 62 63
binϕ
125
125.5
126
126.5
127
127.5
128
128.5
129
0
1
2
3
4
5
6
7
Single Electron Event
= 13.89T
Cluster E
= 13.80T
True E
nTowers = 12
0.05 0.04
0.06 0.06 0.05
0.05 0.73 6.17 0.12
0.46 4.90 0.04
0.08
binη
56 57 58 59 60 61 62
binϕ
124
125
126
127
128
129
130
0
1
2
3
4
5
6
Single Photon Event
= 12.81T
Cluster E
= 12.80T
True E
nTowers = 13
0.12 0.66 0.22
0.14 2.08 0.51 0.06
0.59 7.80 0.16
0.47 0.93 0.23
0.07
binη
56 57 58 59 60 61 62 63 64 65 66
binϕ
124
125
126
127
128
129
130
0
1
2
3
4
5
6
7
Single Pion Event
= 14.07T
Cluster E
= 14.70T
True E
nTowers = 14
Figure 4: Examples of clusters built with the simple 5x5 clusterizer. From left to right, the clusters correspond to an
electron, photon, and neutral pion. As the amount of background processes increase, this method will become more prone
to overestimating a given particle’s energy, since it will collect all towers in the 5x5 region. It will also exhibit cluster shapes
that would be impossible for the island algorithm, such as the rightmost (pion) cluster. Since the island algorithm first
searches left/right from the seed to determine when to stop, it would never encounter the tower in the lower-right region with
ET = 0.06GeV .
Applying Cuts
Like all clustering algorithms, the island algorithm has its limitations. A common remedy for this is
to apply “cuts,” which are simply conditions required for data that determine whether or not it should
be rejected. For example, since the island algorithm begins by assigning towers with energy above a
predefined threshold, it can erroneously cluster towers that contain nothing but noise (energy from
unwanted background).
Number of Towers in Cluster
0 5 10 15 20 25 30
FractionofEnergyClustered
0
0.2
0.4
0.6
0.8
1
1−
10
1
10
Single Electron Events
Number of Towers in Cluster
0 5 10 15 20 25
FractionofEnergyClustered
0
0.2
0.4
0.6
0.8
1
2−
10
1−
10
1
10
Single Photon Events
Number of Towers in Cluster
0 5 10 15 20 25
FractionofEnergyClustered
0
0.2
0.4
0.6
0.8
1
1−
10
1
10
Single Pion Events
Figure 5: The fraction of the single-particle energy reconstructed in clusters built by the island algorithm, shown as a function
of the number of towers in the cluster. The simulated particles shown are (from left to right) electrons, photons, and neutral
pions. The majority of clusters that severely underestimate the particle’s energy tend to contain less EMCal towers. To
improve performance, then, we apply a cut that rejects any clusters containing fewer than six towers.
Results
Since the goal of both the island algorithm (upper row) and the simple 5x5 clusterizer (lower row)
is to accurately reconstruct the energies of particles that strike the detector, one straightforward
evaluation method is to plot the reconstructed (cluster) energies against the known particle en-
ergies. On all plots, the dotted line of unit slope indicates where an ideal clusterizer would be,
corresponding to an exact match between all true and reconstructed energies. For reasons explored
in the previous section, a cut is applied requiring all clusters to contain at least six towers.
(GeV)T
True Electron E
10 20 30 40 50 60
(GeV)TReconstructedClusterE
10
20
30
40
50
60
0
0.5
1
1.5
2
2.5
3
3.5
4
Island Algorithm
Events
-
Single e
Num Towers > 6
) = (0, 0)ϕ,η(
(GeV)T
True Photon E
10 20 30 40 50 60
(GeV)TReconstructedClusterE
10
20
30
40
50
60
0
0.5
1
1.5
2
2.5
3
3.5
4
Island Algorithm
EventsγSingle
Num Towers > 6
) = (0, 0)ϕ,η(
(GeV)T
True Pion E
10 20 30 40 50 60
(GeV)TReconstructedClusterE
10
20
30
40
50
60
0
0.5
1
1.5
2
2.5
3
3.5
4
Island Algorithm
Events0
πSingle
Num Towers > 6
) = (0, 0)ϕ,η(
Figure 6: Reconstructed particle energies determined by the island algorithm, shown as a function of the known
particle energies. As anticipated, electron and photon events are closely aligned with the ideal dotted line, since these
particles deposit most of their energy in a small region of towers. Neutral pions, however, decay into two photons before
reaching the EMCal. If the splitting angle between the two photons is large enough the island algorithm may cluster the
two photons separately, resulting in two clusters with half the energy.
(GeV)TTrue Electron E
10 20 30 40 50 60
(GeV)T
ReconstructedClusterE
10
20
30
40
50
60
0
1
2
3
4
5
6
7
Simple 5x5 Clusterizer
Events
-
Single e
Num Towers > 6
) = (0, 0)ϕ,η(
(GeV)TTrue Photon E
10 20 30 40 50 60
(GeV)T
ReconstructedClusterE
10
20
30
40
50
60
0
1
2
3
4
5
6
7
8
Simple 5x5 Clusterizer
EventsγSingle
Num Towers > 6
) = (0, 0)ϕ,η(
(GeV)TTrue Pion E
10 20 30 40 50 60
(GeV)T
ReconstructedClusterE
10
20
30
40
50
60
0
1
2
3
4
5
6
7
8
9
Simple 5x5 Clusterizer
Events0
πSingle
Num Towers > 6
) = (0, 0)ϕ,η(
Figure 7: Reconstructed particle energies determined by the simple 5x5 clusterizer, shown as a function of the known
particle energies. Although this clustering method conforms reasonably well to the dotted line for these single-particle
events, it can be seen to overestimate the particle energy far more often than exhibited by the island algorithm. This is
due to the 5x5 clusterizer blindly accepting all towers in a fixed region around the seed, and the number of overestimated
energies will increase as the simulated events become more complex and with increasing background.
Conclusions
The island algorithm is shown to be a reliable clusterizer for single electron, photon, and neutral pion
events. The number of false positives, regions of noise that were erroneously clustered, can be reduced
by cutting on, for example, the minimum number of towers per cluster. A more comprehensive analysis,
one that tests the algorithm using PYTHIA and HIJING samples, is required before this implementa-
tion can be fully integrated within the sPHENIX software framework. However, this research project
succeeded as a proof-of-concept that the island algorithm, ported from the CMS collaboration, could
be a useful contribution to the sPHENIX software framework.
Acknowledgments
I’d like to thank all members of the MIT Heavy Ion Group, in particular Gunther Roland, Bi Ran,
Alex Barbieri, and George Stephans for always being available when I had questions. In addition,
this project would not have been possible without the tremendous help from sPHENIX collaboration
members Jin Huang and Dennis Perepelitsa. Finally, thank you to all members of the MSRP staff
for putting this program together and mentoring the students on how to best prepare for a graduate
education.
References
[1] A. Adare et al., “An Upgrade Proposal from the PHENIX Collaboration,” (2015). arXiv:1501.06197 [nucl-ex]
[2] E. Meschi et al., “Electron Reconstruction in the CMS Electromagnetic Calorimeter,” (2001). CMS-NOTE-2001-034

More Related Content

What's hot

Berkeley lab article for NMR Application
Berkeley lab article for NMR ApplicationBerkeley lab article for NMR Application
Berkeley lab article for NMR ApplicationJoelDsouza81
 
Neutron Skin Measurements at Mainz
Neutron Skin Measurements at MainzNeutron Skin Measurements at Mainz
Neutron Skin Measurements at MainzConcettina Sfienti
 
Chapter2 introduction to quantum mechanics
Chapter2 introduction to quantum mechanicsChapter2 introduction to quantum mechanics
Chapter2 introduction to quantum mechanicsK. M.
 
ResearchStatement2016_v2
ResearchStatement2016_v2ResearchStatement2016_v2
ResearchStatement2016_v2Feng-Kuo Hsu
 
Derivation of Schrodinger and Einstein Energy Equations from Maxwell's Electr...
Derivation of Schrodinger and Einstein Energy Equations from Maxwell's Electr...Derivation of Schrodinger and Einstein Energy Equations from Maxwell's Electr...
Derivation of Schrodinger and Einstein Energy Equations from Maxwell's Electr...iosrjce
 
ENGINEERING PHYSICS -SEMICONDUCTING MATERIALS PROBLEMS KEYS
ENGINEERING PHYSICS -SEMICONDUCTING MATERIALS PROBLEMS KEYSENGINEERING PHYSICS -SEMICONDUCTING MATERIALS PROBLEMS KEYS
ENGINEERING PHYSICS -SEMICONDUCTING MATERIALS PROBLEMS KEYSsunmo
 
Quantum course
Quantum courseQuantum course
Quantum courseFLI
 
Statics presentation ppt(1)
Statics presentation ppt(1)Statics presentation ppt(1)
Statics presentation ppt(1)SrinivasaKalkani
 

What's hot (19)

Perturbation
PerturbationPerturbation
Perturbation
 
Chem 1st LT
Chem 1st LTChem 1st LT
Chem 1st LT
 
Berkeley lab article for NMR Application
Berkeley lab article for NMR ApplicationBerkeley lab article for NMR Application
Berkeley lab article for NMR Application
 
Neutron Skin Measurements at Mainz
Neutron Skin Measurements at MainzNeutron Skin Measurements at Mainz
Neutron Skin Measurements at Mainz
 
Lect02
Lect02Lect02
Lect02
 
4 ReGenX Generator Design Questions
4 ReGenX Generator Design Questions4 ReGenX Generator Design Questions
4 ReGenX Generator Design Questions
 
Electromagnetic Fields-UNIT2_Dipoles
Electromagnetic Fields-UNIT2_DipolesElectromagnetic Fields-UNIT2_Dipoles
Electromagnetic Fields-UNIT2_Dipoles
 
Physics Assignment Help
Physics Assignment HelpPhysics Assignment Help
Physics Assignment Help
 
Chapter2 introduction to quantum mechanics
Chapter2 introduction to quantum mechanicsChapter2 introduction to quantum mechanics
Chapter2 introduction to quantum mechanics
 
Optics part i
Optics   part iOptics   part i
Optics part i
 
Quantum mechanics1
Quantum mechanics1Quantum mechanics1
Quantum mechanics1
 
ResearchStatement2016_v2
ResearchStatement2016_v2ResearchStatement2016_v2
ResearchStatement2016_v2
 
Derivation of Schrodinger and Einstein Energy Equations from Maxwell's Electr...
Derivation of Schrodinger and Einstein Energy Equations from Maxwell's Electr...Derivation of Schrodinger and Einstein Energy Equations from Maxwell's Electr...
Derivation of Schrodinger and Einstein Energy Equations from Maxwell's Electr...
 
Random vibration energy harvesting
Random vibration energy harvestingRandom vibration energy harvesting
Random vibration energy harvesting
 
ENGINEERING PHYSICS -SEMICONDUCTING MATERIALS PROBLEMS KEYS
ENGINEERING PHYSICS -SEMICONDUCTING MATERIALS PROBLEMS KEYSENGINEERING PHYSICS -SEMICONDUCTING MATERIALS PROBLEMS KEYS
ENGINEERING PHYSICS -SEMICONDUCTING MATERIALS PROBLEMS KEYS
 
Advanced Molecular Dynamics 2016
Advanced Molecular Dynamics 2016Advanced Molecular Dynamics 2016
Advanced Molecular Dynamics 2016
 
The Variational Method
The Variational MethodThe Variational Method
The Variational Method
 
Quantum course
Quantum courseQuantum course
Quantum course
 
Statics presentation ppt(1)
Statics presentation ppt(1)Statics presentation ppt(1)
Statics presentation ppt(1)
 

Viewers also liked (7)

BNL_Research_Poster
BNL_Research_PosterBNL_Research_Poster
BNL_Research_Poster
 
SPHENIX Clusterizer Overview
SPHENIX Clusterizer OverviewSPHENIX Clusterizer Overview
SPHENIX Clusterizer Overview
 
Report
ReportReport
Report
 
Toy Model Overview
Toy Model OverviewToy Model Overview
Toy Model Overview
 
BNL_Research_Report
BNL_Research_ReportBNL_Research_Report
BNL_Research_Report
 
Davis_Research_Report
Davis_Research_ReportDavis_Research_Report
Davis_Research_Report
 
EPD_R&D_Proposal
EPD_R&D_ProposalEPD_R&D_Proposal
EPD_R&D_Proposal
 

Similar to FinalPoster_MSRP_BrandonMcKinzie

Using Machine Learning to Measure the Cross Section of Top Quark Pairs in the...
Using Machine Learning to Measure the Cross Section of Top Quark Pairs in the...Using Machine Learning to Measure the Cross Section of Top Quark Pairs in the...
Using Machine Learning to Measure the Cross Section of Top Quark Pairs in the...m.a.kirn
 
Presentacion Bienal Española de Física 2005 "Combined TestBeam a muy bajo pt"
Presentacion Bienal Española de Física 2005  "Combined TestBeam a muy bajo pt"Presentacion Bienal Española de Física 2005  "Combined TestBeam a muy bajo pt"
Presentacion Bienal Española de Física 2005 "Combined TestBeam a muy bajo pt"CARMEN IGLESIAS
 
Electronicdevicescircuits 140517065905-phpapp01
Electronicdevicescircuits 140517065905-phpapp01Electronicdevicescircuits 140517065905-phpapp01
Electronicdevicescircuits 140517065905-phpapp01lecturer in M.I.T
 
MET Energy Resolution in Pileup Minimum Bias Events using 7 TeV LHC Data
MET Energy Resolution in Pileup Minimum Bias Events using 7 TeV LHC DataMET Energy Resolution in Pileup Minimum Bias Events using 7 TeV LHC Data
MET Energy Resolution in Pileup Minimum Bias Events using 7 TeV LHC Datakuhanw
 
Gamma Interactions and Gamma Spectroscopy with Scintillation Detectors
Gamma Interactions and Gamma Spectroscopy with Scintillation DetectorsGamma Interactions and Gamma Spectroscopy with Scintillation Detectors
Gamma Interactions and Gamma Spectroscopy with Scintillation DetectorsDaniel Maierhafer
 
Body travel performance improvement of space vehicle electromagnetic suspensi...
Body travel performance improvement of space vehicle electromagnetic suspensi...Body travel performance improvement of space vehicle electromagnetic suspensi...
Body travel performance improvement of space vehicle electromagnetic suspensi...Mustefa Jibril
 
Neutron Star Powered Nebulae
Neutron Star Powered NebulaeNeutron Star Powered Nebulae
Neutron Star Powered Nebulaejoshualande
 
Zero-point Energy Extraction
Zero-point Energy ExtractionZero-point Energy Extraction
Zero-point Energy ExtractionVapula
 
Unit 1 AS Chemistry Atomic sructure and Periodicity QUICK PEEK
Unit 1 AS Chemistry Atomic sructure and Periodicity QUICK PEEKUnit 1 AS Chemistry Atomic sructure and Periodicity QUICK PEEK
Unit 1 AS Chemistry Atomic sructure and Periodicity QUICK PEEKHarlington Community School
 
An apologytodirac'sreactionforcetheory
An apologytodirac'sreactionforcetheoryAn apologytodirac'sreactionforcetheory
An apologytodirac'sreactionforcetheorySergio Prats
 

Similar to FinalPoster_MSRP_BrandonMcKinzie (20)

Using Machine Learning to Measure the Cross Section of Top Quark Pairs in the...
Using Machine Learning to Measure the Cross Section of Top Quark Pairs in the...Using Machine Learning to Measure the Cross Section of Top Quark Pairs in the...
Using Machine Learning to Measure the Cross Section of Top Quark Pairs in the...
 
finalReport
finalReportfinalReport
finalReport
 
wep153
wep153wep153
wep153
 
1310.1421v3
1310.1421v31310.1421v3
1310.1421v3
 
EM Term Paper
EM Term PaperEM Term Paper
EM Term Paper
 
Presentacion Bienal Española de Física 2005 "Combined TestBeam a muy bajo pt"
Presentacion Bienal Española de Física 2005  "Combined TestBeam a muy bajo pt"Presentacion Bienal Española de Física 2005  "Combined TestBeam a muy bajo pt"
Presentacion Bienal Española de Física 2005 "Combined TestBeam a muy bajo pt"
 
Lab3_final
Lab3_finalLab3_final
Lab3_final
 
Electronicdevicescircuits 140517065905-phpapp01
Electronicdevicescircuits 140517065905-phpapp01Electronicdevicescircuits 140517065905-phpapp01
Electronicdevicescircuits 140517065905-phpapp01
 
Part VIII - The Standard Model
Part VIII - The Standard ModelPart VIII - The Standard Model
Part VIII - The Standard Model
 
MET Energy Resolution in Pileup Minimum Bias Events using 7 TeV LHC Data
MET Energy Resolution in Pileup Minimum Bias Events using 7 TeV LHC DataMET Energy Resolution in Pileup Minimum Bias Events using 7 TeV LHC Data
MET Energy Resolution in Pileup Minimum Bias Events using 7 TeV LHC Data
 
Gamma Interactions and Gamma Spectroscopy with Scintillation Detectors
Gamma Interactions and Gamma Spectroscopy with Scintillation DetectorsGamma Interactions and Gamma Spectroscopy with Scintillation Detectors
Gamma Interactions and Gamma Spectroscopy with Scintillation Detectors
 
HybridUAV
HybridUAVHybridUAV
HybridUAV
 
Body travel performance improvement of space vehicle electromagnetic suspensi...
Body travel performance improvement of space vehicle electromagnetic suspensi...Body travel performance improvement of space vehicle electromagnetic suspensi...
Body travel performance improvement of space vehicle electromagnetic suspensi...
 
Neutron Star Powered Nebulae
Neutron Star Powered NebulaeNeutron Star Powered Nebulae
Neutron Star Powered Nebulae
 
Zero-point Energy Extraction
Zero-point Energy ExtractionZero-point Energy Extraction
Zero-point Energy Extraction
 
Unit 1 AS Chemistry Atomic sructure and Periodicity QUICK PEEK
Unit 1 AS Chemistry Atomic sructure and Periodicity QUICK PEEKUnit 1 AS Chemistry Atomic sructure and Periodicity QUICK PEEK
Unit 1 AS Chemistry Atomic sructure and Periodicity QUICK PEEK
 
en_qu_sch
en_qu_schen_qu_sch
en_qu_sch
 
An apologytodirac'sreactionforcetheory
An apologytodirac'sreactionforcetheoryAn apologytodirac'sreactionforcetheory
An apologytodirac'sreactionforcetheory
 
Hp 16 win
Hp 16 winHp 16 win
Hp 16 win
 
Laser lecture01
Laser lecture01Laser lecture01
Laser lecture01
 

FinalPoster_MSRP_BrandonMcKinzie

  • 1. The Island Algorithm - A Photon Clusterizer at sPHENIX Brandon McKinzie, Bi Ran, and Gunther Roland Laboratory for Nuclear Science, Massachusetts Institute of Technology Abstract The sPHENIX detector is a proposed major upgrade to the PHENIX experiment at the Relativistic Heavy Ion Collider at Brookhaven National Laboratory [1]. The sPHENIX detector will have an electromagnetic calorimeter (EMCal) to detect the energies of charged particles such as electrons, positrons, and photons. In order to help identify which region of towers in the EMCal absorbed the energy deposited by a given particle, this research implemented and analyzed a clustering algorithm known as the island algorithm. Its performance can be analyzed by running collision simulations and comparing the algorithm’s outputs with the known energies of the simulated particles. For simulations of single-particle events, the results indicate close agreement between the known generated energies and the reconstructed energies from the island algorithm. Introduction The collisions at sPHENIX involve protons and/or heavy nuclei traveling near the speed of light. When particles collide at these high energies, hundreds or even thousands of particles can be produced. The electromagnetic calorimeter (EMCal) is one of many specialized sub-detectors required to accurately reconstruct the event information. The EMCal is responsible for collecting the energy and position information of electrically charged particles that pass through the detector. The EMCal can be seen in the two figures below as the innermost dark gray ring. Figure 1: Left: Transverse view of a 10 GeV/c electron in sPHENIX, showing it showering mainly in the EMCal. The particle’s energy is spread out over a group of towers. The purpose of a clusterizer is to determine which group of towers correspond to a given single particle. Right: Cross section of the sPHENIX detector indicating the locations of the main sub-detectors. Image source (both): ref. [1]. This research was focused on implementing an algorithm that, given raw data from the EMCal, could translate that data into the energies of the particles produced in the collision. What follows is an outline of the main steps in the algorithm, visualizations of example clusters built by the algorithm, and an analysis of how well the algorithm reconstructed the energies of certain particles in comparison with a more primitive clusterizer implementation. The Island Algorithm 1 Begin by preparing a list of seeds, which are defined as towers with a transverse energy above a certain threshold. 2 Order the seed list in decreasing energy, then remove seeds that are adjacent to higher energy ones. 3 Starting from the most energetic seed, conditionally assign surrounding towers to its cluster: 1 Search both directions in ϕ, collecting towers until a rise in energy or a hole is encountered. 2 Move one step forward in η. If the tower energy is larger than the previous, or if it is a hole, discontinue η steps in this direction and move to next step. Otherwise, apply logic in step 3.1 again for this position in η. 3 When forward η steps are complete, do the same in the opposite η direction. Figure 2: Illustration of the island algorithm. Given the seed tower near the center (dark red square), apply the steps enumerated above to collect the surrounding towers that will define the associated island cluster. Image source: ref. [2]. Cluster Visualizations Shown below are visual representations of clusters that were built both by the island algorithm (upper) as well as a simple 5x5 clusterizer (lower). As its name implies, the 5x5 clusterizer simply, for each seed tower, defines the associated cluster as all towers (with non-zero energy) in the 5x5 region centered on the seed. For both clustering algorithms, three example clusters are plotted, one for each simulated set of (left to right) electron, photon, and pion events. Visually inspecting these output clusters helps one develop a stronger intuition and understanding of each algorithm’s behavior. 0.04 0.05 0.10 0.36 0.17 0.08 0.23 15.98 2.91 0.10 0.18 0.52 0.42 0.05 0.03 binη 56 58 60 62 64 66 68 binϕ 123 124 125 126 127 128 129 130 131 0 2 4 6 8 10 12 14 Single Electron Event = 21.22T Cluster E = 21.80T True E nTowers = 15 0.07 0.11 0.10 0.10 6.92 3.22 0.08 5.37 2.38 0.07 0.03 0.04 binη 60 61 62 63 64 65 binϕ 124 125 126 127 128 129 130 131 0 1 2 3 4 5 6 Single Photon Event = 18.74T Cluster E = 19.60T True E nTowers = 16 0.09 0.04 0.29 0.31 0.10 0.05 0.17 3.70 28.22 0.45 0.05 2.97 16.25 0.39 0.05 0.27 0.24 0.15 binη 56 57 58 59 60 61 62 63 binϕ 124 125 126 127 128 129 130 0 5 10 15 20 25 Single Pion Event = 53.89T Cluster E = 56.40T True E nTowers = 20 Figure 3: Examples of clusters built with the island algorithm. From left to right, the clusters correspond to an electron, photon, and neutral pion. Notice how electrons appear to deposit nearly all their energy in a single tower, while pions, which are known to decay into two photons, are seen to have the bulk of their energy spread over two or more towers. These visualizations show how the algorithm got its name; the bright yellow squares, the seed towers, appear as an island surrounded by the residual (lower-energy) towers. 0.21 3.53 0.07 0.07 0.72 7.80 0.16 0.06 0.10 1.02 0.08 0.06 binη 57 58 59 60 61 62 63 binϕ 125 125.5 126 126.5 127 127.5 128 128.5 129 0 1 2 3 4 5 6 7 Single Electron Event = 13.89T Cluster E = 13.80T True E nTowers = 12 0.05 0.04 0.06 0.06 0.05 0.05 0.73 6.17 0.12 0.46 4.90 0.04 0.08 binη 56 57 58 59 60 61 62 binϕ 124 125 126 127 128 129 130 0 1 2 3 4 5 6 Single Photon Event = 12.81T Cluster E = 12.80T True E nTowers = 13 0.12 0.66 0.22 0.14 2.08 0.51 0.06 0.59 7.80 0.16 0.47 0.93 0.23 0.07 binη 56 57 58 59 60 61 62 63 64 65 66 binϕ 124 125 126 127 128 129 130 0 1 2 3 4 5 6 7 Single Pion Event = 14.07T Cluster E = 14.70T True E nTowers = 14 Figure 4: Examples of clusters built with the simple 5x5 clusterizer. From left to right, the clusters correspond to an electron, photon, and neutral pion. As the amount of background processes increase, this method will become more prone to overestimating a given particle’s energy, since it will collect all towers in the 5x5 region. It will also exhibit cluster shapes that would be impossible for the island algorithm, such as the rightmost (pion) cluster. Since the island algorithm first searches left/right from the seed to determine when to stop, it would never encounter the tower in the lower-right region with ET = 0.06GeV . Applying Cuts Like all clustering algorithms, the island algorithm has its limitations. A common remedy for this is to apply “cuts,” which are simply conditions required for data that determine whether or not it should be rejected. For example, since the island algorithm begins by assigning towers with energy above a predefined threshold, it can erroneously cluster towers that contain nothing but noise (energy from unwanted background). Number of Towers in Cluster 0 5 10 15 20 25 30 FractionofEnergyClustered 0 0.2 0.4 0.6 0.8 1 1− 10 1 10 Single Electron Events Number of Towers in Cluster 0 5 10 15 20 25 FractionofEnergyClustered 0 0.2 0.4 0.6 0.8 1 2− 10 1− 10 1 10 Single Photon Events Number of Towers in Cluster 0 5 10 15 20 25 FractionofEnergyClustered 0 0.2 0.4 0.6 0.8 1 1− 10 1 10 Single Pion Events Figure 5: The fraction of the single-particle energy reconstructed in clusters built by the island algorithm, shown as a function of the number of towers in the cluster. The simulated particles shown are (from left to right) electrons, photons, and neutral pions. The majority of clusters that severely underestimate the particle’s energy tend to contain less EMCal towers. To improve performance, then, we apply a cut that rejects any clusters containing fewer than six towers. Results Since the goal of both the island algorithm (upper row) and the simple 5x5 clusterizer (lower row) is to accurately reconstruct the energies of particles that strike the detector, one straightforward evaluation method is to plot the reconstructed (cluster) energies against the known particle en- ergies. On all plots, the dotted line of unit slope indicates where an ideal clusterizer would be, corresponding to an exact match between all true and reconstructed energies. For reasons explored in the previous section, a cut is applied requiring all clusters to contain at least six towers. (GeV)T True Electron E 10 20 30 40 50 60 (GeV)TReconstructedClusterE 10 20 30 40 50 60 0 0.5 1 1.5 2 2.5 3 3.5 4 Island Algorithm Events - Single e Num Towers > 6 ) = (0, 0)ϕ,η( (GeV)T True Photon E 10 20 30 40 50 60 (GeV)TReconstructedClusterE 10 20 30 40 50 60 0 0.5 1 1.5 2 2.5 3 3.5 4 Island Algorithm EventsγSingle Num Towers > 6 ) = (0, 0)ϕ,η( (GeV)T True Pion E 10 20 30 40 50 60 (GeV)TReconstructedClusterE 10 20 30 40 50 60 0 0.5 1 1.5 2 2.5 3 3.5 4 Island Algorithm Events0 πSingle Num Towers > 6 ) = (0, 0)ϕ,η( Figure 6: Reconstructed particle energies determined by the island algorithm, shown as a function of the known particle energies. As anticipated, electron and photon events are closely aligned with the ideal dotted line, since these particles deposit most of their energy in a small region of towers. Neutral pions, however, decay into two photons before reaching the EMCal. If the splitting angle between the two photons is large enough the island algorithm may cluster the two photons separately, resulting in two clusters with half the energy. (GeV)TTrue Electron E 10 20 30 40 50 60 (GeV)T ReconstructedClusterE 10 20 30 40 50 60 0 1 2 3 4 5 6 7 Simple 5x5 Clusterizer Events - Single e Num Towers > 6 ) = (0, 0)ϕ,η( (GeV)TTrue Photon E 10 20 30 40 50 60 (GeV)T ReconstructedClusterE 10 20 30 40 50 60 0 1 2 3 4 5 6 7 8 Simple 5x5 Clusterizer EventsγSingle Num Towers > 6 ) = (0, 0)ϕ,η( (GeV)TTrue Pion E 10 20 30 40 50 60 (GeV)T ReconstructedClusterE 10 20 30 40 50 60 0 1 2 3 4 5 6 7 8 9 Simple 5x5 Clusterizer Events0 πSingle Num Towers > 6 ) = (0, 0)ϕ,η( Figure 7: Reconstructed particle energies determined by the simple 5x5 clusterizer, shown as a function of the known particle energies. Although this clustering method conforms reasonably well to the dotted line for these single-particle events, it can be seen to overestimate the particle energy far more often than exhibited by the island algorithm. This is due to the 5x5 clusterizer blindly accepting all towers in a fixed region around the seed, and the number of overestimated energies will increase as the simulated events become more complex and with increasing background. Conclusions The island algorithm is shown to be a reliable clusterizer for single electron, photon, and neutral pion events. The number of false positives, regions of noise that were erroneously clustered, can be reduced by cutting on, for example, the minimum number of towers per cluster. A more comprehensive analysis, one that tests the algorithm using PYTHIA and HIJING samples, is required before this implementa- tion can be fully integrated within the sPHENIX software framework. However, this research project succeeded as a proof-of-concept that the island algorithm, ported from the CMS collaboration, could be a useful contribution to the sPHENIX software framework. Acknowledgments I’d like to thank all members of the MIT Heavy Ion Group, in particular Gunther Roland, Bi Ran, Alex Barbieri, and George Stephans for always being available when I had questions. In addition, this project would not have been possible without the tremendous help from sPHENIX collaboration members Jin Huang and Dennis Perepelitsa. Finally, thank you to all members of the MSRP staff for putting this program together and mentoring the students on how to best prepare for a graduate education. References [1] A. Adare et al., “An Upgrade Proposal from the PHENIX Collaboration,” (2015). arXiv:1501.06197 [nucl-ex] [2] E. Meschi et al., “Electron Reconstruction in the CMS Electromagnetic Calorimeter,” (2001). CMS-NOTE-2001-034