Creat Tag "HVDRMUOnly"

1. Open the file ~dhertz/hv/Constants/HVConstantsVersions.sxc

HVDROnly:
 HVState-Settings : 67
 HVChannelProperties :
                  Run  108
                  Fill 107
                  Off  97
      DR Fill  1000
      DR Run   2100

2. Get the current version of HVChannelProperties for HVDROnly and MUonly

$solon
solon5% sethv
solon5% SessionManager
   GUI-> Online -> BDLBrowser
    BDL Name HVChannelProperties
    Version Tools -> getTags(unranged) : Fill_DR_Only (107)
    Tools -> Write Constants to file :
    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_Fill_DR_Only.txt

    Version Tools -> getTags(unranged) : Run_DR_Only (108)
    Tools -> Write Constants to file :
    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_Run_DR_Only.txt

    Version Tools -> getTags(unranged) : MuonOnlyOff (127)
    Tools -> Write Constants to file :
    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_MuonOnlyOff.txt

    Version Tools -> getTags(unranged) : MuonOnlyFill (126)
    Tools -> Write Constants to file :
    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_MuonOnlyFill.txt

    Version Tools -> getTags(unranged) : MuonOnlyRun (125)
    Tools -> Write Constants to file :
    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_MuonOnlyRun.txt

 take the DR only version, and turn on the Muon channels for it

(14:27:02) Dan Hertz: that's easier than the other way around
(14:28:06) Dan Hertz: oh, but wait... those old versions will be with the wrong stuff for the module we pulled out
(14:30:09) Dan Hertz: you should use one of the more recent
versions...
 open the session manager, and look at the tags for HVChannelProperties
(14:47:17) Dan Hertz: you can click on the HVMuRun or something, and
it'll tell you what version number is the most recent with that tag

4. Chose RUN_HVNormal (v155, Dec 9, 2005) which has the latest module map.

    Version Tools -> getTags(unranged) : RUN_HVNormal (155)
    Tools -> Write Constants to file :
    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_RUN_HVNormal.txt

    Version Tools -> getTags(unranged) : FILL_HVNormal (156)
    Tools -> Write Constants to file :
    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_FILL_HVNormal.txt

    Version Tools -> getTags(unranged) : OFF_HVNormal (157)
    Tools -> Write Constants to file :
    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_OFF_HVNormal.txt

Thursday February 23, 2006 - 09:43

Instructions from Dan.


There are different numbers of properties for  the bulk logical units
and the non-bulk ones (with the bulk ones having rather more
properties).


Bulk properties: (these go with even numbered logical units)

DV Demand Voltage (in V)
RUP Ramp Up Rate (in V/s)
RDN Ramp Down Rate (in V/s)
TC Trip current (in uA)
CE Channel Enable (0 for OFF, 1 for ON)
PRD Post Ramp Delay (in s). How long it will wait after it's done
ramping before it will count trips as being real (and not just to do
with ramping).

MVDZ Measured Voltage Dead Zone (in V). The amount the voltage has to change by
in order for the HV Mainframe to consider it enough to mention.


SOT Samples over Threshold (number). The number of times a channel in
that bulk (or the bulk as a whole)has to report being above the TC for
it to trip. These measurements are done roughly ever half mili-second.


Channel-specific (non-bulk) properties: (these go with odd-numbered
logical units)

TC Trip current (in uA) For the specific channel
CE Channel Enable (0 for OFF, 1 for ON) for that specific channel

MCDZ  Measured Current Dead Zone (in uA). The amount the measured
current has to change by in that specific channel, in order for the
mainframe to consider it significant.


The question if changes being significant is reflected in the status
numbers in the mainframe (of which there are global ones and ones for
each logical unit). There are, for each logical unit, two status
numbers. These are returned by the LS command. One of these is for the
settable numbers and one is for the measured numbers. In either case,
the numbers increment by one whenever something changes in that
logical unit. The measured status number increases whenever there is a
change larger than the "dead zone" in a measured number (typically
current).

Thursday February 23, 2006 - 12:55

Start from "RUN_HVNormal" and compare with "Run_DR_Only" to creat a new verison of "HVDROnly_RUN" :

    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_HVDROnly_RUN.txt

    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_Run_DR_Only.txt

The places that I'm not quite sure which one shoud I use:

HVNormal_RUN

1388 HVPitWest 1469P1 S4S0 8 1 DV 2112
1646 HVPitWest 1469P1 S6S1 13 10 CE 1
1751 HVPitWest 1469P1 S7S1 15 16 CE 1
2181 HVPitWest 1469P1 S12S0 24 2 DV 100

Run_DR_Only

1388 HVPitWest 1469P1 S4S0 8 1 DV 2090
1646 HVPitWest 1469P1 S6S1 13 10 CE 0
1751 HVPitWest 1469P1 S7S1 15 16 CE 0
2181 HVPitWest 1469P1 S12S0 24 2 DV 200

Message from Dan:

1388 HVPitWest 1469P1 S4S0 8 1 DV 2090
1646 HVPitWest 1469P1 S6S1 13 10 CE 1
1751 HVPitWest 1469P1 S7S1 15 16 CE 1
2181 HVPitWest 1469P1 S12S0 24 2 DV 100

Look at HVDetectorMap (HVPitWest 13), so to know it's DR.

Friday February 24, 2006 - 08:52

Creat HVChannelProperties_HVDROnly_RUN.txt

Correct Typo of S4S0 -> S5S0

Compare with HVChannelProperties_MuonOnlyRun.txt to creat

HVChannelProperties_HVDRMUOnly_RUN.txt

Changed: 1. DV 2400 2. CE 1 3. Typo of S4S0.

Didn't change MVDC and TC for cerain places. Mose of them are HVPitEast S9 and HVPitWest S11, which correspond to ZD. As they should be off in this case, it dosen't matter too much. But there are still S12 different.

Details of those places, see log.

Upload the HVDRMUOnly_RUN:

$solon
solon5% sethv
solon5% SessionManager
   GUI-> Online -> BDLBrowser
    BDL Name HVChannelProperties
   Tools -> Read Constants from File
    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_HVDRMUOnly_RUN.txt
   Write -> Normal
     Tag : HVDRMUOnly_RUN  (1.158)

Create HVDRMUOnly_FILL:

1. Start from "HVChannelProperties_HVDRMUOnly_RUN.txt", write it to "HVChannelProperties_HVDRMUOnly_FILL.txt"

2. Compare "HVChannelProperties_Fill_DR_Only.txt" with "HVChannelProperties_HVDRMUOnly_FILL.txt" 2100 -> 1000

HVPitEast S9 and HVPitWest S11 are the ZD, they should be off

Fill_DR_Only
2092 HVPitWest 1469P1 S11S0 22 0 CE 1   => Should be 0,
2093 HVPitWest 1469P1 S11S0 22 1 CE 1
2094 HVPitWest 1469P1 S11S0 22 2 CE 1


Run_DR_Only

2092 HVPitWest 1469P1 S11S0 22 0 CE 0
2093 HVPitWest 1469P1 S11S0 22 1 CE 0
2094 HVPitWest 1469P1 S11S0 22 2 CE 0

For now, I'll change it to 0 for the "HVChannelProperties_HVDRMUOnly_FILL.txt"

3. Compare "HVChannelProperties_Fill_DR_Only.txt" with "HVChannelProperties_MuonOnlyFill.txt" 2400->1700

4. Upload the HVDRMUOnly_FILL:

$solon
solon5% sethv
solon5% SessionManager
   GUI-> Online -> BDLBrowser
    BDL Name HVChannelProperties
   Tools -> Read Constants from File
    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_HVDRMUOnly_FILL.txt
   Write -> Normal
     Tag : HVDRMUOnly_FILL  (1.159)

Create HVDRMUOnly_OFF: 1. Start from "HVChannelProperties_HVDRMUOnly_FILL.txt", write it to "HVChannelProperties_HVDRMUOnly_OFF.txt"

2. Compare "HVChannelProperties_OFF_HVNormal.txt" with "HVChannelProperties_HVDRMUOnly_OFF.txt"

set to 0

3. Upload the HVDRMUOnly_OFF:

$solon
solon5% sethv
solon5% SessionManager
   GUI-> Online -> BDLBrowser
    BDL Name HVChannelProperties
   Tools -> Read Constants from File
    ~xs32/work/CLEO/service/hv/dat/HVChannelProperties_HVDRMUOnly_OFF.txt
   Write -> Normal
     Tag : HVDRMUOnly_OFF  (1.160)

Put them together to creat the tag:

1. HVBoxConnecton:

 Open another BDLBrowser:
      GUI-> Online -> BDLBrowser :
      BDL Name : HVBoxConnection,
	Version Tools -> getTags(unranged) : HVMUOnly (1.9)
 	Edit-> EditValues :
  	      Tag: HVDRMUOnly
	      Creator: xs32
	      Version: 9
        Write -> Normal

2. HVStateSettings

      GUI-> Online -> BDLBrowser :
      BDL Name : HVStateSettings,
	Version Tools -> getTags(unranged) : HVMUOnly (1.87)

      Run number : HVDRMUOnly_RUN  (1.158)
      Run number : HVDRMUOnly_FILL (1.159)
      Run number : HVDRMUOnly_OFF  (1.160)

      Write -> Normal
      Tag: HVDRMUOnly  (1.91)

3. HVDetectorMap

      GUI-> Online -> BDLBrowser :
      BDL Name : HVDetectorMap,
	Version Tools -> getTags(unranged) : HVMUOnly (1.14)
 	Edit-> EditValues :
  	      Tag: HVDRMUOnly
	      Creator: xs32
	      Version: 14
        Write -> Normal