Introduction

The VELO ECS project controls the whole Velo detector: it includes the DAQ domain, the DCS domain, the HV domain and DAI domain. It runs on vedaqa01 (linux) under the velo_user account.

Starting the VELO ECS

  • Log on to a Windows console in the online network (LHCb domain).
  • Open the following directory: G:\online\ecs\Shortcuts\VELO
  • Double click on VEECS1_UI_FSM. The following panel will pop up:

VeloTopOperate.JPG

  • Right-click on VELO. The following panel will pop up:

VeloTop.JPG

  • The panel is composed of three parts: on the top left the FSM trees of the 4 sub-domains (DCS, HV, DAI and DAQ), the Runinfo, the TFC system, the HLT, the storage and the monitoring are accessible. On the bottom left the FSM trees of the two VELO halves are accessible. From both parts of the panel you finally access the same VELO components, just once structured in a functional way, once representing the physical layout of the VELO. The right part of the panel contains all the necessary functionality to take data. The VELO User Panel button opens a panel with a collection of useful tools for monitoring (instructions here).

  • Click on the top padlock and Take. If the padlock is closed and red, then someone else has already taken the control. A report panel will pop up, showing which part of the system are not taken: for the time being, the VELO_DCS and VELO_HV should stay excluded for safety reason. Check if the informations displayed are consistent with your expection and then click on dismiss.

VeloActionReport.JPG

  • If you just want to operate one VELO half you may also consider to double click on VELOA or VELOC and start from a similar panel there.

  • Include (exclude) the parts of the FSM tree that you (do not) want to use. To do so click on the padlocks and choose "UnlockOut&Include" ("Exclude&LockOut") to include (exclude) the corresponding part of the FSM tree. In case of the green tickmarks (red crosses) just click on them and change from exclude to include (include to exclude) via "Enable" or "Disable". You may want to exclude certain parts from the FSM tree to operate the components manually for safety reasons or to have better control of the things happening (e.g. turning on LV and HV). Typically VELO_Runinfo, VELO_TFC, VELO_HLT, VELO_Storage and VELO_Monitoring should be included to send triggers and take data.

  • If the VELO is NOT_ALLOCATED, then click on the corresponding button and ALLOCATE:

VeloTopNotAllocated.JPG

If the system is already ALLOCATED, then DEALLOCATE and ALLOCATE it back. The system will go in the state shown here:

VeloTopNotReady.JPG

This assigns

  • a readout supervisor (ODIN) to the VELO providing clock and fast signals
  • a subfarm of the HLT to acquire the data
  • a slice of the storage system to store the data
  • a slice of the monitoring system

The system should be afterwards in the state "NOT_READY".
You can check which TFC partition has been dynamically allocated by double clicking on VELO_TFC:

Velo_TFC.JPG

You can check which HLT subfarm has been dynamically allocated by double clicking on VELO_HLT:

Velo_HLT.JPG

Farm monitoring

If you want to check the log output of the eventbuilder log in to any online machine (e.g. the plus analysis farm) and execute the following commands:
  • cd /group/online/dataflow/scripts
  • ./farmMon -part=VELO
  • ./errorLog VELO

