Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
* File->New Database (enter same name as $EXPID) to make a DB for the experiment 
* File->New->Config (enter name 'cool') which is the "Run Type" or "configuration"
* *Create the ROC (one of the icons, try them):     
name: ROC1           
ethernet host: hpstracker.jlab.org           
id: 2           
boot string: $CODA_BIN/coda_roc           
readout list: /home/tracker/pelle/daq/coda/test_primary/test_primary.so userString 
The readout list is the configuration that tells coda what this ROC is being readout (see later for details) 
* Create the event builder (EB)     
name: EB1           
host: hpstracker.jlab.org (??)           
id: 1           
booting string: $CODA_BIN/coda_eb          
incoming: CODA          
outgoing: CODA 
* Then connect the ROC and EB with an arrow (drag a line between them) 
* File->Save and then close the dbeditcedit program 

Code Block

$ dbedit
No Format

 * choose localhost to find your database in the browser and go to the localhost tab 
* choose hps_tracker database from drop down list 
* choose Table cool and you should see the ROC and EB you created earlier 
* Change EB1 outputs to 'coda'

* go to the 'session' table
* add new row:
    name: pelletest (should be same as your session in the user script)
    id: 10 (should be unique?)
    owner: tracker (should have writeable permissions)
    runNumber: 1 (not sure why)
* quit dbedit program

...