GLAST Large Area Telescope Instrument Flight Software Flight Unit Design Review 16 September 2004 Event Filtering J.J. Russell Stanford Linear Accelerator.

Slides:



Advertisements
Similar presentations
GLAST The GLAST Balloon Flight experiment was performed with the collaboration of NASA Goddard Space Flight Center, Stanford Linear Accelerator Center,
Advertisements

The Gamma-Ray Large Area Space Telescope: UNDERSTANDING THE MOST POWERFUL ENERGY SOURCES IN THE UNIVERSE Anticoincidence Detector for GLAST Alexander Moiseev,
GLAST LAT Project Calibration and Analysis Meeting, 28 Nov 2005 E. Grove et al. 1 Proposed Flight Trigger Configuration: Engines and Scheduler Table J.
1 GLAST Large Area Telescope Monthly Mission Review LAT Flight Software Status June 6, 2007 Jana Thayer Stanford Linear Accelerator Center Gamma-ray Large.
S. Ritz 1 Hardware Trigger Throttle Issues Context: the triggers Purpose of throttle on TKR trigger Earlier design using TKR geographic information The.
Update: Onboard Filter & Ground Software Integration N. Golpayegani S. Ritz D. Wren Analysis Group Meeting; 28 July 2003.
David WrenDC1 Closeout, 13 February OnboardFilter Update Work done by: Navid Golpayegani J.J. Russell David Wren Data Challenge I Closeout Meeting,
1 GLAST Large Area Telescope Monthly Mission Review LAT Flight Software Status May 2, 2007 Jana Thayer Stanford Linear Accelerator Center Gamma-ray Large.
A.Chekhtman1 GLAST LAT ProjectCalibration and Analysis group meeting, April, 3, 2006 CAL on-orbit calibration with protons. Alexandre Chekhtman NRL/GMU.
GLAST LAT ProjectISOC Peer Review - March 2, 2004 Document: LAT-PR Section 2.1 Requirements 1 Gamma-ray Large Area Space Telescope GLAST Large.
GLAST Large Area Telescope Instrument Flight Software F2F Meeting March 17, 2005 Jeff Fisher FSW Manager Stanford Linear Accelerator Center Gamma-ray Large.
Richard Hughes 28-Feb-06; p.1 IAW6 OnboardFilter Richard E. Hughes, Brian L. Winer The Ohio State University JJ Russell SLAC.
GLAST LAT ProjectDOE/NASA CD3-Critical Design Review, May 12, 2003 S. Ritz Document: LAT-PR Section 03 Science Requirements and Instrument Design.
GLAST LAT ProjectGLAST Flight Software IDT, October 16, 2001 JJRussell1 October 16, 2001 What’s Covered Activity –Monitoring FSW defines this as activity.
Onboard Filter Update Performance after updated cuts David Wren 26 January 2004.
GLAST LAT Project Quarterly Review, Aug. 14, 2001 Gunther Haller1 GLAST Large Area Telescope: Electronics, DAQ & Flight Software Gunther Haller Stanford.
Residual Background events after Rejection Cuts M total background events (GlastReleasev3r3p7) 344 residual events after Bill's rejection cuts. 342.
GLAST LAT Project SE Test Planning meeting October 4, 2004 E. do Couto e Silva 1/13 SVAC Data Taking during LAT SLAC Oct 4, 2004 Eduardo.
ISOC Peer Review - March 2, 2004 Section GLAST Large Area Telescope ISOC Peer Review Test Bed Terry Schalk GLAST Flight Software
GLAST LAT Project Oct 5, GLAST Large Area Telescope Systems Engineering Test Status, NCRs and Verification Status Pat Hascall Systems Engineering.
GLAST LAT ProjectNovember 18, 2004 I&T Two Tower IRR 1 GLAST Large Area Telescope: Integration and Test One and Two Tower Integration Readiness Review.
GLAST LAT ProjectOnline Peer Review – July 21, Integration and Test L. Miller 1 GLAST Large Area Telescope: I&T Integration Readiness Review.
30 Ge & Si Crystals Arranged in verticals stacks of 6 called “towers” Shielding composed of lead, poly, and a muon veto not described. 7.6 cm diameter.
GLAST Large Area Telescope LAT Flight Software System Checkout TRR Current Status Sergio Maldonado FSW Test Team Lead Stanford Linear Accelerator Center.
GLAST Large Area Telescope Instrument Flight Software Flight Unit Design Review 16 September 2004 LAT Housekeeping Sergio Maldonado Stanford Linear Accelerator.
GLAST Large Area Telescope Instrument Flight Software Flight Unit Design Review 16 September 2004 Diagnostics Framework James Swain Stanford Linear Accelerator.
Atmospheric shower simulation studies with CORSIKA Physics Department Atreidis George ARISTOTLE UNIVERSITY OF THESSALONIKI.
GLAST Large Area Telescope Instrument Flight Software Flight Unit Design Review 16 September 2004 Software Watchdog Steve Mazzoni Stanford Linear Accelerator.
T. Burnett1 GLAST LAT ProjectDOE/NASA Baseline-Preliminary Design Review, January 9, 2002 SAS Software: Sources Detector geometry model Simulation Event.
Lishep06 Gilvan Alves1 Overview of Diffraction from DØ Gilvan Alves Lafex/Brazil  Introduction  DØ RunI x RunII  Special Runs  Outlook.
GLAST Large Area Telescope Instrument Flight Software Flight Unit Design Review 16 September 2004 Thermal Control System Steve Mazzoni Stanford Linear.
Feb. 7, 2007First GLAST symposium1 Measuring the PSF and the energy resolution with the GLAST-LAT Calibration Unit Ph. Bruel on behalf of the beam test.
Aa GLAST Particle Astrophysics Collaboration Instrument Managed and Integrated at SLAC/Stanford University The Gamma-ray Large Area Space Telescope (GLAST)
GLAST LAT ProjectMarch 24, B Tracker Peer Review, WBS GLAST Large Area Telescope: Tracker Subsystem WBS B: EM Mini-Tower Robert Johnson.
Gamma Ray Large Area Space Telescope Balloon Flight: Data Handling Overview E. do Couto e Silva, R. Dubois, D. Flath, I. Gable,T. Kamae, A. Kavelaars,
GLAST LAT Project LAT System Engineering 1 GLAST Large Area Telescope: LAT System Engineering Pat Hascall SLAC System Engineering Manager
GLAST The GLAST Balloon Flight experiment was performed with the collaboration of NASA Goddard Space Flight Center, Stanford Linear Accelerator Center,
GLAST LAT ProjectLAT Muons at NRL 28 Feb 2006 J. Eric Grove Naval Research Lab Washington DC LAT Muon Data Taking During Environmental Test at NRL J. Eric.
GLAST LAT Project LAT System Engineering 1 GLAST Large Area Telescope: LAT System Engineering Pat Hascall SLAC System Engineering Manager
GLAST Large Area Telescope LAT Flight Software System Checkout TRR Systems Engineering Mike DeKlotz GSFC Stanford Linear Accelerator Center Gamma-ray Large.
GLAST Large Area Telescope LAT Flight Software System Checkout TRR Test Suites (Backup) Stanford Linear Accelerator Center Gamma-ray Large Area Space Telescope.
GLAST Large Area Telescope Instrument Flight Software Flight Unit Design Review 16 September 2004 Instrument Configuration James Swain Stanford Linear.
GLAST LAT Project CU Beam Test Workshop 3/20/2006 C. Sgro’, L. Baldini, J. Bregeon1 Glast LAT Calibration Unit Beam Test Status Report on Online Monitor.
GLAST LAT ProjectISOC CDR, 4 August 2004 Document: LAT-PR-04500Section 3.21 GLAST Large Area Telescope: Instrument Science Operations Center CDR Section.
ATLAS and the Trigger System The ATLAS (A Toroidal LHC ApparatuS) Experiment is one of the four major experiments operating at the Large Hadron Collider.
High-energy Electron Spectrum From PPB-BETS Experiment In Antarctica Kenji Yoshida 1, Shoji Torii 2 on behalf of the PPB-BETS collaboration 1 Shibaura.
In high energy astrophysics observations, it is crucial to reduce the background effectively to achieve a high sensitivity, for the source intensity is.
Bill Atwood, 6-Feb-2008 Pass 6: GR V13R9 Muons, All Gammas, & Backgrounds Muons, All Gammas, & Backgrounds Overview Overview Data Sets: Muons: allMuon-GR-v13r9.
GLAST Large Area Telescope LAT Flight Software System Checkout TRR FSW Overview Sergio Maldonado FSW Test Team Lead Stanford Linear Accelerator Center.
1 Study of Data from the GLAST Balloon Prototype Based on a Geant4 Simulator Tsunefumi Mizuno February 22, Geant4 Work Shop The GLAST Satellite.
GLAST Large Area Telescope LAT Flight Software System Checkout TRR Test Environment Sergio Maldonado FSW Test Team Lead Stanford Linear Accelerator Center.
Feb. 3, 2007IFC meeting1 Beam test report Ph. Bruel on behalf of the beam test working group Gamma-ray Large Area Space Telescope.
Gamma-ray Large Area Space Telescope -France -Germany -Italy -Japan -Sweden -USA Energy Range 10 keV-300 GeV. GLAST : - An imaging gamma-ray telescope.
ATLAS and the Trigger System The ATLAS (A Toroidal LHC ApparatuS) Experiment [1] is one of the four major experiments operating at the Large Hadron Collider.
GLAST Large Area Telescope Instrument Flight Software Jeff Fisher, FSW Manager Flight Unit Peer Review Overview/Management/Schedule September 16, 2004.
GLAST Large Area Telescope Instrument Flight Software Flight Unit Design Review 16 September 2004 Instrument Configuration by File James Swain Stanford.
GLAST LAT ProjectNovember 18, 2004 I&T Two Tower IRR 1 GLAST Large Area Telescope: Integration and Test Two Tower Integration Readiness Review SVAC Elliott.
Gamma-ray Large Area Space Telescope ACD Final Performance
Comparison of GAMMA-400 and Fermi-LAT telescopes
GLAST LAT tracker signal simulation and trigger timing study
Gamma-ray Large Area Space Telescope
GLAST Large Area Telescope
GLAST Large Area Telescope:
GLAST Large Area Telescope Instrument Science Operations Center
Sabra Djomehri SULI 2007 Stanford Linear Accelerator 8/15/2007
Mini Tower Preliminary Results
GLAST Large Area Telescope:
GLAST Large Area Telescope
Studies of the Time over Threshold
Overview of Beam Test Benoit, Ronaldo and Eduardo Nov 8 , 2005 thanks to Steve and Bill for helping to consolidate all the information.
Presentation transcript:

GLAST Large Area Telescope Instrument Flight Software Flight Unit Design Review 16 September 2004 Event Filtering J.J. Russell Stanford Linear Accelerator Center Gamma-ray Large Area Space Telescope

16 September 2004 Flight Unit Peer Review - Event Filtering 2 Event Filtering Requirements FSW General Requirements: – : The FSW shall filter the input stream of events accepted by the electronic trigger to an output stream commensurate with the spacecraft (SC) interface rate, up to 66 Mbps, and capacity of a maximum of 104 Gb in any given 24 hour period, keeping events meeting the science objectives. – : The event filtering software shall be reprogrammable via the SIU. – : The event filtering software shall be capable of passing a pre-scaled sample of unfiltered events for monitoring and analysis, upon request.

16 September 2004 Flight Unit Peer Review - Event Filtering 3 FSW Layer Architecture Applications Layer Inter-task Communications System (ITC) Service Layer Driver Layer Abstract Communication Layer Command and Telemetry/1553 Service (CTS) LCB Service (LCS) 1553 Driver (CTDB)LCB Driver (LCBD) Housekeeping (LHK) Spacecraft Attitude/Time Thermal Control (LTC) File/Object (LFS) Process Basic Services/VxWorks (PBS) Watchdog (LSW) Instrument Manager (LIM) Charge Injection Calibration (LCI) Diagnostics Framework (LDF) Spacecraft Messages (LSM) Instrument Physics (LPA)

