jlcdaq
(DAQ Program for beamtest of JLC Calorimeter)

Last update:14-Sep '99
Brief examples of usage

Execute:
To execute this program,first,you must log-in e912daq.fnal.gov as root,and type "jlcdaq".
If you type "jlcdaq -h",you can see some help messages about command line options.
Description of command line options is as shown below.
  • -h ... Display brief help messages
  • -c ... Pointing config file.If you don't specify this option,"default.cf" will be used as default..
  • -m ... Online monitor off.
  • -w ... Display ascii data at console.With this option,Ascii file wouldn't be generated.
  • -t ... Specify Trigger-ID.(0:beam,3:mu,4:cosmic,5:pedestal,6:tile LED,7:PMT LED)
    See Trigger Selection for detail.
  • -s ... Specify Trigger-Mask-Number.See Trigger mask for detail.
  • -r ... Specify Run number.See Automatic run Number issuing for detail.
  • -l ... Suppression mode off.See Suppression mode for detail.
  • -p ... Trigger ID(>5) Monitor run mode.See Monitor Run for detail.
  • -f ... Automatic conversion off.


  • Of course you can use 2 or more options once.
    You start this program,and on-line monitor window will open.
    About on-line monitor,see histoscope section.
    And jlcdaq will start to take a data,and ascii file will generate automatically.
    A log file also will be generated.it contains a information of the run.

    After finishing the run,auto conversion will start,and run summary information will be displayed.
    You should write these informations to run-summary sheet.
    And please click the button which appear when the DAQ has finished.
    And you can quit the DAQ program by selecting the Exit from the file menu of histoscope.

    Brief examples of usage jlcdaq with options
  • Normal run ........ jlcdaq
  • Auto conversion off ..... jlcdaq -f
  • Use "muon.cf" as a config file ...... jlcdaq -c muon.cf
  • Take a data which contains only muon trigger hit ...... jlcdaq -t 3
  • Take a Beam and Pedestal(out-spill) data ...... jlcdaq -s 33
  • take data of Beam trigger and Pedestal(out spill) and Tile-LED and PMT-LED ...... jlcdaq -s 225
  • Pedestal(Out spill) run ...... jlcdaq -p 5
  • Tile LED run ...... jlcdaq -p 6
  • PMT LED run ...... jlcdaq -p 7
  • Pedestal(in spill) run ...... jlcdaq -p 8
    Priority of trigger recognization

    Functions of jlcdaq
  • Trigger selection mode

  • You can specify the trigger ID(only beam or muon or mu matrix trigger) which you want to take by using the command line option "-t".
    I'll show you the examples below.
    1)beam trigger selection ........ jlcdaq -t 0
    2)muon trigger selection ........ jlcdaq -t 3
    3)Mu matrix trigger selection ... jlcdaq -t 4
    We prepared pion trigger and electron trigger,but it isn't installed.

    If the trigger selection is applied,jlcdaq will take a data which contains a specified trigger hit even if it isn't recognized to specified trigger event.
    For example,if both of beam trigger and mu trigger is hit,this event will be recognized as a muon trigger event according to the trigger recognization priority.
    However,it contains a beam trigger hit.Then it will be taken as a selected data.

  • Trigger mask mode

  • If you want to take not only beam trigger data but also pedestal data,and you don't want to take any other trigger data,trigger selection mode can't satisfy your requirement.
    In that case,you should use the trigger mask mode by applying command line option "-s".
    It allows you to take only some specified trigger data.

    Method to calculate the trigger mask number:
    It's not so difficult.First,you should select the trigger which you want to take,and note its mask number.I'll show you the table of mask numbers below.
  • Beam trigger ....... 1
  • Pion trigger ....... 2
  • Electron trigger.... 4
  • Muon trigger ....... 8
  • Mu matrix trigger .. 16
  • Pedestal trigger .. 32
  • Tile LED trigger .. 64
  • PMT LED trigger .. 128
  • Inspill pedestal trigger .. 256

  • And sum them up.It is the trigger mask number of data which you want.
    For example,if you want to take a beam and pedestal data,trigger mask number is 1(beam) + 32(pedestal) = 33.
    Then,to apply the mask mode,you should type "jlcdaq -s 33".
    It will make the jlcdaq to take only beam data and pedestal data.Any other trigger will be ignored.
  • Monitor run mode

  • It allows you to take only monitor data(pedestal,LED). You can apply this mode by applying command line option "-p".
    The usage of it is similar to trigger selection mode.
    Trigger ID number of monitor data is shown as below.
  • Pedestal(out spill).....5
  • Tile LED ........ 6
  • PMT LED ........ 7
  • Pedestal(in spill)...8

  • For example,if you want to take only pedestal(out spill) data,you should type "jlcdaq -p 5".
  • Monitor data Suppressing mode

  • Suppressing mode prevent to take too much monitor(pedestal,LED) data.
    Even if you want to 1000 event of beam data,taking 10000 of pedestal data is useless.

    If you have any questions,requests,opinions,or if you find any problems,please t ell me.
    satoru@hepsg3.px.tsukuba.ac.jp