7
Journal of Physics: Conference Series OPEN ACCESS Online Data Monitoring Framework Based on Histogram Packaging in Network Distributed Data Acquisition Systems To cite this article: T Konno et al 2011 J. Phys.: Conf. Ser. 331 022014 View the article online for updates and enhancements. You may also like Energy saving mechanism in fog assisted IoT enabled health monitoring framework Luina Pani, Chinmaya Misra, Azian Azamimi Abdullah et al. - The offline Data Quality Monitoring system of the ATLAS Muon Spectrometer Ilektra A Christidi and the Atlas Muon Offline Dqa group - First-year experience with the ATLAS online monitoring framework A Corso-Radu and the Atlas Tdaq Collaboration - This content was downloaded from IP address 45.165.214.24 on 11/01/2022 at 20:34

Online Data Monitoring Framework Based on Histogram

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Journal of Physics Conference Series

OPEN ACCESS

Online Data Monitoring Framework Based onHistogram Packaging in Network Distributed DataAcquisition SystemsTo cite this article T Konno et al 2011 J Phys Conf Ser 331 022014

View the article online for updates and enhancements

You may also likeEnergy saving mechanism in fog assistedIoT enabled health monitoring frameworkLuina Pani Chinmaya Misra AzianAzamimi Abdullah et al

-

The offline Data Quality Monitoring systemof the ATLAS Muon SpectrometerIlektra A Christidi and the Atlas MuonOffline Dqa group

-

First-year experience with the ATLASonline monitoring frameworkA Corso-Radu and the Atlas TdaqCollaboration

-

This content was downloaded from IP address 4516521424 on 11012022 at 2034

Online Data Monitoring Framework Based on

Histogram Packaging in Network Distributed Data

Acquisition Systems

T Konno1 A Cabarera2 M Ishitsuka1 M Kuze1 Y Sakamoto3

1 Tokyo Institute of Technology Tokyo Japan2 CNRSIN2P3-APC Laboratory Paris France3 Tohoku Gakuin University Miyagi Japan

E-mail konnohepphystitechacjp

Abstract ldquoOnline monitor frameworkrdquo is a new general software framework for online datamonitoring which provides a way to collect information from online systems including dataacquisition and displays them to shifters far from experimental sites ldquoMonitor Serverrdquo a coresystem in this framework gathers the monitoring information from the online subsystems andthe information is handled as collections of histograms named ldquoHistogram Packagerdquo MonitorServer broadcasts the histogram packages to ldquoMonitor Viewersrdquo graphical user interfaces in theframework We developed two types of the viewers with different technologies Java and webbrowser We adapted XML based file for the configuration of GUI components on the windowsand graphical objects on the canvases Monitor Viewer creates its GUIs automatically withthe configuration filesThis monitoring framework has been developed for the Double Choozreactor neutrino oscillation experiment in France but can be extended for general applicationto be used in other experiments This document reports the structure of the online monitorframework with some examples from the adaption to the Double Chooz experiment

1 IntroductionIn recent high energy physics experiments data acquisition (DAQ) systems are becoming largerwith a lot of subsystems which communicate with each other via the local area networks (LANs)Therefore a lot of information which should be monitored online is also distributed in the LANsThere are two difficulties for online monitoring in the distributed systems The first is how toachieve the scalability for a lot of computing nodes in modern DAQ systems The second is howto access monitoring information from outsides of the firewalls

ldquoOnline monitor frameworkrdquo a new software framework for online monitoring was developedto address such requirements in high energy physics experiments It provides a way to collectinformation from online systems including DAQ systems and displays them to both on-siteshifters and off-site experts via internet The development of the online monitor frameworkwas started originally for the Double Chooz experiment [1 2] a reactor neutrino experimentin France but this framework was designed to have enough versatility to be used in otherexperiments

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

Published under licence by IOP Publishing Ltd 1

2 Online monitor frameworkThe overview of the online monitor framework is shown in figure 1 The framework consistsof three parts DAQ subsystems ldquoMonitor Serverrdquo and ldquoMonitor Viewerrdquo Between DAQsubsystems and Monitor Server and between Monitor Server and Monitor Viewer the systemsare connected by TCP sockets DAQ subsystems create and send monitoring information ascollections of histograms named ldquoHistogram packagesrdquo The monitor framework is designedto be able to increase the number of monitored DAQ subsystems dynamically without anymodification of both Monitor Server and Monitor Viewer Monitor Server collects and storestemporarily monitoring information then transfers them to Monitor Viewers Two types ofMonitor Viewers were developed One is Java based viewer which accesses Monitor Serverdirectly by TCP sockets The other version is based on web browser technologies such as HTMLand java script accessing Monitor Server through web server by HTTP

Monitor Server was developed with C++ on Debian GNU Linux (Lenny) Monitor Vieweris based on Sun Java 6 [3] and Google Web Tool kit [4] Details of each component are describedin following sections

web serverDAQ sub-systems

Java version ofMonitor Viewer

TCP

Local area network

www

HTTPXMLXML

Monitor Serverweb version ofMonitor Viewer

Figure 1 Overview of Online monitor framework

21 Histogram packageldquoHistogram packagerdquo is a common interface between DAQ subsystems and Monitor Server andbetween Monitor Server and Monitor Viewer Each histogram package has its name to beused for identification and serial ID to check updates of the contents The histogram packagecan contain several types of objects to be monitored histograms (1 and 2 dimensions) graphs(scatter plots and time variation) and simple shapes (squares circles and text messages)

22 DAQ subsystemsEach DAQ subsystem communicating with Monitor Server has one histogram package and oneTCP connection Basic analysis and creation of histogram packages are done on the DAQ sidesIt enables to centralize the management of monitoring information on the Monitor Server

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

2

23 Monitor ServerMonitor Server is a core system of the online monitor framework The detailed structure ofMonitor Server is show in figure 2 The server consists of two processes Monitor Skeleton andMonitor Provider which are communicating with each other by shared memories The sharedmemories work as buffer to absorb difference of the performances between DAQ subsystems andMonitor Viewers

231 Monitor Skeleton Monitor Skeleton accepts connection from DAQ subsystem and eachconnection is handled by one thread so that DAQ subsystems with different refresh rates cansend updates of histograms in parallel Monitor Skeleton stores the updates of histograms inthe shared memories and notifies to Monitor Provider by using a mutex and condition variableThe skeleton threads always wait for receiving updates of the histogram packages It means thatthe DAQ subsystems can control the timing of updates of the packages