16 September 2004 Flight Unit Peer Review - Event Filtering 4 Event Filtering: Overview The LAT's downlink data rate allows only a small fraction (2-10 percent) of triggered events to be reported. Consequently, the vast majority of events must be discarded. –Fortunately, this can be done without damage to the scientific objectives of the instrument. The LAT will trigger on a variety of phenomena: –High-energy photons (i.e., Gamma rays) –Cosmic background radiation (e.g., protons, electrons, and positrons). In fact, cosmic rays and other "noise" account for 99.8% of the detected events. The Event Filter’s goal is to preserve analyzable gamma data: –First, identify and discard cosmics (relatively easy and fast) –Second, identify and retain analyzable gammas (harder)

16 September 2004 Flight Unit Peer Review - Event Filtering 5 Event Filter: ACD, TKR, CAL The Event Filter uses ACD, TKR, and CAL data in distinct ways to sift events: –ACD data to reject cosmic rays. –TKR data to detect tracks and reject trackless events Correlates to ACD data to reject cosmics Identifies classic tracks and shapes (e.g., the signature V- shaped, 2 track events) –CAL data to provide a rough energy classification: Allows the Filter to correctly identify the likely topology of gamma ray events, shower shapes consistent with EM shower, and energy deposition consistent with cosmics

16 September 2004 Flight Unit Peer Review - Event Filtering 6 Event Filter Tests At the highest expected data rate (10K events per second), the LAT computers have, on average, 100 microseconds (margin x2) to handle each event. –Consequently, "cheaper" tests are made before "expensive" ones. The Event Filter will perform three tests (in increasing order of expense): –Trigger discriminator tests Fast, and eliminates 75% of candidate events –Primarily, checks if data is consistent with a cosmic –Energy-level tests Require considerable compute time (about 10 times that of the trigger discriminator tests) Use energy information from the CAL, which must be unpacked Use TKR layer patterns (in essence, a more sophisticated version of the hardware trigger) Nearly another 20% of candidates eliminated –Track-projection tests Use fully-unpacked tracker data to find X-Z and Y-Z projections Very compute intensive (yet another factor of 5 above energy-level) However, by this time, 95+% of candidates have been eliminated, so aggregate compute time isn’t a big issue The filter and this general sequence of tests were developed “offline” and are being adapted by FSW for online use –A proven filtering process

