Create Tag "HVNoMU"

1. Open the file HVConstantsVersions.sxc, find out the metaversion
   for "MU turned off" : 63781.

2. In the CLEO-c Session Manager, click on:

   GUI-> Online -> BDLBrowser :
   Syncronize -> Version Number :
   Input the number  63781
   It will gives:

   index  constantsType     VersionMajor  VersionMinor
    0	  HVBoxConnection   1		  8
    1	  HVStateSettings   1		  66
    2	  HVDetectorMap	    1		  11

3. Create tag HVNoMU for HVBoxConnection
   a. Open another BDLBrowser:
      GUI-> Online -> BDLBrowser :
      In the "BDL Name", choose HVBoxConnection,
      Click :

	Version Tools -> getTags(unranged)

   b. Click one tag (HVNormal for example, this doesn't matter, since
      we are going to edit them), then there will be a box jumped out.

         In the box, click
	 Edit-> EditValues
	 Then we can edit:
	      Tag: HVNoMU
	      Creator: xs32
	      Version: 8 (refer to the value in the first BDLBrowser)
	      Click OK
	 Then click Write to save the value.
4. Create the tag of "HVNoMU" for HVStateSettings and HVDetectorMap
   with the same procedure as 3.a and 3.b.

Create Tag for ZD off "HVNoZD"

Did the work with Dan. We also modified the Tags for the HVNoMU.

Create Tag for "HVDROnly"

   1. Open the file HVConstantsVersions.sxc, find out the metaversion
      for "DR Only" : 63844
   2. $solon
      solon5% sethv
      solon5% SessionManager
   3. GUI-> Online -> BDLBrowser :
         Syncronize -> Version Number :
	     Type in : 63844

   4. Create tag HVDROnly for HVBoxConnection:
	  Open another BDLBrowser:
	     In the "BDL Name", choose HVBoxConnection
	     Version Tools -> getTags(unranged):
                 Click one tag (HVNormal for example):
                     Edit-> EditValues :
			 Tag: HVDROnly
			 Creator: xs32
			 Version: 8
	             Write->Normal
   5. Create tag of "HVDROnly" for HVStateSettings and HVDetectorMap
      with the same procedure as 4.

Create New RICH properties Tag "RICH_Lo_Rmp"

log in as CLEO31

    ssh -X cleo31@solon1

    cd users/dhertz/hv/Constants

    edit off.csv, fill.csv, and run.csv

    replace HVRich RUP from 40 to 20
    replace HVRich RDN from 50 to 25

Open SessionManager:


    GUI-> Online -> BDLBrowser :
          BDL Name : HVChannelProperties
	     Tools -> Read Constants from File
	     ~/users/dhertz/hv/Constants/off.csv
	     Write -> Normal :
		   Tag name : OFF
	     The version number becomes 1.138

	     Tools -> Read Constants from File
	     ~/users/dhertz/hv/Constants/fill.csv
	     Write -> Normal :
		   Tag name : FILL
	     The version number becomes 1.139

	     Tools -> Read Constants from File
	     ~/users/dhertz/hv/Constants/run.csv
	     Write -> Normal :
		   Tag name : RUN
	     The version number becomes 1.140

           BDL Name: HVStateSettings:
	     Synchronize->Current:
                RunMinor:  140
		FillMinor: 139
		OffMinor:  138

              Write-> Normal:
	          Tag: RICH_Lo_Rmp

    Create tag for HVBoxConnection:
	  Open another BDLBrowser:
	     In the "BDL Name", choose HVBoxConnection
	     Version Tools -> getTags(unranged):
                 Click one tag (HVNormal for example):
                     Edit-> EditValues :
			 Tag: RICH_Lo_Rmp
			 Creator: xs32
			 Version: 8
	             Write->Normal

    Create tag for HVDetectorMap:
	  Open another BDLBrowser:
	     In the "BDL Name", choose HVDetectorMap
	     Version Tools -> getTags(unranged):
                 Click one tag (HVNormal for example):
                     Edit-> EditValues :
			 Tag: RICH_Lo_Rmp
			 Creator: xs32
			 Version: 12
	             Write->Normal

Update the HVDetectorMap for HVDROnly (just Tag).

Take old HVState Settings with the Tag HVDROnly and find what versions of the HVChannelProperties uses.

For each HVChannelProperties (RUN, Fill, Off), Change HVPtiEast Slot 6 has bulk disabled and zero demand voltage. Save these versions with the tags RUN, FILL, and OFF.

	RUN 108
	    HVPitEast S6S0 DV -> 0
		       CE -> 0
	    Write-> Normal :
		Tag : RUN  (1.147)

	FILL 107
	    HVPitEast S6S0 DV -> 0
			   CE -> 0    (leave that field)
	    Write-> Normal :
		Tag : FILL  (1.149)

	OFF  97 (Keep this)

Then, the numbers for the RUN, FILL, and OFF goes to the HVStateSettings. Save a new version of the HVStateSettings with the tag HVDROnly.

Creat "HVDROnly for the HVDetectorMap

   $solon
   solon5% sethv
   solon5% SessionManager :
       GUI-> Online -> BDLBrowser :
           BDL Name: HVDetectorMap :
	      Verson Tools -> getTags (unranged): HVNormal
		    Write Normal
		     Tag HVDROnly (1.16)

Creat Tag "HVDRMUOnly"

Friday February 24, 2006 - 10:48

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

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

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"

Note: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   => Should be 0
2094 HVPitWest 1469P1 S11S0 22 2 CE 1   => Should be 0


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

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

Update all the Current 6 Tags

Tags updated :

The detailed procedure can be seen in Log-20060310.