Project

General

Profile

Initialization parameter sets

This page provides sample initialization parameter sets for a two boardreader and two eventbuilder system with simulated data readout.

Please note that some of these parameters may change over time, but what is shown here is current as of 26-Jan-2013.

Overall structure

BEGIN_PROLOG
...
END_PROLOG

daq:
{
  # common DAQ parameters here

  # fragment receiver params
  fragment_receiver:
  {
    ...
  }

  # event builder params
  event_builder:
  {
  }
}

# art configuration parameters
...

Fragment Receiver parameter sets

Sample #1:

daq:
{
  # maximum number of 64-bit words in a fragment (required)
  max_fragment_size_words:524288

  # fragment receiver parameter set (required)
  fragment_receiver:
  {
    # number of MPI send buffers to use (required)
    mpi_buffer_count:2

    # rank of first event builder process (required)
    first_event_builder_rank:2
    # number of event builder processes (required)
    event_builder_count:2

    # DS-50 generator parameter set (required)
    generator_ds50:
    {
      # ID number for fragments created by this generator (required)
      fragment_id:0
    }

    # generator class to be used (required)
    generator:"V172xSimulator" 

    # generator-dependent parameters
    # in this case, these are relevant for the V172xSimulator
    fragments_per_event:1
    freqs_file:"ds50_hist.dat" 
    nChannels:3000
  }
}

Sample #2:

daq:
{
  # maximum number of 64-bit words in a fragment (required)
  max_fragment_size_words:524288

  # fragment receiver parameter set (required)
  fragment_receiver:
  {
    # number of MPI send buffers to use (required)
    mpi_buffer_count:2

    # rank of first event builder process (required)
    first_event_builder_rank:2
    # number of event builder processes (required)
    event_builder_count:2

    # DS-50 generator parameter set (required)
    generator_ds50:
    {
      # ID number for fragments created by this generator (required)
      fragment_id:1
    }

    # generator class to be used (required)
    generator:"V172xSimulator" 

    # generator-dependent parameters
    # in this case, these are relevant for the V172xSimulator
    fragments_per_event:1
    freqs_file:"ds50_hist.dat" 
    nChannels:3000
  }
}

Event builder parameter sets

Sample #1:

daq:
{
  # maximum number of 64-bit words in a fragment (required)
  max_fragment_size_words:524288

  # event builder parameter set (required)
  event_builder:
  {
    # number of MPI receive buffers to use (required)
    mpi_buffer_count:8

    # rank of first fragment receiver (data sender) process (required)
    first_fragment_receiver_rank:0
    # number of fragment receiver processes (data senders) (required)
    fragment_receiver_count:2
    # the expected number of fragments per event (required)
    expected_fragments_per_event:2

    # flag to indicate whether to use art (required)
    use_art:true

    # flag to indicate whether EventStore statistics should be printed out
    # at endRun time (optional, default == false)
    print_event_store_stats:true
  }
}

# art configuration
# In this case, it configures art to write out the data to a disk file.
source:
{
  module_type:"RawInput" 
  resume_after_timeout:true
  waiting_time:20
}
physics:
{
  end_paths:["my_output_modules"]
  my_output_modules:["normalOutput"]
}
outputs:
{
  normalOutput:
  {
    compressionLevel:0
    fileName:"ds50daq_run000000_eb00.root" 
    module_type:"RootOutput" 
  }
}
process_name:"ONLINEDEMO" 

Sample #2:

daq:
{
  # maximum number of 64-bit words in a fragment (required)
  max_fragment_size_words:524288

  # event builder parameter set (required)
  event_builder:
  {
    # number of MPI receive buffers to use (required)
    mpi_buffer_count:8

    # rank of first fragment receiver (data sender) process (required)
    first_fragment_receiver_rank:0
    # number of fragment receiver processes (data senders) (required)
    fragment_receiver_count:2
    # the expected number of fragments per event (required)
    expected_fragments_per_event:2

    # flag to indicate whether to use art (required)
    use_art:true

    # flag to indicate whether EventStore statistics should be printed out
    # at endRun time (optional, default == false)
    print_event_store_stats:true
  }
}

# art configuration
# In this case, it configures art to write out the data to a disk file.
source:
{
  module_type:"RawInput" 
  resume_after_timeout:true
  waiting_time:20
}
physics:
{
  end_paths:["my_output_modules"]
  my_output_modules:["normalOutput"]
}
outputs:
{
  normalOutput:
  {
    compressionLevel:0
    fileName:"ds50daq_run000000_eb01.root" 
    module_type:"RootOutput" 
  }
}
process_name:"ONLINEDEMO"