1 / 26

LHCb Web Site Developent and Online Display Panels

LHCb Web Site Developent and Online Display Panels. Brandi McVety Otterbein College Advisor: Dr. Dirk Wiedner, CERN University of Michigan CERN REU 2008 14 August 2008. The LHCb Experiment. Goal: Discover cause of matter and anti-matter amount differences

Télécharger la présentation

LHCb Web Site Developent and Online Display Panels

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LHCbWeb Site Developent and Online Display Panels Brandi McVety Otterbein College Advisor: Dr. Dirk Wiedner, CERN University of Michigan CERN REU 2008 14 August 2008 B. McVety, Otterbein College

  2. The LHCb Experiment • Goal: Discover cause of matter and anti-matter amount differences • Plan: Study b-particle decays and CP-violations and other symmetry breaking • Detector: Forward Projection B. McVety, Otterbein College

  3. Phases of My Project • Phase 1Learn about the LHCb experiment and detector • Phase 2 Learn about web site design and create a site devoted to the LHCb magnet • Phase 3 Create online display panels reflecting state of the detector B. McVety, Otterbein College

  4. Phase 1: Reading • Technical Proposal from 1998 • Design Report from 2003 • Many web sites and articles about the LHCb B. McVety, Otterbein College

  5. Phase 2: Web Site Design • HTML Tutorials • Learning way around SharePoint • Usefulness of CSS style sheets • Created practice web site B. McVety, Otterbein College

  6. Phase 2: Magnet Site • Purpose: Serve as a source of information for scientists wanting to know the state of the magnet at any given moment • Implementation: Designed using SharePoint and written in HTML with attached CSS style sheets B. McVety, Otterbein College

  7. Homepage B. McVety, Otterbein College

  8. Sensor 0 B. McVety, Otterbein College

  9. Sensor 3 B. McVety, Otterbein College

  10. Homepage B. McVety, Otterbein College

  11. Cooling Water B. McVety, Otterbein College

  12. Current B. McVety, Otterbein College

  13. Phase 3: Online Display Panels • Purpose: Serve as a source of information for those wanting to know the state of the LHCb • Implementation: Designed using SharePoint and written in HTML and PHP with attached CSS sheets B. McVety, Otterbein College

  14. Panel Design 1 B. McVety, Otterbein College

  15. Panel Design 2 B. McVety, Otterbein College

  16. What is PHP? • A server-side scripting language that can be embedded into HTML • Useful for creating dynamic web pages • Remains invisible to users when viewing source B. McVety, Otterbein College

  17. Signal Implementation <?php error_reporting(E_ALL ^ E_NOTICE); function getlightstatus($lightnumber) { if($lightnumber=="1") { echo "<img src=\"Green_Traffic_Light.JPG\" width=50 height=50>"; } elseif($lightnumber=="2") { echo "<img src=\"Yellow_Traffic_Light.JPG\" width=50 height=50>"; } elseif($lightnumber=="3") { echo "<img src=\"Green_Traffic_Light.JPG\" width=50 height=50>"; } . . . elseif($lightnumber=="13") { echo "<img src=\"Green_Traffic_Light.JPG\" width=50 height=50>"; } elseif($lightnumber=="14") { echo "<img src=\"Green_Traffic_Light.JPG\" width=50 height=50>"; } } ?> • Went through several ideas: • Arrays • Create a function • call the function within the individual layers • Final Decision: Use an HTML form and read it with PHP B. McVety, Otterbein College

  18. HTML Form • Variety of content including radio buttons, drop- down selections and text input. • User can submit information to be retrieved and processed • $_GET variable: Passes information visibly through the URL and variable values can’t exceed 100 characters • $_POST variable: Variables are not shown in the URL and have no limit on character length <form action="Default.php" method="post"> <input name="Radio" type="radio" value="Red" /> <input name="Radio" type="radio" value="Yellow" /> <input name="Radio" type="radio" value="Green" /> <select name="RICH1"> <option></option> <option>Red</option> <option>Yellow</option> <option>Green</option> </select></span> <input name="Submit" type="submit" value="submit" /> </form> https://test-lhcbdisplays.web.cern.ch/test-LHCbDisplays/Default.php?RICH1=Red&TT=Green&Magnet=Yellow&IT=Green&OT=Green&RICH2=Green&SPD%2FPS=Green&ECAL=Red&HCAL=Green&Muon=Yellow&VELO=Green&Online=Green&Trigger=Red&Background=Green&Text1=&Submit=submit https://test-lhcbdisplays.web.cern.ch/test-LHCbDisplays/Default.php B. McVety, Otterbein College

  19. My HTML Form Page B. McVety, Otterbein College

  20. Example 1: Red Signal Test B. McVety, Otterbein College

  21. Example 1: Output B. McVety, Otterbein College

  22. Example 2: Individual Selections B. McVety, Otterbein College

  23. Example 2: Output B. McVety, Otterbein College

  24. Currently… • Display page and signal selection page are not saved between sessions • Have started to lay the ground work for signal selections to be saved to a file, which will then be read and updated each time the signals change • Minor Glitch: I currently lack permission to write to files in PHP B. McVety, Otterbein College

  25. Acknowledgements B. McVety, Otterbein College

  26. Questions? B. McVety, Otterbein College

More Related