232 Monitor Provider Monitor Provider can read histogram packages from the sharedmemories and send them to Monitor Viewers All information for monitoring including GUIconfigurations is sent to Monitor Viewer with single connection from the provider Each threadon the provider waits for notification of update from Monitor Skeleton When the notificationcomes the threads check which packages are updated by the serial IDs and send it to the viewers

MonitorSkelton

MonitorProvider

Monitor Server

shared memory

Monitor Viewers

DAQ sub-systems

thread

process

Figure 2 Monitor Server

24 Monitor ViewerThe monitor viewers were designed to be able to access monitoring information from whereverinternet is available Two types of platform independent technologies Java and web browserwere adapted because they have functionalities to get monitoring information from MonitorServer via the network and to make graphical plots on their windows Jave based viewers canachieve enough performance to realize real-time monitoring with 1 [Hz] while browser basedviewers is easy to access from outside of the firewall By creating visible plots on the viewerside the data transfer through the networks is minimized and the dynamical control of the plotsuch as zooming and changing colors is enabled Both types of the viewers are free from anylibraries or plugins like ROOT [5] and have been tested on Windows Mac OS X and LinuxThe GUI configurations are controlled by XML based configuration files (see detail in section3) All of information needed to create plots is provided from Monitor Server

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

3

241 Java based viewers The Java based viewers can connect with Monitor Server directlyvia TCP sockets and receive the contents of the histogram packages GUIs of Java viewerswere developed with Java Swing [6] technologies The java version can achieve relatively highperformance than web browser based viewers The left side of figure 3 is a screen shot of Javabased viewers

242 Web browser based viewers The web browser based version of monitor were developedwith web technologies based on HTML and Java script The GUIs are based on Google WebToolkit (GWT) GWT works as a compiler from Java source codes to HTML and java scriptwhich can operate on several web browsers On the other hand java script cannot supportbinary data streams with TCP sockets Therefore a simple process working in web serverconnects with Monitor Server collects monitoring information and write down to XML basedtext files The viewers on web browsers access the XML files through Ajax [7] communicationand create visible plots on the window with HTML Canvas [8] technologies With the browserbased version it is easier than Java based version to access the monitoring information fromoutside of the firewalls The right side of figure 3 is a screen shot of web browser based viewer

Figure 3 Screen shots of Monitor Viewers (left Java right web browser)

3 GUI configuration with XMLXML based configuration files were adapted to define the properties of GUI components inMonitor Viewers One XML file is loaded for one histogram package from Monitor Server Inthe XML files there are two types of components One is GUI panel on the window and theother is graphical object on the canvas Monitor Viewers can create the GUIs automaticallyTherefore each DAQ subsystem can display the monitoring information with its own GUI layoutin the same framework

31 GUI panelsCanvas table panel tabbed panel and scroll panel are available in the configuration files Theconfiguration files create the nested structures of GUI components like HTML

311 Canvas Canvas is a panel on which graphical objects are drawn The XML element ofcanvas can have properties for graphical objects including monitored objects (see section 32)

312 Table panel Table panel has properties for the number of rows and columns and theratios of the widths and heights of table cells Child elements of table elements are placed inthe tables

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

4

313 Tabbed panel Tabbed panel can add tabs in its panels

314 Scroll panel Scroll panel can create vertical and horizontal scroll bars when some largesize components such as big tables are added to avoid that the panels get crushed Child elementsof scroll panel elements are set in the view point of the scroll panels

32 Graphical objectsGraphical objects are the objects which are drawn on canvases It is easy to define the graphicsproperties of the objects for example line colors and font sizes from the XML configuration files

321 Pads legend and Axis on the canvas A pad is created for each canvas to show histogramsand graphs on it It is also easy to add legends to show the list of histograms on the canvasThe properties of them for example positions and colors are controlled from the XML files Inaddition second y axis can be added to the canvas An example of these objects is shown inthe left side of figure 4

322 Histograms and graphs Histograms and graphs are drawn in pads on canvases Themaximum and minimum values of them can be defined In addition there are drawing optionsfor graphs lines or markers or both like ROOT 2D histograms show the bin contents as colorsand it is also easy to redefine the color patterns (figure 4)

323 Simple shapes in the Histogram packages Histogram packages can also have somemonitoring information of simple shapes texts squares circles and paths which are updatedby DAQsThe default properties including positions on the canvases can be defined from theXML files The example of shapes is shown in the right side of figure 4

324 Additional shapes It is also possible to put objects with various shapes by XML filesAll of properties of the objects are defined from the configuration files

Figure 4 Examples of objects on the canvases

4 Application examples in the Double Chooz experimentThe online systems including DAQs of the Double Chooz experiment are using the frameworkand some screen shots of Monitor Viewers are shown as an application example This monitoringframework has been successfully tested in the experiment during the detector commissioning

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

5

The top-left side of figure 5 shows trigger rates from the DAQ test It was updated everysecond and the top-right side of the figure is a run state monitor from Run Control showingthe progress of data taking The bottoms of figure 5 is from the high voltage control systemsThe left plots showed the summary of high voltage operation and the right plots showed PMTchannel maps in the Double Chooz detector

Figure 5 Screen shots of Monitor Viewers with the Double Chooz experiment

5 ConclusionIn recent high energy physics experiments a lot of monitoring information is distributed in theLANs and there are some difficulties to do online monitoring beyond the firewalls ldquoOnlinemonitor frameworkrdquo a new general software frame work was developed to give a way tomanage these information and display them on the computers far from the experimental siteThe monitor framework was adapted by the Double Chooz experiment and has been testedsuccessfully during the commissioning

AcknowledgmentsTK also acknowledges the financial support from the Global Center of Excellence Program byMEXT Japan through the rdquoNanoscience and Quantum Physicsrdquo Project of the Tokyo Instituteof Technology

References[1] Ardellier F et al Double Chooz A Search for the Neutrino Mixing Angle θ13 2006 hep-ex0606025[2] Konno T et al Online Monitoring System for Double Chooz Experiment Conference Record for 2009 IEEE

Nuclear Science Symp and Medical Imaging Conf pp622-628[3] Java httpwwwjavacomendownloadfaqwhatis javaxml[4] Google web toolkit httpcodegooglecomintlenwebtoolkit[5] ROOT httprootcernch[6] Swinf httpdownloadoraclecomjavasetutorialuiswing[7] Open Ajax httpwwwopenajaxorg[8] HTML5 httpwwww3orgTRhtml5

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

