Index

src/helpers/invariant-mass.ts

atlasClassifyEvent
atlasClassifyEvent(tagCounts: Record)

Default event classifier for ATLAS Z-path masterclass. Classifies events by electron/muon/photon counts.

Parameters :
Name Type Optional
tagCounts Record No
Returns : string
fourMomentumFromCluster
fourMomentumFromCluster(userData: any)

Extract a 4-momentum vector from a calorimeter cluster. Clusters have energy, eta, phi (treated as massless).

Parameters :
Name Type Optional
userData any No
fourMomentumFromTrack
fourMomentumFromTrack(userData: any, mass: number)

Extract a 4-momentum vector from track userData. Tracks have pT, eta/phi (or dparams), and we assign mass from the tag definition.

Parameters :
Name Type Optional Description
userData any No

Track user data containing kinematic properties.

mass number No

Particle rest mass in MeV/c².

invariantMass
invariantMass(momenta)

Compute the invariant mass of a set of particles in MeV. M² = (ΣE)² - (Σpx)² - (Σpy)² - (Σpz)²

Parameters :
Name Optional
momenta No
Returns : number

src/helpers/event-summary.ts

buildEventSummaries
buildEventSummaries(eventsData: PhoenixEventsData)

Pre-scan all events and build a summary index. This is the main entry point for the event browser.

Parameters :
Name Type Optional
eventsData PhoenixEventsData No
Returns : EventSummary[]
computeMET
computeMET(eventData: PhoenixEventData)

Compute missing transverse energy magnitude from MET collections. Returns NaN if no MET data is present.

Parameters :
Name Type Optional
eventData PhoenixEventData No
Returns : number
countCollections
countCollections(eventData: PhoenixEventData)

Count all physics objects in a single event. Each collection type (Tracks, Jets, etc.) can have multiple named sub-collections.

Parameters :
Name Type Optional
eventData PhoenixEventData No
Returns : literal type
getAvailableColumns
getAvailableColumns(summaries)

Get all unique collection type names across all events. Reconstructed physics objects are listed first, detector-level types last.

Parameters :
Name Optional
summaries No
Returns : string[]
summarizeEvent
summarizeEvent(eventKey: string, eventData: PhoenixEventData)

Build a summary for a single event.

Parameters :
Name Type Optional
eventKey string No
eventData PhoenixEventData No
Returns : EventSummary

src/loaders/object-type-registry.ts

getDefaultObjectTypeConfigs
getDefaultObjectTypeConfigs()

Returns default configs for all built-in Phoenix object types.

Returns : ObjectTypeConfig[]

src/managers/three-manager/color-manager.ts

setColorForObject
setColorForObject(object: Object3D, color: any)

Change colour of object.

Parameters :
Name Type Optional Description
object Object3D No

Object to be update

color any No

Color to set for the object.

results matching ""

    No results matching ""