ConfigSystem: Use Cases

Using a new version of an existing calibration

In this example we which to replace the ACD bad channel mask with the file new_acd_mask.xml. This involves two steps: 1) importing the new mask file and moving the alias to point at it, 2) rebuilding all the affected configurations.

  prompt> bin/AncillaryManager.py ACD_Mask --import 
          new_acd_mask.xml -T Nominal -a -b
    Imported: ACD_Mask_Nominal_070601220147.xml
      Backup alias on test_ACD_Mask.xml to Nominal_old
      Set alias on ACD_Mask_Nominal_070601220147.xml to Nominal
    prompt> bin/ConfigManager.py --build -n
      [...lots of output while simulating build...]
    prompt> bin/ConfigManager.py --build
      [...lots of output while really doing build...]  
 

Setting new threshold levels

In this example we which to move the nominal value of the ACD zero suppression threshold to 30 PHA counts. There a several ways to do this. Here we will do it in two steps: 1) make a new vote file with the zero suppression threshold at thirty counts, with the FILE_TAG ``plus_30'', but also pointed to by the alias ``Nominal'', 2) rebuild all the affected configurations.

  prompt> bin/PrecinctManager.py ACD_Pha --copy Nominal -T plus_30 -a -b \
            -A Nominal -r countsAbovePedestal=30
      Backup alias on test_ACD_Mask.xml to Nominal_old
      Set alias on ACD_Mask_Nominal_070601220147.xml to Nominal
    prompt> bin/ConfigManager.py --build -n
      [...lots of output while simulating build...]
    prompt> bin/ConfigManager.py --build
      [...lots of output while really doing build...]  
 

Making a new LAT configuration which uses a new GEM configuration

In this example we which to use the GEM vote file, new_gem.xml, to make a new LAT configuration. This will take 3 steps: 1) importing new_gem.xml under the FILE_TAG and alias ``GEM_V1'', 2) making a new new LPA vote file which reference the newly made TRG_+GEM vote file, 3) building the new configuration.

  prompt> bin/PrecinctManager.py TRG_GEM --import new_gem.xml -T GEM_V1 -a -b
     prompt> bin/ConfigManager.py LPA --copy LAT-70x -T LAT-70x_newGem -a -b -r TRG_GEM=GEM_V1
    prompt> bin/ConfigManager.py --build -n
      [...lots of output while simulating build...]
    prompt> bin/ConfigManager.py --build
      [...lots of output while really doing build...]  
 

Making a test configuration with a new calibration

In this example we wish to build a single test configuration with the ACD bad channel mask file new_acd_mask.xml. This involves four steps: 1) importing the new mask file and making a new alias to point at it, 2) making a new ACD_Mode vote which reference the newly imported bad channel file, 3) making a new LPA vote file which reference the newly made ACD_Mode vote file, 4) building the new configuration.

  prompt> bin/AncillaryManager.py ACD_Mask --import new_acd_mask.xml -T Test -a -b
    Imported: ACD_Mask_Test_070601220147.xml
      Backup alias on test_ACD_Mask.xml to Test_old
      Set alias on ACD_Mask_Test_070601220147.xml to Test
    prompt> bin/PrecinctManager.py ACD_Mode --copy Nominal -T Test -r ACD_Mask=Test -a -b
    Imported: ACD_Mode_Test_070601220147.xml
      Set alias on ACD_Mode_Test_070601220147.xml to Test
    prompt> bin/ConfigManager.py LPA --copy LAT-70x -T LAT-70x_Test -r ACD_Mode=Test -a -b 
   Imported: LPA_LAT-70x_Test_070601220147.xml
      Set alias on LPA_LAT-70x_Test_070601220147.xml to LAT-70x_Test
    prompt> bin/ConfigManager.py --build -n
      [...lots of output while simulating build...]
    prompt> bin/ConfigManager.py --build
      [...lots of output while really doing build...]


Owned by: Eric Charles  
Last updated by: Chuck Patterson 01/22/2008