6

Online Data Monitoring Framework Based on

Histogram Packaging in Network Distributed Data

Acquisition Systems

T Konno1 A Cabarera2 M Ishitsuka1 M Kuze1 Y Sakamoto3

1 Tokyo Institute of Technology Tokyo Japan2 CNRSIN2P3-APC Laboratory Paris France3 Tohoku Gakuin University Miyagi Japan

E-mail konnohepphystitechacjp

Abstract ldquoOnline monitor frameworkrdquo is a new general software framework for online datamonitoring which provides a way to collect information from online systems including dataacquisition and displays them to shifters far from experimental sites ldquoMonitor Serverrdquo a coresystem in this framework gathers the monitoring information from the online subsystems andthe information is handled as collections of histograms named ldquoHistogram Packagerdquo MonitorServer broadcasts the histogram packages to ldquoMonitor Viewersrdquo graphical user interfaces in theframework We developed two types of the viewers with different technologies Java and webbrowser We adapted XML based file for the configuration of GUI components on the windowsand graphical objects on the canvases Monitor Viewer creates its GUIs automatically withthe configuration filesThis monitoring framework has been developed for the Double Choozreactor neutrino oscillation experiment in France but can be extended for general applicationto be used in other experiments This document reports the structure of the online monitorframework with some examples from the adaption to the Double Chooz experiment

1 IntroductionIn recent high energy physics experiments data acquisition (DAQ) systems are becoming largerwith a lot of subsystems which communicate with each other via the local area networks (LANs)Therefore a lot of information which should be monitored online is also distributed in the LANsThere are two difficulties for online monitoring in the distributed systems The first is how toachieve the scalability for a lot of computing nodes in modern DAQ systems The second is howto access monitoring information from outsides of the firewalls

ldquoOnline monitor frameworkrdquo a new software framework for online monitoring was developedto address such requirements in high energy physics experiments It provides a way to collectinformation from online systems including DAQ systems and displays them to both on-siteshifters and off-site experts via internet The development of the online monitor frameworkwas started originally for the Double Chooz experiment [1 2] a reactor neutrino experimentin France but this framework was designed to have enough versatility to be used in otherexperiments

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

Published under licence by IOP Publishing Ltd 1

2 Online monitor frameworkThe overview of the online monitor framework is shown in figure 1 The framework consistsof three parts DAQ subsystems ldquoMonitor Serverrdquo and ldquoMonitor Viewerrdquo Between DAQsubsystems and Monitor Server and between Monitor Server and Monitor Viewer the systemsare connected by TCP sockets DAQ subsystems create and send monitoring information ascollections of histograms named ldquoHistogram packagesrdquo The monitor framework is designedto be able to increase the number of monitored DAQ subsystems dynamically without anymodification of both Monitor Server and Monitor Viewer Monitor Server collects and storestemporarily monitoring information then transfers them to Monitor Viewers Two types ofMonitor Viewers were developed One is Java based viewer which accesses Monitor Serverdirectly by TCP sockets The other version is based on web browser technologies such as HTMLand java script accessing Monitor Server through web server by HTTP

Monitor Server was developed with C++ on Debian GNU Linux (Lenny) Monitor Vieweris based on Sun Java 6 [3] and Google Web Tool kit [4] Details of each component are describedin following sections

web serverDAQ sub-systems

Java version ofMonitor Viewer

TCP

Local area network

www

HTTPXMLXML

Monitor Serverweb version ofMonitor Viewer

Figure 1 Overview of Online monitor framework

21 Histogram packageldquoHistogram packagerdquo is a common interface between DAQ subsystems and Monitor Server andbetween Monitor Server and Monitor Viewer Each histogram package has its name to beused for identification and serial ID to check updates of the contents The histogram packagecan contain several types of objects to be monitored histograms (1 and 2 dimensions) graphs(scatter plots and time variation) and simple shapes (squares circles and text messages)

22 DAQ subsystemsEach DAQ subsystem communicating with Monitor Server has one histogram package and oneTCP connection Basic analysis and creation of histogram packages are done on the DAQ sidesIt enables to centralize the management of monitoring information on the Monitor Server

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

2

23 Monitor ServerMonitor Server is a core system of the online monitor framework The detailed structure ofMonitor Server is show in figure 2 The server consists of two processes Monitor Skeleton andMonitor Provider which are communicating with each other by shared memories The sharedmemories work as buffer to absorb difference of the performances between DAQ subsystems andMonitor Viewers

231 Monitor Skeleton Monitor Skeleton accepts connection from DAQ subsystem and eachconnection is handled by one thread so that DAQ subsystems with different refresh rates cansend updates of histograms in parallel Monitor Skeleton stores the updates of histograms inthe shared memories and notifies to Monitor Provider by using a mutex and condition variableThe skeleton threads always wait for receiving updates of the histogram packages It means thatthe DAQ subsystems can control the timing of updates of the packages

232 Monitor Provider Monitor Provider can read histogram packages from the sharedmemories and send them to Monitor Viewers All information for monitoring including GUIconfigurations is sent to Monitor Viewer with single connection from the provider Each threadon the provider waits for notification of update from Monitor Skeleton When the notificationcomes the threads check which packages are updated by the serial IDs and send it to the viewers

MonitorSkelton

MonitorProvider

Monitor Server

shared memory

Monitor Viewers

DAQ sub-systems

thread

process

Figure 2 Monitor Server

24 Monitor ViewerThe monitor viewers were designed to be able to access monitoring information from whereverinternet is available Two types of platform independent technologies Java and web browserwere adapted because they have functionalities to get monitoring information from MonitorServer via the network and to make graphical plots on their windows Jave based viewers canachieve enough performance to realize real-time monitoring with 1 [Hz] while browser basedviewers is easy to access from outside of the firewall By creating visible plots on the viewerside the data transfer through the networks is minimized and the dynamical control of the plotsuch as zooming and changing colors is enabled Both types of the viewers are free from anylibraries or plugins like ROOT [5] and have been tested on Windows Mac OS X and LinuxThe GUI configurations are controlled by XML based configuration files (see detail in section3) All of information needed to create plots is provided from Monitor Server

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

3