16 September 2004 Flight Unit Peer Review - Event Filtering 7 Trigger Discriminator Tests These tests are very fast and quite effective (eliminating 75% of the candidate events). They use data from the GEM (Global Trigger), including anti- coincidence hit maps, which tracker towers had "3-in-a-row" triggers, and trigger information from the CAL (low- and high-energy) discriminators. –Essentially, a more sophisticated use of the trigger level information Veto tile response; no CAL LO –If any ACD tile near the top of the instrument ("veto tile") responds to the event and the CAL low-energy (CAL LO) trigger discriminators all read zero, the event is rejected (64.4%). This test targets charged track events (e.g., incoming electrons or positrons) which miss the CAL, but produce a tower tracker "3-in-a-row" trigger. Note: At energies which are too low to activate the CAL LO discriminators, Gamma-ray interactions in the CAL will not produce backsplash in the ACD veto tiles. Thus, this must be an incoming cosmic ray. ACD Splash Veto (pass 0) – If the ACD gets too many hits and the CAL high-energy (CAL HI) trigger discriminators all read zero, the event is rejected (10.2%). –This test targets events which enter from the bottom of the detector and interact in the CAL.

16 September 2004 Flight Unit Peer Review - Event Filtering 8 Energy-level Tests These tests requires significant compute time (~10x that of the previous set). They use energy information from the CAL, which must be unpacked. Veto tile response; CAL energy < 350 MeV –If a veto tile responds to the event and the CAL detects energy of less than 350 MeV, the event is rejected (1.5%). –This test targets events (e.g., protons) which are composed only of minimum-ionizing tracks. Any ACD tile response; CAL energy < 10 MeV –If any ACD tile responds to the event and the CAL detects energy of less than 10 MeV, the event is rejected (3.0%). –This test targets cosmic-ray events and events where there is no potential for backsplash from the CAL to hit an ACD tile. –Note: This is a much more inclusive version of the initial test ("Veto tile response; no CAL LO"). At 10 MeV, no backslash can reach even the lowest ACD tiles, so all tiles can be included in the test.

