Ignore:
Timestamp:
07/17/08 15:58:20 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/resources/sequences.rc

    r8327 r9005  
     1#/////////////////////////////////////////////////////////////////////////
     2#
     3# This file is compiled from two sections. One defines which transitions
     4# are allowed to build a sequence (for example changing L1 Trigger
     5# Tables between Calibration and Pedestal runs). The other section
     6# defines a regular expression to define the allowed ordering
     7# of the P-, C- and D-runs.
     8#
     9# The sections a introduced by [Transition] and [Regexp]. For further
     10# details see below.
     11#
     12# If a section should be valid only for one telescope use:
     13#   [Transition]         # Valid for all telescope numbers
     14#   [Transition 5]       # Valid for telescope 5
     15#   [Transition: 5]      # Valid for telescope 5
     16#   [Transition: 5 6]    # Valid for telescopes 5 and 6
     17#
     18#
     19# File-Id:
     20#   A file is uniquely identified by run-number and file-number.
     21#   If you give just a number it is identical to run-number with
     22#   file-number 0. To give a dedicated file-number you can use:
     23#     run.file
     24#
     25#/////////////////////////////////////////////////////////////////////////
     26
    127##########################################################################
    228#
     29# Explanation [Transition]
     30#
    331# Rules to build blocks which will later be broken into sequences
    432#
    533# Syntax:
    634#
    7 # [keyname]
     35# [Transition]
    836# rule1
    937# rule2
     
    1240#
    1341# Colums of rule:
    14 # 1 2 3 4 [5 [6]]
     42# 0 [1 2 3 4 [5 [6]]]
    1543#
     44# 0: Table/Column to which the transition is applied
    1645# 1: Run type of previous run
    1746# 2: Run type of run to be accepted
    1847# 3: Key for previous run
    1948# 4: key for run to be accepted
    20 # 5: first run to apply this rule <default=0>
    21 # 6: last run to apply this rule <default=max>
     49# 5: first file-id to apply this rule <default=0>
     50# 6: last  file-id to apply this rule <default=max>
    2251#
    2352# Run Types:
     
    3160# A single "*" is an abbreviation for the regexp ".*" .
    3261#
    33 # A "-" is an abbreviation for "to be ignored". For example:
    34 #     [Test]
    35 #     - 4 * 1200 1300
     62# As soon as any transition (column 0) is specified this transisiton
     63# is checked not to change within a sequence.
     64#
     65# A "-" is an abbreviation for transitions "to be ignored". For example:
     66#     [Transition]
     67#     Test - 4 * 1200 1300
    3668# would mean:
    37 #     ignore all keys (*) of column test for all current runs
    38 #     with run-type 4 if its run-number is between 1200 and 1300.
     69#     ignore all keys (*) of column test for all current files
     70#     with run-type 4 if its file-id is between 1200.0 and 1300.0
    3971#     The (former) third column in this case is obsolete.
    4072#
    41 # Ignore project name for calibration runs between 20100 and 45100
    42 #
    4373# Each Transition which appears at least once is checked.
    4474#
    4575
    46 [Transition]
    47 
     76[Transition: 1]
     77
     78# Ignore project name for calibration files between 20100 and 45100
    4879Project           - 4 *    20100 45100
    4980HvSettings        - 2 *    86094 86094
     
    76107
    77108# The Discriminator Thresholds do not influence the pedestal- and
    78 # calibration-trigger and nedd therefore not to be chacked for these runs.
     109# calibration-trigger and need therefore not to be checked for these runs.
    79110# This allows all kind of transitions from P/C to P/C and from C to D.
    80111DiscriminatorThresholdTable  [34]  [34]   *   *
     
    166197
    167198#########################################################################
    168 # The regexp section MUST be the last section. This allows
    169 # regular expressions to start with a [
    170 
    171 [Regexp]
    172 
    173 # Explanation:
     199#
     200# Explanation [Regexp]
    174201#
    175202# To build sequences a string with the run-types is evaluated.
     
    185212#
    186213# The syntax is
     214#   [Regexp]
    187215#   regexp [firstrun [lastrun]]
    188216#
     217[Regexp: 1]
    189218
    190219# Allow almost everything but require at least one run of each run-type
Note: See TracChangeset for help on using the changeset viewer.