241 Java based viewers The Java based viewers can connect with Monitor Server directlyvia TCP sockets and receive the contents of the histogram packages GUIs of Java viewerswere developed with Java Swing [6] technologies The java version can achieve relatively highperformance than web browser based viewers The left side of figure 3 is a screen shot of Javabased viewers

242 Web browser based viewers The web browser based version of monitor were developedwith web technologies based on HTML and Java script The GUIs are based on Google WebToolkit (GWT) GWT works as a compiler from Java source codes to HTML and java scriptwhich can operate on several web browsers On the other hand java script cannot supportbinary data streams with TCP sockets Therefore a simple process working in web serverconnects with Monitor Server collects monitoring information and write down to XML basedtext files The viewers on web browsers access the XML files through Ajax [7] communicationand create visible plots on the window with HTML Canvas [8] technologies With the browserbased version it is easier than Java based version to access the monitoring information fromoutside of the firewalls The right side of figure 3 is a screen shot of web browser based viewer

Figure 3 Screen shots of Monitor Viewers (left Java right web browser)

3 GUI configuration with XMLXML based configuration files were adapted to define the properties of GUI components inMonitor Viewers One XML file is loaded for one histogram package from Monitor Server Inthe XML files there are two types of components One is GUI panel on the window and theother is graphical object on the canvas Monitor Viewers can create the GUIs automaticallyTherefore each DAQ subsystem can display the monitoring information with its own GUI layoutin the same framework

31 GUI panelsCanvas table panel tabbed panel and scroll panel are available in the configuration files Theconfiguration files create the nested structures of GUI components like HTML

311 Canvas Canvas is a panel on which graphical objects are drawn The XML element ofcanvas can have properties for graphical objects including monitored objects (see section 32)

312 Table panel Table panel has properties for the number of rows and columns and theratios of the widths and heights of table cells Child elements of table elements are placed inthe tables

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

4

313 Tabbed panel Tabbed panel can add tabs in its panels

314 Scroll panel Scroll panel can create vertical and horizontal scroll bars when some largesize components such as big tables are added to avoid that the panels get crushed Child elementsof scroll panel elements are set in the view point of the scroll panels

32 Graphical objectsGraphical objects are the objects which are drawn on canvases It is easy to define the graphicsproperties of the objects for example line colors and font sizes from the XML configuration files

321 Pads legend and Axis on the canvas A pad is created for each canvas to show histogramsand graphs on it It is also easy to add legends to show the list of histograms on the canvasThe properties of them for example positions and colors are controlled from the XML files Inaddition second y axis can be added to the canvas An example of these objects is shown inthe left side of figure 4

322 Histograms and graphs Histograms and graphs are drawn in pads on canvases Themaximum and minimum values of them can be defined In addition there are drawing optionsfor graphs lines or markers or both like ROOT 2D histograms show the bin contents as colorsand it is also easy to redefine the color patterns (figure 4)

323 Simple shapes in the Histogram packages Histogram packages can also have somemonitoring information of simple shapes texts squares circles and paths which are updatedby DAQsThe default properties including positions on the canvases can be defined from theXML files The example of shapes is shown in the right side of figure 4

324 Additional shapes It is also possible to put objects with various shapes by XML filesAll of properties of the objects are defined from the configuration files

Figure 4 Examples of objects on the canvases

4 Application examples in the Double Chooz experimentThe online systems including DAQs of the Double Chooz experiment are using the frameworkand some screen shots of Monitor Viewers are shown as an application example This monitoringframework has been successfully tested in the experiment during the detector commissioning

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

5

The top-left side of figure 5 shows trigger rates from the DAQ test It was updated everysecond and the top-right side of the figure is a run state monitor from Run Control showingthe progress of data taking The bottoms of figure 5 is from the high voltage control systemsThe left plots showed the summary of high voltage operation and the right plots showed PMTchannel maps in the Double Chooz detector

Figure 5 Screen shots of Monitor Viewers with the Double Chooz experiment

5 ConclusionIn recent high energy physics experiments a lot of monitoring information is distributed in theLANs and there are some difficulties to do online monitoring beyond the firewalls ldquoOnlinemonitor frameworkrdquo a new general software frame work was developed to give a way tomanage these information and display them on the computers far from the experimental siteThe monitor framework was adapted by the Double Chooz experiment and has been testedsuccessfully during the commissioning

AcknowledgmentsTK also acknowledges the financial support from the Global Center of Excellence Program byMEXT Japan through the rdquoNanoscience and Quantum Physicsrdquo Project of the Tokyo Instituteof Technology

References[1] Ardellier F et al Double Chooz A Search for the Neutrino Mixing Angle θ13 2006 hep-ex0606025[2] Konno T et al Online Monitoring System for Double Chooz Experiment Conference Record for 2009 IEEE

Nuclear Science Symp and Medical Imaging Conf pp622-628[3] Java httpwwwjavacomendownloadfaqwhatis javaxml[4] Google web toolkit httpcodegooglecomintlenwebtoolkit[5] ROOT httprootcernch[6] Swinf httpdownloadoraclecomjavasetutorialuiswing[7] Open Ajax httpwwwopenajaxorg[8] HTML5 httpwwww3orgTRhtml5

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

6

2 Online monitor frameworkThe overview of the online monitor framework is shown in figure 1 The framework consistsof three parts DAQ subsystems ldquoMonitor Serverrdquo and ldquoMonitor Viewerrdquo Between DAQsubsystems and Monitor Server and between Monitor Server and Monitor Viewer the systemsare connected by TCP sockets DAQ subsystems create and send monitoring information ascollections of histograms named ldquoHistogram packagesrdquo The monitor framework is designedto be able to increase the number of monitored DAQ subsystems dynamically without anymodification of both Monitor Server and Monitor Viewer Monitor Server collects and storestemporarily monitoring information then transfers them to Monitor Viewers Two types ofMonitor Viewers were developed One is Java based viewer which accesses Monitor Serverdirectly by TCP sockets The other version is based on web browser technologies such as HTMLand java script accessing Monitor Server through web server by HTTP

Monitor Server was developed with C++ on Debian GNU Linux (Lenny) Monitor Vieweris based on Sun Java 6 [3] and Google Web Tool kit [4] Details of each component are describedin following sections

web serverDAQ sub-systems

Java version ofMonitor Viewer

TCP

Local area network

www

HTTPXMLXML

Monitor Serverweb version ofMonitor Viewer