16 September 2004 Flight Unit Peer Review - Event Filtering 9 Energy-level Tests (cont’d) ACD Splash Veto (pass 1) –If the CAL detects energy of less than 40 GeV (this is almost always the case) and the ACD gets too many hits, the event is rejected (0.4%). –This test targets events which enter from the bottom of the detector and interact in the CAL. –Note: Because we now know the energy of the event, we can apply the "ACD Splash Veto" test to more events. TKR tower match with ACD top or side tile –If a responding ACD top or side tile shadows a tower with the "3-in- a-row" tracker trigger, the event is rejected (2.7% for top, 2.0% for side). –This test targets charged particles (e.g., protons) which enter through the ACD. This is a slightly more sophisticated version of the hardware throttle. –Note: This test, coupled with the following test, refines the geometric resolution to a single tracker tower. A follow-on test ("TKR/ACD matching") will refine this to a single ACD tile.

16 September 2004 Flight Unit Peer Review - Event Filtering 10 Energy-level Tests (cont’d) No connection between CAL energy and TKR (pass 0) – If there is any CAL energy and no tracker tower has hits in more than four of its bottom six planes, the event is rejected (7.7%). –This is an inexpensive test for bottom- and side-entering showering tracks. CAL layer 0 energy < 1 percent of total –If the energy detected by layer 0 (the top later) of the CAL is less than 1% of the total energy, the event is rejected (1.0%). –This test looks for behavior that is inconsistent with electromagnetic showering. CAL layer 0 energy > 90 percent of total – If the energy detected by layer 0 of the CAL is more than 90% of the total energy, the event is rejected (0.6%). –This test looks for behavior that is inconsistent with electromagnetic showering. CAL crystal ratio – If the number of CAL crystals with less than 1% of the energy exceeds 20% of the total number of hit crystals, the event is rejected (0.25%, from recent work). –This test looks for behavior (e.g., a diffuse scattering) that is inconsistent with electromagnetic showering.

16 September 2004 Flight Unit Peer Review - Event Filtering 11 Track Projection Tests These tests depend on finding X-Z and Y-Z projections, using the fully- unpacked tracker data. They are very compute-intensive, requiring perhaps 50x the processing time of the initial tests. Fortunately, we're down to a small fraction of the initial events, so the aggregate compute time isn't a big issue. No projections –If no projections are found, the event is rejected (TBD%). –This test targets two classes of events which are barren of tracks: false "3-in-a-row" triggers (generally caused by noise) and non- tracker (e.g., CAL LO) triggers. TKR/ACD matching – If a track projection points at a responding ACD tile, the event is rejected (1.7%). –This test targets charged particles which enter through the ACD. This is a very sophisticated version of the hardware throttle. –Note: Although the projection has much greater resolution, we can only compare against a single ACD tile. Because of the increased geometric correlation, noise is not a factor (so we can target more events).

16 September 2004 Flight Unit Peer Review - Event Filtering 12 Track Projection Tests (cont’d) Track(s) project into skirt region –The "skirt region" lies between the CAL and the lower row of ACD tiles. Thus, it is outside of the area covered by the CAL, but inside the active area of the instrument. If a track projection points into this region, the event is rejected (0.5%). –This test targets charged-particle tracks that escape detection by the ACD and CAL, as well as Gamma rays which miss the CAL. (The rejected Gamma rays are nearly useless for analysis, because they lack energy information.) CAL energy < 350 MeV; fewer than two tracks –If the energy level detected by the CAL is less than 350 MeV and there is no evidence of two or more tracks, the event is rejected (3.0%). –This test targets events which are inconsistent with the topology expected from relatively low-energy Gamma rays. At this energy, one expects to see two separated tracks (from the initial electron- positron pair). At higher energies, the separation between the two tracks is insufficient for the tracker to resolve.

