Difference between revisions of "CSV software"

From HallCWiki
Jump to: navigation, search
(Run Information Monitor (blue screen))
(Online)
Line 40: Line 40:
  
 
== Online ==
 
== Online ==
 +
 +
=== replay ===
 +
 +
Online replay directory was the same as the pt sidis.
 +
 +
To get to a good bash environment run
 +
<pre>
 +
bash_csv counter
 +
</pre>
  
 
=== Run Information Monitor (blue screen) ===  
 
=== Run Information Monitor (blue screen) ===  
Line 45: Line 54:
 
The bulk of the work is done by the EPICS software IOC [https://github.com/whit2333/hallc_epics_run_info found here].
 
The bulk of the work is done by the EPICS software IOC [https://github.com/whit2333/hallc_epics_run_info found here].
  
New process variables  
+
New process variables
 
<pre>
 
<pre>
hcHMSAngleEncoderOffset     -- HMS offset used to calculate corrected angle: CorrectedAngle = Encoder + EncoderOffset
+
hcHMSAngleEncoderOffset       -- HMS offset used to calculate corrected angle: CorrectedAngle = Encoder + EncoderOffset
hcSHMSAngleEncoderOffset     -- SHMS offset.
+
hcSHMSAngleEncoderOffset     -- SHMS offset.
hcRunSettingHMSAngle
+
hcRunSettingHMSAngle         -- not used
hcRunSettingSHMSAngle
+
hcRunSettingSHMSAngle         -- not used
hcRunPlanChargeGoal
+
hcRunPlanChargeGoal           --
 
hcRunPlanTimeRemainingEst
 
hcRunPlanTimeRemainingEst
 
hcCOINIntRunNumber            -- Mirrors hcCOINRunNumber (not supplied by this IOC)
 
hcCOINIntRunNumber            -- Mirrors hcCOINRunNumber (not supplied by this IOC)
Line 64: Line 73:
 
hcRunSettingNumber        -- A count that is incremented at the start of a new run when hcRunSettingReconfigured is non-zero.
 
hcRunSettingNumber        -- A count that is incremented at the start of a new run when hcRunSettingReconfigured is non-zero.
 
hcRunSettingReconfigured  -- becomes nonzero when the spectrometer angle, momentum, or target is changed. Resets "RunSetting" counters
 
hcRunSettingReconfigured  -- becomes nonzero when the spectrometer angle, momentum, or target is changed. Resets "RunSetting" counters
hcKinematicSettingNumber
+
hcKinematicSettingNumber   -- user supplied
hcKinematicSettingGroup
+
hcKinematicSettingGroup   -- user supplied
hcKinematicSettingID
+
hcKinematicSettingID       -- user supplied
hcRunPlanCountGoal
+
hcRunPlanCountGoal      
 
hcRunPlanNTrigEventsGoal
 
hcRunPlanNTrigEventsGoal
hcCOINRunAccumulatedCharge
+
hcCOINRunAccumulatedCharge   -- Latest/current run charge while beam > 1uA
hcCOINRunTime
+
hcCOINRunTime               -- Latest/current run time while beam > 1uA
hcCOINRunAverageBeamCurrent
+
hcCOINRunAverageBeamCurrent -- Average beam current while beam > 1uA
 
hcSHMSRunAccumulatedCharge
 
hcSHMSRunAccumulatedCharge
 
hcSHMSRunTime
 
hcSHMSRunTime
Line 80: Line 89:
 
hcHMSCorrectedAngle
 
hcHMSCorrectedAngle
 
hcSHMSCorrectedAngle
 
hcSHMSCorrectedAngle
hcHMSMomentum
+
hcHMSMomentum             -- mirrored set momentum value
hcSHMSMomentum
+
hcSHMSMomentum           -- mirrored set momentum value
hcHMSAngleChanged
+
hcHMSAngleChanged         --
hcBDSSELECT_mirror
+
hcBDSSELECT_mirror       -- mirrors target selected
hcCreateNewRunSetting
+
hcCreateNewRunSetting  
 
hcRunSettingAccumulatedCharge
 
hcRunSettingAccumulatedCharge
 
hcRunSettingTime
 
hcRunSettingTime

Revision as of 00:09, 26 November 2018

Repositories

Working on the farm

CSV software can be found in /group/c-csv/local and is setup to use environment-modules (modulefiles).

modules files

If module avail doesn't work then you must add source /etc/profile.d/modules.sh to your .bashrc. group disk: /group/c-csv

Running module avail should produce something like following.

--------------------------------------- /group/c-csv/local/etc/modulefiles ----------------------------------------
cmake/3.10.3                epics/latest                hcana/1.0                   root/6.14.04
cmake/3.12.2                experimental/imgui_dm/0.0.1 hcana/latest                root/6.15.0x
cmake/latest                gcc/8.1.0                   llvm/6.0.1                  root/dev
csv/1.0                     gcc/8.2.0                   llvm/latest                 root/latest
csv/latest                  gcc/latest                  ncurses/6.1                 tmux/2.7
curl/7.61.1                 git/2.18.0                  ncurses/latest              tmux/latest
curl/latest                 git/latest                  python/2.7.15
eigen3/3.3.5                hallc_tools/0.1             python/3.7.1
epics/base_7.0.1            hallc_tools/latest          root/6.14.0

Run the following to setup your environment

source /group/c-csv/local/setup.sh
module load csv/latest

Repositories

hallc_tools

Online

replay

Online replay directory was the same as the pt sidis.

To get to a good bash environment run

bash_csv counter

Run Information Monitor (blue screen)

The bulk of the work is done by the EPICS software IOC found here.

New process variables

hcHMSAngleEncoderOffset       -- HMS offset used to calculate corrected angle: CorrectedAngle = Encoder + EncoderOffset
hcSHMSAngleEncoderOffset      -- SHMS offset.
hcRunSettingHMSAngle          -- not used
hcRunSettingSHMSAngle         -- not used
hcRunPlanChargeGoal           -- 
hcRunPlanTimeRemainingEst
hcCOINIntRunNumber            -- Mirrors hcCOINRunNumber (not supplied by this IOC)
hcSHMSIntRunNumber            -- Mirrors hcCOINRunNumber (not supplied by this IOC)
hcHMSIntRunNumber             -- Mirrors hcCOINRunNumber (not supplied by this IOC)
hcDAQ_ps1
hcDAQ_ps2
hcDAQ_ps3
hcDAQ_ps4
hcDAQ_ps5
hcDAQ_ps6
hcRunSettingNumber         -- A count that is incremented at the start of a new run when hcRunSettingReconfigured is non-zero.
hcRunSettingReconfigured   -- becomes nonzero when the spectrometer angle, momentum, or target is changed. Resets "RunSetting" counters
hcKinematicSettingNumber   -- user supplied
hcKinematicSettingGroup    -- user supplied
hcKinematicSettingID       -- user supplied
hcRunPlanCountGoal        
hcRunPlanNTrigEventsGoal
hcCOINRunAccumulatedCharge   -- Latest/current run charge while beam > 1uA 
hcCOINRunTime                -- Latest/current run time while beam > 1uA
hcCOINRunAverageBeamCurrent  -- Average beam current while beam > 1uA
hcSHMSRunAccumulatedCharge
hcSHMSRunTime
hcSHMSRunAverageBeamCurrent
hcHMSRunAccumulatedCharge
hcHMSRunTime
hcHMSRunAverageBeamCurrent
hcHMSCorrectedAngle
hcSHMSCorrectedAngle
hcHMSMomentum             -- mirrored set momentum value
hcSHMSMomentum            -- mirrored set momentum value
hcHMSAngleChanged         -- 
hcBDSSELECT_mirror        -- mirrors target selected
hcCreateNewRunSetting 
hcRunSettingAccumulatedCharge
hcRunSettingTime
hcRunSettingAverageBeamCurrent
hcStartNewRunSetting
hcCOINRunChargeReset
hcCOINResetRunTime
hcSHMSRunChargeReset
hcSHMSResetRunTime
hcHMSRunChargeReset
hcHMSResetRunTime
hcHMSSettingChange
hcSHMSSettingChange
hcSHMSAngleChanged
hcTargetChange
hcRunSettingIncrement
hcResetRunSetting
hcRunSettingChargeReset
hcResetRunSettingTime