Figure 1 Overview of Online monitor framework

21 Histogram packageldquoHistogram packagerdquo is a common interface between DAQ subsystems and Monitor Server andbetween Monitor Server and Monitor Viewer Each histogram package has its name to beused for identification and serial ID to check updates of the contents The histogram packagecan contain several types of objects to be monitored histograms (1 and 2 dimensions) graphs(scatter plots and time variation) and simple shapes (squares circles and text messages)

22 DAQ subsystemsEach DAQ subsystem communicating with Monitor Server has one histogram package and oneTCP connection Basic analysis and creation of histogram packages are done on the DAQ sidesIt enables to centralize the management of monitoring information on the Monitor Server

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

2

23 Monitor ServerMonitor Server is a core system of the online monitor framework The detailed structure ofMonitor Server is show in figure 2 The server consists of two processes Monitor Skeleton andMonitor Provider which are communicating with each other by shared memories The sharedmemories work as buffer to absorb difference of the performances between DAQ subsystems andMonitor Viewers

231 Monitor Skeleton Monitor Skeleton accepts connection from DAQ subsystem and eachconnection is handled by one thread so that DAQ subsystems with different refresh rates cansend updates of histograms in parallel Monitor Skeleton stores the updates of histograms inthe shared memories and notifies to Monitor Provider by using a mutex and condition variableThe skeleton threads always wait for receiving updates of the histogram packages It means thatthe DAQ subsystems can control the timing of updates of the packages

232 Monitor Provider Monitor Provider can read histogram packages from the sharedmemories and send them to Monitor Viewers All information for monitoring including GUIconfigurations is sent to Monitor Viewer with single connection from the provider Each threadon the provider waits for notification of update from Monitor Skeleton When the notificationcomes the threads check which packages are updated by the serial IDs and send it to the viewers

MonitorSkelton

MonitorProvider

Monitor Server

shared memory

Monitor Viewers

DAQ sub-systems

thread

process

Figure 2 Monitor Server

24 Monitor ViewerThe monitor viewers were designed to be able to access monitoring information from whereverinternet is available Two types of platform independent technologies Java and web browserwere adapted because they have functionalities to get monitoring information from MonitorServer via the network and to make graphical plots on their windows Jave based viewers canachieve enough performance to realize real-time monitoring with 1 [Hz] while browser basedviewers is easy to access from outside of the firewall By creating visible plots on the viewerside the data transfer through the networks is minimized and the dynamical control of the plotsuch as zooming and changing colors is enabled Both types of the viewers are free from anylibraries or plugins like ROOT [5] and have been tested on Windows Mac OS X and LinuxThe GUI configurations are controlled by XML based configuration files (see detail in section3) All of information needed to create plots is provided from Monitor Server

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

3

241 Java based viewers The Java based viewers can connect with Monitor Server directlyvia TCP sockets and receive the contents of the histogram packages GUIs of Java viewerswere developed with Java Swing [6] technologies The java version can achieve relatively highperformance than web browser based viewers The left side of figure 3 is a screen shot of Javabased viewers

242 Web browser based viewers The web browser based version of monitor were developedwith web technologies based on HTML and Java script The GUIs are based on Google WebToolkit (GWT) GWT works as a compiler from Java source codes to HTML and java scriptwhich can operate on several web browsers On the other hand java script cannot supportbinary data streams with TCP sockets Therefore a simple process working in web serverconnects with Monitor Server collects monitoring information and write down to XML basedtext files The viewers on web browsers access the XML files through Ajax [7] communicationand create visible plots on the window with HTML Canvas [8] technologies With the browserbased version it is easier than Java based version to access the monitoring information fromoutside of the firewalls The right side of figure 3 is a screen shot of web browser based viewer

Figure 3 Screen shots of Monitor Viewers (left Java right web browser)

3 GUI configuration with XMLXML based configuration files were adapted to define the properties of GUI components inMonitor Viewers One XML file is loaded for one histogram package from Monitor Server Inthe XML files there are two types of components One is GUI panel on the window and theother is graphical object on the canvas Monitor Viewers can create the GUIs automaticallyTherefore each DAQ subsystem can display the monitoring information with its own GUI layoutin the same framework

31 GUI panelsCanvas table panel tabbed panel and scroll panel are available in the configuration files Theconfiguration files create the nested structures of GUI components like HTML

311 Canvas Canvas is a panel on which graphical objects are drawn The XML element ofcanvas can have properties for graphical objects including monitored objects (see section 32)

312 Table panel Table panel has properties for the number of rows and columns and theratios of the widths and heights of table cells Child elements of table elements are placed inthe tables

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

4

313 Tabbed panel Tabbed panel can add tabs in its panels

314 Scroll panel Scroll panel can create vertical and horizontal scroll bars when some largesize components such as big tables are added to avoid that the panels get crushed Child elementsof scroll panel elements are set in the view point of the scroll panels

32 Graphical objectsGraphical objects are the objects which are drawn on canvases It is easy to define the graphicsproperties of the objects for example line colors and font sizes from the XML configuration files

321 Pads legend and Axis on the canvas A pad is created for each canvas to show histogramsand graphs on it It is also easy to add legends to show the list of histograms on the canvasThe properties of them for example positions and colors are controlled from the XML files Inaddition second y axis can be added to the canvas An example of these objects is shown inthe left side of figure 4

322 Histograms and graphs Histograms and graphs are drawn in pads on canvases Themaximum and minimum values of them can be defined In addition there are drawing optionsfor graphs lines or markers or both like ROOT 2D histograms show the bin contents as colorsand it is also easy to redefine the color patterns (figure 4)

323 Simple shapes in the Histogram packages Histogram packages can also have somemonitoring information of simple shapes texts squares circles and paths which are updatedby DAQsThe default properties including positions on the canvases can be defined from theXML files The example of shapes is shown in the right side of figure 4

324 Additional shapes It is also possible to put objects with various shapes by XML filesAll of properties of the objects are defined from the configuration files

Figure 4 Examples of objects on the canvases

4 Application examples in the Double Chooz experimentThe online systems including DAQs of the Double Chooz experiment are using the frameworkand some screen shots of Monitor Viewers are shown as an application example This monitoringframework has been successfully tested in the experiment during the detector commissioning

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

5

