Presentation is loading. Please wait.

Presentation is loading. Please wait.

Examine Overview D0 Online Workshop June 3, 1999 Jae Yu Outline 1. What is an Examine? 2. How Many Examines? 3. How does it work? 4. What are the features?

Similar presentations


Presentation on theme: "Examine Overview D0 Online Workshop June 3, 1999 Jae Yu Outline 1. What is an Examine? 2. How Many Examines? 3. How does it work? 4. What are the features?"— Presentation transcript:

1 Examine Overview D0 Online Workshop June 3, 1999 Jae Yu Outline 1. What is an Examine? 2. How Many Examines? 3. How does it work? 4. What are the features? 5. What do we need more? 6. Conclusions

2 What is an Examine? D0 Online Workshop, June 3, 1999, J. Yu An Online Event Analysis Program that provides sufficient information to monitor Detector performances and/or Data Integrity. What are its jobs? 1. Accept Requests by Triggers or Streams (By names or bit numbers) 2. Perform Analyses and Provide info. (Unpack, Reconstruct, and Fill histograms and Ntuples) 3. Provide Sufficient Tools for Monitoring (Histogram comparison, etc) 4. Store Information into archives (Histogram files, hard copy printouts, etc) 5. Must Incorporate Event Display

3 How Many Examines? D0 Online Workshop, June 3, 1999, J. Yu Detector Examine 1. Tracking Systems: SVX() CFT (Andre Mayorov, N. Graf) 2. Pre-shower Systems: CPS() FPS() 3. Calorimeter Systems: CC+EC() ICD () 4. Beam Systems: L0 () FPD() 5. Muon Systems: Central () Forward() 6. Which detector did I miss???? Trigger Examine () Global Examine () Captain’s Examine () Anything-else-you-can-think-of-Examine

4 DAQ L3 D/D D0ME D0ME / CORBA EXAMINE EXE GUI Jerry G. Carmaneta M. Jae Hbook (ready) Joel Snow (ROOT) Tim McMahon (JAVA) Browser HistoScope ( CD-PAT ) ROOT (Ready) Integrated Tested with MC Files ReadEventDaq D0 Online Workshop, June 3, 1999, J. Yu iframework (jbk)

5 DAQ Monitoring Control Flow VBDC/R Detector Front End ADC L1 L3 L2 C/R... Examine DataDistributor DataLogger RIP/FCC DataLogger D0 Online Workshop, June 3, 1999, J. Yu

6 General Sequence of the Examine Framework Examine GUI Process Registry Framework Program 1. Start_exe(pkg, name, version) 2. Start_process 3. Register_self 4. Return Msg-port#, Hist-port# 5. Attach to Msg port PAT 6. Hist-Port# 7. Attach to Hist-port request hists. 8. getHists Process Space Main Framework Meg. Int. Hist. Int. Wg. Int. Evtdsp. Int. D0 Online Workshop, June 3, 1999, J. Yu Keep Examine Framework as close as possible to Existing Offline Framework

7 DD InitializeProcessEventsFinish Repeat Event Buffer Assigned at the Requests Abort StartProcessing SelectExamine SelectInput Pause/Resume Status Stop GUI Process Control Nodes Examine Processing Data and Message Flow Request Message Control Message Commentary Histogram Port Histogram Port. Data Flow Examine PC-Nodes DD Host ProcessRegistry ( Event display and other offline fwrk functions not added) Register Spawn an Examine Executable Message Interface Histogram Interf. EvtDSP Interface... Initiateseparatethreads Watchdogs for thread protection are separate EoRQuery Offline Framework Flow D0 Online Workshop, June 3, 1999, J. Yu ReadEventDaq

8 Examine Histogram Control Flow Reset Update Display InputSelect Save Step Hists. Cycle Hists Print Compare DD InitializeProcessEventsFinish Repeat Event Buffer Assigned at the Requests HistogramInterface Request Message Control Message Commentary Histogram Port Initiate a thread Data Flow Examine PC-Nodes DD Host PAT GUI Histogram Control Nodes ProcessRegistry Register D0 Online Workshop, June 3, 1999, J. Yu ReadEventDaq

9 Examine Interaction Sequence Diagram EventProcessing Inquiries & Process Cntrl Process Cntrl. GUI Process Registry Examine Main Thread GetEvt Thread D/D Other Threads Other Threads Process Inquiry Process List Start Process Start Examine Initialize ( Start Threads ) Initialize ( Start Thread & assign buffer ) Initialize ( Connect to D/D & Transfer Selections ) Ready ( Connection made & buffer assigned ) Ready( Examine begun, Port #’s assigned ) Ready( All threads begun, Port #’s assigned ) Ready( Threads begun ) Ready ( Thread begun and Connected to D/D ) Initialization Sequence Inquiries & Process Control (Pause, Resume, Reset, etc) Event Requests & Processing Eve nts Status & Action Reports (Pause, Resume, Reset, etc) Event Request Event Transfer Reports Inquiries & Action Action End of Run Signal End of Process Inquiry End of Process Request Finish & Clean up Terminate Terminated Terminate Terminated Terminated Terminated TerminationSequence D0 Online Workshop, June 3, 1999, J. Yu

10 So What is There? D0 Online Workshop, June 3, 1999, J. Yu 1. Data Distributor & Collector/Router 2.Interactive Framework (D0 Note #3750) 3.Network Event Transfer (ReadEventDaq) 4.Two Detector Examine Packages (Calorimeter and CFT) 5. Rudimentary ROOT GUI Features? 1. RCP Controlled Event Selection (ReadEvnetDaq) 2. RCP Controlled Output Histogram Archive 3. Multi-Threaded Event Buffering in DD and ReadEventDaq (Depth RCP Controllable) 4. File Event Transfer 5. Histogram on Shared Memory (HBOOK) -ROOT format to follow soon. 6. First Batch of ROOT Histograms Implemented 7. And many more…..

11 DD Host & Port ReadEventDaq Event Buffer Depth DD Event Buffer Depth

12 1. Complete Interactive Framework (JBK) 2. Finalize Process Control GUI 3. Finalize Event Selection Scheme 4. ROOT Histograms in Shared Memory 5. Finalize Histogram Control GUI 6. Incorporate Sub-detector Examines (Need to identify representatives) 7. Incorporate Event Display 8. Re-verify L3 C/R DD Examine Network Event Transfer (NET) 9. Improve Existing ones 10. Global Examine, Captain’s Examine… 11. What did I forget? D0 Online Workshop, June 3, 1999, J. Yu What More Do We Need?

13 D0 Online Workshop, June 3, 1999, J. Yu Highest Priority: Detector Commissioning We have A working version of Examine Framework and two Example Packages But Not Enough!!!! Need Commitments from Detector Groups You are more than Welcome to take the Responsibility !!!!! Let’s Fill Up the List!!!!!! Good for your Preparation for Run II Offline Analyses


Download ppt "Examine Overview D0 Online Workshop June 3, 1999 Jae Yu Outline 1. What is an Examine? 2. How Many Examines? 3. How does it work? 4. What are the features?"

Similar presentations


Ads by Google