Taking Data

  1. Make sure that all the components you want to use and which are not included in the FSM are configured.
  2. Select the activity you want from the pull down menu (Ex PHYSICSNTP).
  3. Select "Run limited to" below "Max Nr. Events:" and enter the number of event you want to acquire. Typically 10000 events are acquired for noise and pedestals runs and 5000 events for the cable test.
  4. Check that "Step Run with" below "Automated Run with Steps:" is NOT selected if you do not want to perform a parameter scan.
  5. Configure the system by selecting "Configure" after clicking on "NOT_READY":
    VeloTop_Configure.JPG

  6. This should bring the included subsystems into the state "READY":
    VeloTop_Ready.JPG

  7. Start the system by selecting "START_RUN" after clicking on "READY":
    VeloTop_StartRun.JPG

  8. This should bring the TFC subsystem into the state "ACTIVE" and the other subsystems into the state "RUNNING":
    VeloTop_Active.JPG

  9. Start the run by selecting "GO":
    VeloTop_Go.JPG

  10. This should bring the VELO system into the state "RUNNING":
    VeloTop_Running.JPG

  11. The RUN can be aborted at any time by selecting "STOP_RUN" from the VELO system button:
    VeloTop_AbortRun.JPG

  12. Wait until the run is automatically stopped. The system will go in the state "PAUSED":
    VeloTop_Paused.JPG

  13. Stop the run by selecting "STOP_RUN" after clicking on "PAUSED":
    VeloTop_StopRun.JPG

  14. This will bring the system into the state "NOT_READY":
    VeloTop_Stopped.JPG

  15. You can now Reset the system by selecting "RESET" after clicking on "NOT_READY":
    VeloTop_Reset.JPG

  16. WARNING! The Reset command will bring the state of each subsystem to NOT_READY, but the DAQ hardware will not be touched! To really reset the DAQ, please consult this section.
  17. After logging in to the analysis farm plus you can find the data in the directory indicated in the text field next to "Storing Data On:". The files in the directory /daqarea/lhcb/data/2008/ on the online network can be found on Castor at /castor/cern.ch/grid/lhcb/data/2008/ (there is some older data stored at /castor/cern.ch/lhcb/online/point8/2008).
  18. Create a symbolic link using the command "ln -s /daqarea/lhcb/data/2008/RAW/VELOC/RECIPENAME/RUNNUMBER/ NameOfTheLink" in the directory
    • slice test: /group/velo/slicetest/data/
    • module power up: /group/velo/modulepowerup/data
  19. Use as NameOfTheLink:
    • slice test: slicetest_slot_slotLabel_tell1_Tell1SerialNumber_runType_yymmdd_hhmm.dat
      Examples for the slotLabel and the Tell1SerialNumber are "VL05_CT" and "207", respectively. For the runType please choose one of "delayscan", "cabletest", "tp" or "ntp".
    • module power up: yymmdd_hhmm_slotLabel_modulepowerup_runType_hvStatus.dat
      An example for the slotLabel is VL03_C. For the runType please choose one of "cabletest", "tp" or "ntp". Take R0V_P50V as an example for the hvStatus.

Releasing the VELO ECS

If you want to release the VELO ECS click on the top padlock and choose release all; if the VELO control has to change its mode from local to global, don't forget to deallocate before to release. Never close the VEECS1_UI_FSM panel whithout releasing it!

-- KarolHennessy - 14 Aug 2008

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg VeloActionReport.JPG r1 manage 21.2 K 2008-08-09 - 13:46 StefanoDeCapua  
JPEGjpg VeloTop.JPG r1 manage 104.8 K 2008-08-09 - 13:45 StefanoDeCapua  
JPEGjpg VeloTopNotAllocated.JPG r1 manage 113.8 K 2008-08-09 - 13:45 StefanoDeCapua  
JPEGjpg VeloTopNotReady.JPG r1 manage 113.7 K 2008-08-09 - 13:45 StefanoDeCapua  
JPEGjpg VeloTopOperate.JPG r1 manage 17.0 K 2008-08-09 - 14:12 StefanoDeCapua  
JPEGjpg VeloTop_AbortRun.JPG r1 manage 112.6 K 2008-08-09 - 14:25 StefanoDeCapua  
JPEGjpg VeloTop_Active.JPG r1 manage 110.9 K 2008-08-09 - 14:20 StefanoDeCapua  
JPEGjpg VeloTop_Configure.JPG r1 manage 114.9 K 2008-08-09 - 14:13 StefanoDeCapua  
JPEGjpg VeloTop_Go.JPG r1 manage 112.2 K 2008-08-09 - 14:20 StefanoDeCapua  
JPEGjpg VeloTop_Paused.JPG r1 manage 111.6 K 2008-08-09 - 14:28 StefanoDeCapua  
JPEGjpg VeloTop_Ready.JPG r1 manage 111.7 K 2008-08-09 - 14:16 StefanoDeCapua  
JPEGjpg VeloTop_Reset.JPG r1 manage 114.0 K 2008-08-09 - 14:29 StefanoDeCapua  
JPEGjpg VeloTop_Running.JPG r1 manage 110.8 K 2008-08-09 - 14:20 StefanoDeCapua  
JPEGjpg VeloTop_StartRun.JPG r1 manage 113.3 K 2008-08-09 - 14:19 StefanoDeCapua  
JPEGjpg VeloTop_StopRun.JPG r1 manage 113.6 K 2008-08-09 - 14:28 StefanoDeCapua  
JPEGjpg VeloTop_Stopped.JPG r1 manage 112.8 K 2008-08-09 - 14:28 StefanoDeCapua  
JPEGjpg Velo_HLT.JPG r1 manage 59.2 K 2008-08-09 - 14:02 StefanoDeCapua  
JPEGjpg Velo_TFC.JPG r1 manage 37.6 K 2008-08-09 - 14:02 StefanoDeCapua  
Edit | Attach | Watch | Print version | History: r21 < r20 < r19 < r18 < r17 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r21 - 2008-08-14 - unknown
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback