Skip to content

NA62/na62-farm-eob-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

na62-farm-eob-collector

This application collects special DCS data at EOB and writes it into a XML file. The DCS data is collected via Dim and the services to be read out after each EOB can be (un)registered via following two DIM command services:

  • EOB_DATA_COLLECTOR/REGISTER
  • EOB_DATA_COLLECTOR/UNREGISTER

The string sent to those services to (un)register several services must be of the format "$service1,$service2,...,$serviceN".

The list of services registered can found at following Dim service:

  • EOB_DATA_COLLECTOR/REGISTERED

Parameters

registeredServices
A comma separated list of servies to be registered at startup.
EOBTimeout
The registered services will not be read out directly after an update of the EOP_TS. Instead <EOBTimeout> seconds will be waited to let the services generate EOB triggered data.
configFile
The files containing all EOB data will be stored in this directory.

Output file format

For every burst one file is created. The name is formatted the following way:

"burstinfo%06d-%04d.xml", runNumber, burstID

The format of the file is like following:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<burst>
  <run>$runNumber</run>
  <burstID>$burstID</burstID>
  <sob>$StartOfBurstTime</sob>
  <eob>$EndOfBurstTime</eob>
  <service>
    <name>$ServiceURI</name>
    <age>$TimeSinceLastUpdateInSeconds</age>
    <value>$ValueOfTheServiceReadAfterEOB</value>
  </service>
  <service>
    ...
  </service>
</burst>

About

Dim interface collecting data to be stored for each burst

Resources

Stars

Watchers

Forks

Packages

No packages published