fdhwlib  2.0.25
FEconfiguration Class Reference

#include <FEconfiguration.h>

Inheritance diagram for FEconfiguration:
FEbaseConfiguration FEunit

List of all members.

Public Member Functions

Private Attributes


Detailed Description

The class allows the general configuration of the FD electronic.

The tasks to do are

  • management of the active columns. This is of importance, if not all of the columns are present.
  • initialization
  • start / stop feature via the inhibit signal. If the inhibit is enabled the system will stop at the next second strobe.

Changes:

  • The command releaseInhibit will perform a restart after software and pagefull inhibit. ak 7.2.01
  • Do not use the command to access the inhibit source any more - not really necessary! ak 7.2.01
  • No modification of the inhibit source in the commands setInhibit and releaseInhibit.
  • Implementation added for the current monitor, ak 19.2.01
Todo:
Read the parameter for init from the configuration file!

Definition at line 50 of file FEconfiguration.h.


Constructor & Destructor Documentation

FEconfiguration::FEconfiguration ( Subrack subrack)

Member Function Documentation

unsigned long FEconfiguration::checkColumnList ( ) [virtual]

Check all columns for a device being present.

The result is stored and can be used by the getColumnList command.

Returns:
A list of bit values for each column: 1 existent 0 empty

Implements FEbaseConfiguration.

void FEconfiguration::get ( FEunitData **  data) [virtual]

Reimplemented from FEunit.

unsigned long FEconfiguration::getColumnList ( ) [virtual]

The configuration is check once at the start of the system.

The results are stored and can be read with this command.

Returns:
A list of bit values for each column: 1 existent 0 empty

Implements FEbaseConfiguration.

int FEconfiguration::getInhibitSource ( ) [virtual]

Do not use this command!

If the inhibit signal occurs the system will stop. This signals is triggered if all pages are marked as written and there are no free pages left. Beside this normal mode of operation the inhibit signal can be initiated also by the external trigger or a software signal. Use this method to define the allowed sources.

Returns:
0 internal or software inhibit, 1 external or software inhibit, 2 internal, external or software inhibit, 3 software inhibit

Reimplemented from FEbaseConfiguration.

void FEconfiguration::init ( ) [virtual]

Initializes the FD electronic.

Detailed list of configuration done:

  • Inhibit source = SLT_INHIBIT_INT (internal + software inhibit)
  • Trigger source = SLT_TRIGGER_SW (software trigger)
  • NxPg source = SLT_NXPG_INT (internal source)
  • Testpuls source = SLT_TESTPULS_NO (disabled)
  • Load the appropriate sensor configuration
  • Configure the Flt FPGAs (Release reset, set to run mode)

Not changed (by now):

  • Set the IR masks,
  • Second strobe = 0 (second strobe from GPS clock) Enable NxPg
  • Load the alarm thresholds for the sensors
  • Set the time of the GPS clock (seconds)
  • Load the gain for the analog board and send the initialization sequence to the ADCs
  • Load the parameters of the hit rate control
  • Clear all pages

The system is not started through this command, it will still be inhibited afterwards. To start the system use the command releaseInhibit.

Changes:

  • 14.5.01 ak. Release Reset and switch to run mode of Flt boards added

Implements FEbaseConfiguration.

void FEconfiguration::initCurrentMonitor ( ) [virtual]

Initialize the current monitor.

The first init will be performed by the main init function - use this function only if another seperate initialization is required.

Reimplemented from FEbaseConfiguration.

void FEconfiguration::initCurrentMonitor ( int  col) [virtual]

Reimplemented from FEbaseConfiguration.

bool FEconfiguration::isInhibited ( ) [virtual]
Returns:
false system is running, true system is stopped

Implements FEbaseConfiguration.

bool FEconfiguration::isPresent ( int  col) [virtual]

Implements FEbaseConfiguration.

bool FEconfiguration::isVeto ( ) [virtual]

Is veto signal active?

Reimplemented from FEbaseConfiguration.

void FEconfiguration::releaseInhibit ( ) [virtual]

Release the inhibit.

The command will continue operation after an inhibit due to a software command (setInhibit) or all pages filled with data.

Implements FEbaseConfiguration.

void FEconfiguration::setInhibit ( ) [virtual]

Set a software inhibit.

Implements FEbaseConfiguration.

void FEconfiguration::setInhibitSource ( int  source) [virtual]

Do not use this command!

Choose the inhibit source as described above.

Reimplemented from FEbaseConfiguration.


Member Data Documentation

Definition at line 173 of file FEconfiguration.h.


The documentation for this class was generated from the following file: