Ignore:
Timestamp:
May 9, 2011, 9:33:33 PM (9 years ago)
Author:
tbretz
Message:
Added some descriptions.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/ftmctrl.cc

    r10631 r10637  
    14201420        AddConfiguration("SET_TRIGGER_INTERVAL", "I:1", kStateIdle)
    14211421            (boost::bind(&StateMachineFTM::SetTriggerInterval, this, _1))
    1422             (""
    1423              "|[]:");
     1422            ("Sets the trigger interval which is the distance between two consecutive artificial triggers."
     1423             "|interval[int]:The applied trigger interval is: interval*4ns+8ns");
    14241424
    14251425        AddConfiguration("SET_TRIGGER_DELAY", "I:1", kStateIdle)
    14261426            (boost::bind(&StateMachineFTM::SetTriggerDelay, this, _1))
    14271427            (""
    1428              "|[]:");
     1428             "|delay[int]:The applied trigger delay is: delay*4ns+8ns");
    14291429
    14301430        AddConfiguration("SET_TIME_MARKER_DELAY", "I:1", kStateIdle)
    14311431            (boost::bind(&StateMachineFTM::SetTimeMarkerDelay, this, _1))
    14321432            (""
    1433              "|[]:");
     1433            "|delay[int]:The applied time marker delay is: delay*4ns+8ns");
    14341434
    14351435        AddConfiguration("SET_DEAD_TIME", "I:1", kStateIdle)
    14361436            (boost::bind(&StateMachineFTM::SetDeadTime, this, _1))
    14371437            (""
    1438              "|[]:");
     1438            "|dead_time[int]:The applied dead time is: dead_time*4ns+8ns");
    14391439
    14401440        AddConfiguration("ENABLE_TRIGGER", "B:1", kStateIdle)
    14411441            (boost::bind(&StateMachineFTM::Enable, this, _1, FTM::StaticData::kTrigger))
    1442             (""
    1443              "|[]:");
     1442            ("Switch on the physics trigger"
     1443             "|Enable[bool]:Enable physics trigger (yes/no)");
    14441444
    14451445        // FIXME: Switch on/off depending on sequence
    14461446        AddConfiguration("ENABLE_EXT1", "B:1", kStateIdle)
    14471447            (boost::bind(&StateMachineFTM::Enable, this, _1, FTM::StaticData::kExt1))
    1448             (""
    1449              "|[]:");
     1448            ("Switch on the triggers through the first external line"
     1449             "|Enable[bool]:Enable ext1 trigger (yes/no)");
    14501450
    14511451        // FIXME: Switch on/off depending on sequence
    14521452        AddConfiguration("ENABLE_EXT2", "B:1", kStateIdle)
    14531453            (boost::bind(&StateMachineFTM::Enable, this, _1, FTM::StaticData::kExt2))
    1454             (""
    1455              "|[]:");
     1454            ("Switch on the triggers through the second external line"
     1455             "|Enable[bool]:Enable ext2 trigger (yes/no)");
    14561456
    14571457        AddConfiguration("ENABLE_VETO", "B:1", kStateIdle)
    14581458            (boost::bind(&StateMachineFTM::Enable, this, _1, FTM::StaticData::kVeto))
    1459             (""
    1460              "|[]:");
     1459            ("Enable veto line"
     1460             "|Enable[bool]:Enable veto (yes/no)");
    14611461
    14621462        AddConfiguration("SET_TRIGGER_SEQUENCE", "C:3", kStateIdle)
    14631463            (boost::bind(&StateMachineFTM::SetTriggerSeq, this, _1))
    1464             (""
    1465              "|[]:");
     1464            ("Setup the sequence of artificial triggers produced by the FTM"
     1465             "|Ped[int]:number of pedestal triggers in a row"
     1466             "|LPint[int]:number of triggers of the internal light pulser"
     1467             "|LPext[int]:number of triggers of the external light pulser");
    14661468
    14671469        AddConfiguration("SET_TRIGGER_COINCIDENCE", "S:2", kStateIdle)
    14681470            (boost::bind(&StateMachineFTM::SetTriggerCoincidence, this, _1))
    1469             (""
    1470              "|[]:");
     1471            ("Setup the coincidence condition for physcis triggers"
     1472             "|N[int]:Number of requirered coincident triggers from sum-patches (1-40)");
    14711473
    14721474        AddConfiguration("SET_CALIBRATION_COINCIDENCE", "S:2", kStateIdle)
    14731475            (boost::bind(&StateMachineFTM::SetCalibCoincidence, this, _1))
    1474             (""
    1475              "|[]:");
     1476            ("Setup the coincidence condition for artificial (calibration) triggers"
     1477             "|N[int]:Number of requirered coincident triggers from sum-patches (1-40)");
    14761478
    14771479
Note: See TracChangeset for help on using the changeset viewer.