16 September 2004 Flight Unit Peer Review - Event Filtering 13 Track Projection Tests (cont’d) No connection between CAL energy and TKR (pass 1) –If there is any CAL energy and no projection points at that energy, the event is rejected (TBD%). –This is an expensive (but more precise) test for bottom- and side- entering showering tracks (e.g., caused by a particle interaction with the spacecraft). Albedo Gamma-ray rejection –Relatively expensive calculation in terms of infrastructure, so may or may not be implemented, depending on performance of an updated albedo model –If the track of the candidate event (now assumed to be a Gamma ray) is consistent with pointing at the Earth's limb, the event is rejected (TBD%, out of an absolute rate of Hz). –Gamma rays coming from charged-particle interactions in the Earth's atmosphere are irrelevant to LAT's primary science mission. We may allow a certain percentage of these through, for calibration and monitoring purposes.

16 September 2004 Flight Unit Peer Review - Event Filtering 14 Do These Tests Get Us the Desired Reduction? Current estimates are into Hz range without rejecting albedos –300 bytes/event (2400 bits) –Yields bandwidth usage of 0.72 to 0.96 Mbps Allowed bandwidth 1.2 Mbps But, are the estimates of albedo rates correct? –If much higher, some will need to be eliminated –Again, albedo filtering is expensive, since absolute direction must be calculated from event data

16 September 2004 Flight Unit Peer Review - Event Filtering 15 Event Filter Architecture (cont’d) 1553 Rx service Spacecraft Interface Unit Q Q Q Q Masters 1553 Tx service LCB Tx service Instr. Phys. LCB Rx service Q Q Event Processing Unit(s) Q LCB Tx service LCB Rx Q Q Slaves Instr. Phys. Command Response Unit (CRU) output side. The CRU is an element of the GASU. To EPU(s)To SSR Solid State Recorder Spacecraft 1553 LAT Instrument To SIU Legend Telecommand (SC to LAT) Telemetry (LAT to SC) Master to slave Slave to master Physics data from LAT Data to SSR Command/Response Event Builder (EB) input side. The EB is an element of the GASU. Command/Response Unit (CRU). The CRU is an element of the GASU. From SIU Event Assembly From EPU(s) Q

16 September 2004 Flight Unit Peer Review - Event Filtering 16 Event Filter Architecture The Event Filter operates as a set of separate tasks executing on multiple CPUs. A master task running on the SIU acts as a controller, coordinating execution of the slaves. Slave tasks operating on the EPUs perform the filtering. The Event Filter master task performs the following duties: · Processes commands from the ground and configures the operation of the slaves accordingly · Gathers summary statistics from the filter slaves · Packages the summary statistics for transmission to the ground The event filter slave tasks perform the following duties: · Filter event data using the trigger discriminator, energy-level, and track-projection tests

16 September 2004 Flight Unit Peer Review - Event Filtering 17 Filter Control and Reprogramming A 32 bit mask is manipulated to veto individual filter tests –If no vetoes is applied, all filters used on event data stream –Allows prescaling: The filter can be set to execute specific tests on a defined fraction of the event data that comes through during a cycle.

16 September 2004 Flight Unit Peer Review - Event Filtering 18 Event Filter Telecommands and Telemetry Telecommands –Bypass event filter –Set prescales –Set parameters (veto word – 32 bit mask) –Reprogram event filter: By parameterization By new code (filter ~ 25K, uncompressed) Telemetry –Event data, with events in each test category (statistics only)

GLAST Large Area Telescope Backup Gamma-ray Large Area Space Telescope

16 September 2004 Flight Unit Peer Review - Event Filtering 20 LPA Configuration Management The Event Filtering function is part of the LPA package. However, the Filter component has no build-time dependencies on any other software: –Through use of build tags, the filter code can be compiled for use in different settings: Into onboard FSW Into offline code used for testing (including testing of the filter algorithms themselves) The dependency tree, constituent list, command and telemetry list, and other configuration management information related to LPA are published dynamically on the FSW Web site at ml ml