The top-left side of figure 5 shows trigger rates from the DAQ test It was updated everysecond and the top-right side of the figure is a run state monitor from Run Control showingthe progress of data taking The bottoms of figure 5 is from the high voltage control systemsThe left plots showed the summary of high voltage operation and the right plots showed PMTchannel maps in the Double Chooz detector

Figure 5 Screen shots of Monitor Viewers with the Double Chooz experiment

5 ConclusionIn recent high energy physics experiments a lot of monitoring information is distributed in theLANs and there are some difficulties to do online monitoring beyond the firewalls ldquoOnlinemonitor frameworkrdquo a new general software frame work was developed to give a way tomanage these information and display them on the computers far from the experimental siteThe monitor framework was adapted by the Double Chooz experiment and has been testedsuccessfully during the commissioning

AcknowledgmentsTK also acknowledges the financial support from the Global Center of Excellence Program byMEXT Japan through the rdquoNanoscience and Quantum Physicsrdquo Project of the Tokyo Instituteof Technology

References[1] Ardellier F et al Double Chooz A Search for the Neutrino Mixing Angle θ13 2006 hep-ex0606025[2] Konno T et al Online Monitoring System for Double Chooz Experiment Conference Record for 2009 IEEE

Nuclear Science Symp and Medical Imaging Conf pp622-628[3] Java httpwwwjavacomendownloadfaqwhatis javaxml[4] Google web toolkit httpcodegooglecomintlenwebtoolkit[5] ROOT httprootcernch[6] Swinf httpdownloadoraclecomjavasetutorialuiswing[7] Open Ajax httpwwwopenajaxorg[8] HTML5 httpwwww3orgTRhtml5

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

6

23 Monitor ServerMonitor Server is a core system of the online monitor framework The detailed structure ofMonitor Server is show in figure 2 The server consists of two processes Monitor Skeleton andMonitor Provider which are communicating with each other by shared memories The sharedmemories work as buffer to absorb difference of the performances between DAQ subsystems andMonitor Viewers

231 Monitor Skeleton Monitor Skeleton accepts connection from DAQ subsystem and eachconnection is handled by one thread so that DAQ subsystems with different refresh rates cansend updates of histograms in parallel Monitor Skeleton stores the updates of histograms inthe shared memories and notifies to Monitor Provider by using a mutex and condition variableThe skeleton threads always wait for receiving updates of the histogram packages It means thatthe DAQ subsystems can control the timing of updates of the packages

232 Monitor Provider Monitor Provider can read histogram packages from the sharedmemories and send them to Monitor Viewers All information for monitoring including GUIconfigurations is sent to Monitor Viewer with single connection from the provider Each threadon the provider waits for notification of update from Monitor Skeleton When the notificationcomes the threads check which packages are updated by the serial IDs and send it to the viewers

MonitorSkelton

MonitorProvider

Monitor Server

shared memory

Monitor Viewers

DAQ sub-systems

thread

process

Figure 2 Monitor Server

24 Monitor ViewerThe monitor viewers were designed to be able to access monitoring information from whereverinternet is available Two types of platform independent technologies Java and web browserwere adapted because they have functionalities to get monitoring information from MonitorServer via the network and to make graphical plots on their windows Jave based viewers canachieve enough performance to realize real-time monitoring with 1 [Hz] while browser basedviewers is easy to access from outside of the firewall By creating visible plots on the viewerside the data transfer through the networks is minimized and the dynamical control of the plotsuch as zooming and changing colors is enabled Both types of the viewers are free from anylibraries or plugins like ROOT [5] and have been tested on Windows Mac OS X and LinuxThe GUI configurations are controlled by XML based configuration files (see detail in section3) All of information needed to create plots is provided from Monitor Server

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

3

241 Java based viewers The Java based viewers can connect with Monitor Server directlyvia TCP sockets and receive the contents of the histogram packages GUIs of Java viewerswere developed with Java Swing [6] technologies The java version can achieve relatively highperformance than web browser based viewers The left side of figure 3 is a screen shot of Javabased viewers

242 Web browser based viewers The web browser based version of monitor were developedwith web technologies based on HTML and Java script The GUIs are based on Google WebToolkit (GWT) GWT works as a compiler from Java source codes to HTML and java scriptwhich can operate on several web browsers On the other hand java script cannot supportbinary data streams with TCP sockets Therefore a simple process working in web serverconnects with Monitor Server collects monitoring information and write down to XML basedtext files The viewers on web browsers access the XML files through Ajax [7] communicationand create visible plots on the window with HTML Canvas [8] technologies With the browserbased version it is easier than Java based version to access the monitoring information fromoutside of the firewalls The right side of figure 3 is a screen shot of web browser based viewer

Figure 3 Screen shots of Monitor Viewers (left Java right web browser)

3 GUI configuration with XMLXML based configuration files were adapted to define the properties of GUI components inMonitor Viewers One XML file is loaded for one histogram package from Monitor Server Inthe XML files there are two types of components One is GUI panel on the window and theother is graphical object on the canvas Monitor Viewers can create the GUIs automaticallyTherefore each DAQ subsystem can display the monitoring information with its own GUI layoutin the same framework

31 GUI panelsCanvas table panel tabbed panel and scroll panel are available in the configuration files Theconfiguration files create the nested structures of GUI components like HTML

311 Canvas Canvas is a panel on which graphical objects are drawn The XML element ofcanvas can have properties for graphical objects including monitored objects (see section 32)

312 Table panel Table panel has properties for the number of rows and columns and theratios of the widths and heights of table cells Child elements of table elements are placed inthe tables

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

4

313 Tabbed panel Tabbed panel can add tabs in its panels

314 Scroll panel Scroll panel can create vertical and horizontal scroll bars when some largesize components such as big tables are added to avoid that the panels get crushed Child elementsof scroll panel elements are set in the view point of the scroll panels

32 Graphical objectsGraphical objects are the objects which are drawn on canvases It is easy to define the graphicsproperties of the objects for example line colors and font sizes from the XML configuration files

321 Pads legend and Axis on the canvas A pad is created for each canvas to show histogramsand graphs on it It is also easy to add legends to show the list of histograms on the canvasThe properties of them for example positions and colors are controlled from the XML files Inaddition second y axis can be added to the canvas An example of these objects is shown inthe left side of figure 4

322 Histograms and graphs Histograms and graphs are drawn in pads on canvases Themaximum and minimum values of them can be defined In addition there are drawing optionsfor graphs lines or markers or both like ROOT 2D histograms show the bin contents as colorsand it is also easy to redefine the color patterns (figure 4)

