CDF Trigger System Veronica Sorin Michigan State University

  • Slides: 27
Download presentation
CDF Trigger System Veronica Sorin Michigan State University Silicon Workshop UCSB May 11, 2006

CDF Trigger System Veronica Sorin Michigan State University Silicon Workshop UCSB May 11, 2006

Why is trigger so important? Ø Tevatron provides collisions at a rate of ~1.

Why is trigger so important? Ø Tevatron provides collisions at a rate of ~1. 7 MHz Ø Event size ~ 200 k. B Ø actual CDF output to tape 20 MB/s Trigger rejects 99. 995% of crossings ! Need a trigger system that, keeps with high efficiency events of interest while rejecting unwanted ones Select events of interest, but : – Inel ~ 50 mb – For example top ~ 7 pb – That is a ~1/1010 factor !!!

36 x 36 bunches 396 ns between bunch crossings 1. 7 MHz crossing rate

36 x 36 bunches 396 ns between bunch crossings 1. 7 MHz crossing rate At High Luminosity: Multiple interactions ! High detector occupancy Peak luminosity (1030 cm-2 s-1 ) Multiple interactions 2002 2003 2004 2005 170 100 50 Instantaneous Luminosity (run 211554)

Trigger Cross Sections • For any process: rate R = L (L = instantaneous

Trigger Cross Sections • For any process: rate R = L (L = instantaneous luminosity, = cross section. ) – For a physics process, is independent of L. • For trigger cross sections, we observe: = A/L + B + CL + DL 2 constant rate constant s “growth terms” – A, B, C, D are constants depending upon trigger. – High purity triggers typically have C~D~0. – Two effects cause extra powers of L: • Overlapping objects from different interactions. • Fakes that are luminosity dependent. • Rates: R=L = A + BL + CL 2 + DL 3

Efficiency and Dead-time • Goal of trigger is to maximize collection of data for

Efficiency and Dead-time • Goal of trigger is to maximize collection of data for physics process of interest: – Aim for high efficiency ! • For each process, look for: etrigger = Ngood(accepted)/Ngood(Produced) • And watch the dead-time ! • Trigger Dead-time: – Due to fluctuations, incoming rate is higher than processing one valid interactions are rejected due to system busy • Buffering incoming data could reduce dead-time • But dead-time always incurred if – <incoming rate> > 1/<processing time> !

CDF Trigger Implementation • To obtain high efficiency while large background rejection: – Multiple

CDF Trigger Implementation • To obtain high efficiency while large background rejection: – Multiple Trigger Levels • Reject in steps with successively more complete information • In each step, reject a sufficient fraction of events to not incurred in high dead-time at next stage • Basic Idea: L 1 – fast (~few s) with limited information, hardware based L 2 – moderately fast (~10 s of s), hardware/software L 3 – Commercial processor(s)

CDF has implemented a 3 level trigger • Level-1 is a synchronous hardware trigger

CDF has implemented a 3 level trigger • Level-1 is a synchronous hardware trigger - Processing in parallel pipelined operation - L 1 decision always occurs at a fixed time (~5 s after beam collision) - Input rate = 1. 7 MHz L 1 A rate ~ up to 35 KHz • Level-2 is a combination of hardware and software trigger (asynchronous) - Average Level-2 processing time is ~30 s - L 2 A rate ~ up to 600 Hz • Level-3 is purely a software trigger - Massive PC farm running offline-type code - Reconstruct complete events - L 3 A rate ~ 100 Hz • Total Data rejection factor 1 : 20000 SVX reads out to VRBs after L 1 A (not L 2 A)

What do we trigger on? • Various trigger subsystem generates primitives that we can

What do we trigger on? • Various trigger subsystem generates primitives that we can “cut” on • Available trigger primitives are: At L 1: - Central tracking (XFT p. T>1. 5 Ge. V), - Calorimeter (EM and HAD) : Electron (Cal +XFT), Photon (Cal), Jet (EM+HAD) - Missing Et, Sum. Et, - Muon (Muon + XFT) At L 2: - L 1 can output 64 different triggers L 1 information SVT (displaced track, d 0) Jet cluster Isolated cluster Calorimeter Shower. Max

What is a Trigger Table? • Trigger table is how our “trigger menu” is

What is a Trigger Table? • Trigger table is how our “trigger menu” is called: – “list” of selection criteria – Each item on the menu: • Is called Trigger Path • has three courses: L 1, L 2 and L 3 “recipes”: – Set of cuts-parameter/instructions particular of each level. – An event is stored if one or more trigger path criteria are met. • Each time data taking starts (“a run”), the whole content is communicate to the system • For bookkeeping, all “menus” and “recipes” are store in a specially designed Database.

Dynamic prescale For large rate backup triggers, a prescale can be applied – Prescale

Dynamic prescale For large rate backup triggers, a prescale can be applied – Prescale (PS) means to only accept a predetermined fraction of events – The fraction is a fixed value for all luminosities (parameter stored in table for each particular trigger) – Value determined accordingly to needed statistics (and system availability) Trigger cross sections grow with luminosity as luminosity falls during a run trigger resources are freed up. • What if we could change the prescale value while data taking?

– Dynamic prescales up and running since late 2002 – Applied to triggers with

– Dynamic prescales up and running since late 2002 – Applied to triggers with high growth term L 2 Accept Rate (Hz) DPS Prescale change Dynamic prescale (DPS) is a feedback system – Reduces the prescales as luminosity falls – Changes happen based on rates information accumulated on a time scale of minutes and amount of change depends on available trigger bandwidth at a given time

The feedback can be also done at the sec scale ! -Enabling high rate

The feedback can be also done at the sec scale ! -Enabling high rate L 1 triggers whenever the system is idling. (effectively look at buffer occupancy) -In trigger table since 2004 -Applied to high rate L 1 track trigger L 1 Accept Rate (Hz) This is what we call the “Uber Prescale (UPS)”, it is still DPS. UPS kicks in Lumi (E 30) One simple approach: Luminosity enable (DPS based on just luminosity): Turns on/off a particular trigger at a given Instantaneous Luminosity. In table since 2005.

Hardware improvements • Hardware improvements are a key to maintain system alive, especially at

Hardware improvements • Hardware improvements are a key to maintain system alive, especially at high luminosities • Example: reduction in Level 2 execution time improves the bandwidth for L 1 A • Examples are: – L 2 Pulsar upgrade for L 2 decision crate • New system based on : – Universal interface board design PULSAR – Commodity processor (LINUX PC) – Fully operational since early 2005 – L 2 SVT upgrade – Improve pattern recognition – Increase processing time speed – Fully operational since early 2006 Average gain ~20 sec Before: 5% deadtime with L 1 A 18 KHz @ ~< 50 E 30 After: 5% deadtime with L 1 A 25 KHz @ ~ 90 E 30

High Luminosity effects Cross section grows with luminosity: Two examples: – Fake tracks: (nb)

High Luminosity effects Cross section grows with luminosity: Two examples: – Fake tracks: (nb) = A/L + B + CL + DL 2 CMX Track trigger rates growing rapidly with luminosity Dominant component comes from fake tracks Muon + track Lum (1030) – Jet Triggers: Current L 2 Clustering algorithm sensitive to detector occupancy, “temporary” solution: increase tower threshold on very forward region L 2 Jet 40 Lum (1030)

Tevatron performance Average Peak Luminosity Projections (design) Peak Luminosity (E 30) Peak luminosity record:

Tevatron performance Average Peak Luminosity Projections (design) Peak Luminosity (E 30) Peak luminosity record: 1. 8 1032 cm-2 s-1 Integrated luminosity nweekly record: 27 pb-1 /week ntotal delivered: 1. 5 fb-1 Exciting and challenging times to come !!!!

How CDF was doing…? Time ago… Data taken Jun-Jul 2004 Because of high deadtime,

How CDF was doing…? Time ago… Data taken Jun-Jul 2004 Because of high deadtime, at luminosity above 90 E 30, we had to run with a special trigger table with a smaller set of triggers: the so called “high lumi table”. . .

How are we doing now (2006) ? • Significant trigger table performance optimization/improvements in

How are we doing now (2006) ? • Significant trigger table performance optimization/improvements in the past year • Take advantage of: L 2/SVT/EVB/L 3 upgrade improvements • Only one table running during whole store 2006 L 1 L 2 L 3* Triggers 56 131 185 Max In/Out (Hz) 1. 7 M/ 35 k 600 ~100 * L 3 means Trigger paths <Dead-time> ~5%

Run 211554 -data taken Feb 12 2006 L 1 Accept Rate (Hz) L 3

Run 211554 -data taken Feb 12 2006 L 1 Accept Rate (Hz) L 3 A Rate (Hz) UPS Lumin Enable L 2 A 300 DPS Dead-time (%) 600 5 Lum (E 30) 1. 3 fb-1 data on tape to analyze !

How we got here…. • Each Trigger table change: – – cycle includes testing

How we got here…. • Each Trigger table change: – – cycle includes testing at Control Room Keep Silicon safe No beam test (no colliding beam) Beam test (end-of-store -> low luminosity): • NO SILICON : check performance, watch L 1 A rate • With SILICON test: monitor rates Si rep required in CR for this tests • Big accomplishment last year hard work from many people new default Many thanks to Si group !

Summary • Trigger is very important and interesting at hadron colliders • Trigger is

Summary • Trigger is very important and interesting at hadron colliders • Trigger is also very challenging, make it even more interesting • One of the best places for young physicists to get trained on large experiment Be a trigger person, Join the fun !!!

BACKUP

BACKUP

Level 2 Decision Crate Upgrade • The L 2 Decision Crate is the heart

Level 2 Decision Crate Upgrade • The L 2 Decision Crate is the heart of L 2 • Receives data from 7 preprocessors ( L 1 Trigger, Calorimeter isolation, Shower. Max (electrons), Muon, L 1 Track (XFT) and L 2 Silicon Tracking ) • Processor runs L 2 algorithm and makes L 2 Trigger decision Upgraded from • 6 flavors of custom interface boards • Custom Alpha processor • Data to processor on Custom Bus to • Pulsar board as universal interface • Use CERN S-LINK technology • Linux PC Easily to upgrade when faster processor becomes available

 • Full upgrade in place since September 2005. • Has already shown high

• Full upgrade in place since September 2005. • Has already shown high reliability • Flexibility allows for future improvements to cope with increase of luminosity • Average gain ~20 sec

L 2 SVT upgrade • Helped to reduce the L 2 latency by speeded

L 2 SVT upgrade • Helped to reduce the L 2 latency by speeded up SVT execution Done by improved capabilities: 2. Faster track fitting Using Pulsars Dead time % 1. Improved pattern recognition Before SVT/L 2 Upgrade Lumi 20 -50 E 30 Summer 2005 Lumi 90 E 30 +7 k. Hz (+40%) L 1 A bandwidth @ double inst. lumi. Lumi 45 E 30 L 1 A rate(HZ) 18 KHz 25 KHz

L 2 Jet triggers • Found that rate increased due to “large” clusters in

L 2 Jet triggers • Found that rate increased due to “large” clusters in azimuth in forward region “Ring of Fire” • Solved by increasing shoulder threshold • As Luminosity increases, this could happen on other Calorimeter regions • Not only a rate problem, could cause inefficiencies on triggers that require many jets (for example top hadronic) • Possible solutions: –Increase threshold on other regions too ( what about efficiency? ). –Improve clustering algorithm (Pulsar based system is flexible enough)

L 2 Jet Trigger Observed high growth term (nb) . L 2 Jet 40

L 2 Jet Trigger Observed high growth term (nb) . L 2 Jet 40 • Calorimeter is divided in trigger towers (0. 2 x 15 o - ) and energy information is sent to L 2 Calorimeter trigger boards. • This energy is clustered and check against trigger threshold. • The clustering process is as follows: Find “seed” tower (E>Es) Look for adjacent shoulder towers (E>ESh) Continue until no shoulder is found After improvement (nb) Lum (1030) Sh Sh Lum (1030) Sh

Fake tracks Extra occupancy due to increase of number of interactions per crossing more

Fake tracks Extra occupancy due to increase of number of interactions per crossing more chance for confusion: • Fake tracks • Worse resolution • Currently only using 4 axial layers (only 2 D information) • XFT Upgrade will add stereo (z) information from 3 outer layers • Expect to reduce fakes by ~ x 5 (trigger dependent) COT occupancy � Random Inelastic Interactions (Simulation) Luminosity ~ 3 E 31 Luminosity ~ 4 E 32