323 Simple shapes in the Histogram packages Histogram packages can also have somemonitoring information of simple shapes texts squares circles and paths which are updatedby DAQsThe default properties including positions on the canvases can be defined from theXML files The example of shapes is shown in the right side of figure 4

324 Additional shapes It is also possible to put objects with various shapes by XML filesAll of properties of the objects are defined from the configuration files

Figure 4 Examples of objects on the canvases

4 Application examples in the Double Chooz experimentThe online systems including DAQs of the Double Chooz experiment are using the frameworkand some screen shots of Monitor Viewers are shown as an application example This monitoringframework has been successfully tested in the experiment during the detector commissioning

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

5

The top-left side of figure 5 shows trigger rates from the DAQ test It was updated everysecond and the top-right side of the figure is a run state monitor from Run Control showingthe progress of data taking The bottoms of figure 5 is from the high voltage control systemsThe left plots showed the summary of high voltage operation and the right plots showed PMTchannel maps in the Double Chooz detector

Figure 5 Screen shots of Monitor Viewers with the Double Chooz experiment

5 ConclusionIn recent high energy physics experiments a lot of monitoring information is distributed in theLANs and there are some difficulties to do online monitoring beyond the firewalls ldquoOnlinemonitor frameworkrdquo a new general software frame work was developed to give a way tomanage these information and display them on the computers far from the experimental siteThe monitor framework was adapted by the Double Chooz experiment and has been testedsuccessfully during the commissioning

AcknowledgmentsTK also acknowledges the financial support from the Global Center of Excellence Program byMEXT Japan through the rdquoNanoscience and Quantum Physicsrdquo Project of the Tokyo Instituteof Technology

References[1] Ardellier F et al Double Chooz A Search for the Neutrino Mixing Angle θ13 2006 hep-ex0606025[2] Konno T et al Online Monitoring System for Double Chooz Experiment Conference Record for 2009 IEEE

Nuclear Science Symp and Medical Imaging Conf pp622-628[3] Java httpwwwjavacomendownloadfaqwhatis javaxml[4] Google web toolkit httpcodegooglecomintlenwebtoolkit[5] ROOT httprootcernch[6] Swinf httpdownloadoraclecomjavasetutorialuiswing[7] Open Ajax httpwwwopenajaxorg[8] HTML5 httpwwww3orgTRhtml5

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

6

241 Java based viewers The Java based viewers can connect with Monitor Server directlyvia TCP sockets and receive the contents of the histogram packages GUIs of Java viewerswere developed with Java Swing [6] technologies The java version can achieve relatively highperformance than web browser based viewers The left side of figure 3 is a screen shot of Javabased viewers

242 Web browser based viewers The web browser based version of monitor were developedwith web technologies based on HTML and Java script The GUIs are based on Google WebToolkit (GWT) GWT works as a compiler from Java source codes to HTML and java scriptwhich can operate on several web browsers On the other hand java script cannot supportbinary data streams with TCP sockets Therefore a simple process working in web serverconnects with Monitor Server collects monitoring information and write down to XML basedtext files The viewers on web browsers access the XML files through Ajax [7] communicationand create visible plots on the window with HTML Canvas [8] technologies With the browserbased version it is easier than Java based version to access the monitoring information fromoutside of the firewalls The right side of figure 3 is a screen shot of web browser based viewer

Figure 3 Screen shots of Monitor Viewers (left Java right web browser)

3 GUI configuration with XMLXML based configuration files were adapted to define the properties of GUI components inMonitor Viewers One XML file is loaded for one histogram package from Monitor Server Inthe XML files there are two types of components One is GUI panel on the window and theother is graphical object on the canvas Monitor Viewers can create the GUIs automaticallyTherefore each DAQ subsystem can display the monitoring information with its own GUI layoutin the same framework

31 GUI panelsCanvas table panel tabbed panel and scroll panel are available in the configuration files Theconfiguration files create the nested structures of GUI components like HTML

311 Canvas Canvas is a panel on which graphical objects are drawn The XML element ofcanvas can have properties for graphical objects including monitored objects (see section 32)

312 Table panel Table panel has properties for the number of rows and columns and theratios of the widths and heights of table cells Child elements of table elements are placed inthe tables

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

4

313 Tabbed panel Tabbed panel can add tabs in its panels

314 Scroll panel Scroll panel can create vertical and horizontal scroll bars when some largesize components such as big tables are added to avoid that the panels get crushed Child elementsof scroll panel elements are set in the view point of the scroll panels

32 Graphical objectsGraphical objects are the objects which are drawn on canvases It is easy to define the graphicsproperties of the objects for example line colors and font sizes from the XML configuration files

321 Pads legend and Axis on the canvas A pad is created for each canvas to show histogramsand graphs on it It is also easy to add legends to show the list of histograms on the canvasThe properties of them for example positions and colors are controlled from the XML files Inaddition second y axis can be added to the canvas An example of these objects is shown inthe left side of figure 4

322 Histograms and graphs Histograms and graphs are drawn in pads on canvases Themaximum and minimum values of them can be defined In addition there are drawing optionsfor graphs lines or markers or both like ROOT 2D histograms show the bin contents as colorsand it is also easy to redefine the color patterns (figure 4)

323 Simple shapes in the Histogram packages Histogram packages can also have somemonitoring information of simple shapes texts squares circles and paths which are updatedby DAQsThe default properties including positions on the canvases can be defined from theXML files The example of shapes is shown in the right side of figure 4

324 Additional shapes It is also possible to put objects with various shapes by XML filesAll of properties of the objects are defined from the configuration files

Figure 4 Examples of objects on the canvases

4 Application examples in the Double Chooz experimentThe online systems including DAQs of the Double Chooz experiment are using the frameworkand some screen shots of Monitor Viewers are shown as an application example This monitoringframework has been successfully tested in the experiment during the detector commissioning

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

5

The top-left side of figure 5 shows trigger rates from the DAQ test It was updated everysecond and the top-right side of the figure is a run state monitor from Run Control showingthe progress of data taking The bottoms of figure 5 is from the high voltage control systemsThe left plots showed the summary of high voltage operation and the right plots showed PMTchannel maps in the Double Chooz detector

Figure 5 Screen shots of Monitor Viewers with the Double Chooz experiment

5 ConclusionIn recent high energy physics experiments a lot of monitoring information is distributed in theLANs and there are some difficulties to do online monitoring beyond the firewalls ldquoOnlinemonitor frameworkrdquo a new general software frame work was developed to give a way tomanage these information and display them on the computers far from the experimental siteThe monitor framework was adapted by the Double Chooz experiment and has been testedsuccessfully during the commissioning

AcknowledgmentsTK also acknowledges the financial support from the Global Center of Excellence Program byMEXT Japan through the rdquoNanoscience and Quantum Physicsrdquo Project of the Tokyo Instituteof Technology

References[1] Ardellier F et al Double Chooz A Search for the Neutrino Mixing Angle θ13 2006 hep-ex0606025[2] Konno T et al Online Monitoring System for Double Chooz Experiment Conference Record for 2009 IEEE

Nuclear Science Symp and Medical Imaging Conf pp622-628[3] Java httpwwwjavacomendownloadfaqwhatis javaxml[4] Google web toolkit httpcodegooglecomintlenwebtoolkit[5] ROOT httprootcernch[6] Swinf httpdownloadoraclecomjavasetutorialuiswing[7] Open Ajax httpwwwopenajaxorg[8] HTML5 httpwwww3orgTRhtml5

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

6

313 Tabbed panel Tabbed panel can add tabs in its panels

314 Scroll panel Scroll panel can create vertical and horizontal scroll bars when some largesize components such as big tables are added to avoid that the panels get crushed Child elementsof scroll panel elements are set in the view point of the scroll panels

32 Graphical objectsGraphical objects are the objects which are drawn on canvases It is easy to define the graphicsproperties of the objects for example line colors and font sizes from the XML configuration files

321 Pads legend and Axis on the canvas A pad is created for each canvas to show histogramsand graphs on it It is also easy to add legends to show the list of histograms on the canvasThe properties of them for example positions and colors are controlled from the XML files Inaddition second y axis can be added to the canvas An example of these objects is shown inthe left side of figure 4

322 Histograms and graphs Histograms and graphs are drawn in pads on canvases Themaximum and minimum values of them can be defined In addition there are drawing optionsfor graphs lines or markers or both like ROOT 2D histograms show the bin contents as colorsand it is also easy to redefine the color patterns (figure 4)

323 Simple shapes in the Histogram packages Histogram packages can also have somemonitoring information of simple shapes texts squares circles and paths which are updatedby DAQsThe default properties including positions on the canvases can be defined from theXML files The example of shapes is shown in the right side of figure 4

324 Additional shapes It is also possible to put objects with various shapes by XML filesAll of properties of the objects are defined from the configuration files

Figure 4 Examples of objects on the canvases

4 Application examples in the Double Chooz experimentThe online systems including DAQs of the Double Chooz experiment are using the frameworkand some screen shots of Monitor Viewers are shown as an application example This monitoringframework has been successfully tested in the experiment during the detector commissioning

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

5

The top-left side of figure 5 shows trigger rates from the DAQ test It was updated everysecond and the top-right side of the figure is a run state monitor from Run Control showingthe progress of data taking The bottoms of figure 5 is from the high voltage control systemsThe left plots showed the summary of high voltage operation and the right plots showed PMTchannel maps in the Double Chooz detector

Figure 5 Screen shots of Monitor Viewers with the Double Chooz experiment

5 ConclusionIn recent high energy physics experiments a lot of monitoring information is distributed in theLANs and there are some difficulties to do online monitoring beyond the firewalls ldquoOnlinemonitor frameworkrdquo a new general software frame work was developed to give a way tomanage these information and display them on the computers far from the experimental siteThe monitor framework was adapted by the Double Chooz experiment and has been testedsuccessfully during the commissioning

AcknowledgmentsTK also acknowledges the financial support from the Global Center of Excellence Program byMEXT Japan through the rdquoNanoscience and Quantum Physicsrdquo Project of the Tokyo Instituteof Technology

References[1] Ardellier F et al Double Chooz A Search for the Neutrino Mixing Angle θ13 2006 hep-ex0606025[2] Konno T et al Online Monitoring System for Double Chooz Experiment Conference Record for 2009 IEEE

Nuclear Science Symp and Medical Imaging Conf pp622-628[3] Java httpwwwjavacomendownloadfaqwhatis javaxml[4] Google web toolkit httpcodegooglecomintlenwebtoolkit[5] ROOT httprootcernch[6] Swinf httpdownloadoraclecomjavasetutorialuiswing[7] Open Ajax httpwwwopenajaxorg[8] HTML5 httpwwww3orgTRhtml5

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

6

The top-left side of figure 5 shows trigger rates from the DAQ test It was updated everysecond and the top-right side of the figure is a run state monitor from Run Control showingthe progress of data taking The bottoms of figure 5 is from the high voltage control systemsThe left plots showed the summary of high voltage operation and the right plots showed PMTchannel maps in the Double Chooz detector

Figure 5 Screen shots of Monitor Viewers with the Double Chooz experiment

5 ConclusionIn recent high energy physics experiments a lot of monitoring information is distributed in theLANs and there are some difficulties to do online monitoring beyond the firewalls ldquoOnlinemonitor frameworkrdquo a new general software frame work was developed to give a way tomanage these information and display them on the computers far from the experimental siteThe monitor framework was adapted by the Double Chooz experiment and has been testedsuccessfully during the commissioning

AcknowledgmentsTK also acknowledges the financial support from the Global Center of Excellence Program byMEXT Japan through the rdquoNanoscience and Quantum Physicsrdquo Project of the Tokyo Instituteof Technology

References[1] Ardellier F et al Double Chooz A Search for the Neutrino Mixing Angle θ13 2006 hep-ex0606025[2] Konno T et al Online Monitoring System for Double Chooz Experiment Conference Record for 2009 IEEE

Nuclear Science Symp and Medical Imaging Conf pp622-628[3] Java httpwwwjavacomendownloadfaqwhatis javaxml[4] Google web toolkit httpcodegooglecomintlenwebtoolkit[5] ROOT httprootcernch[6] Swinf httpdownloadoraclecomjavasetutorialuiswing[7] Open Ajax httpwwwopenajaxorg[8] HTML5 httpwwww3orgTRhtml5

International Conference on Computing in High Energy and Nuclear Physics (CHEP 2010) IOP PublishingJournal of Physics Conference Series 331 (2011) 022014 doi1010881742-65963312022014

6