fdhwlib  2.0.25
FEbaseConfiguration Class Reference

#include <febaseconfiguration.h>

Inheritance diagram for FEbaseConfiguration:
FE4configuration FEconfiguration

List of all members.

Public Member Functions


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 44 of file febaseconfiguration.h.


Constructor & Destructor Documentation

FEbaseConfiguration::FEbaseConfiguration ( ) [inline]

Definition at line 48 of file febaseconfiguration.h.

{ }
FEbaseConfiguration::~FEbaseConfiguration ( )

Member Function Documentation

virtual unsigned long FEbaseConfiguration::checkColumnList ( ) [pure 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

Implemented in FE4configuration, and FEconfiguration.

virtual unsigned long FEbaseConfiguration::getColumnList ( ) [pure 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

Implemented in FE4configuration, and FEconfiguration.

virtual int FEbaseConfiguration::getInhibitSource ( ) [inline, 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 in FEconfiguration, and FE4configuration.

Definition at line 126 of file febaseconfiguration.h.

{ return 0; };
virtual void FEbaseConfiguration::init ( ) [pure 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

Implemented in FE4configuration, and FEconfiguration.

virtual void FEbaseConfiguration::initCurrentMonitor ( ) [inline, 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 in FEconfiguration.

Definition at line 107 of file febaseconfiguration.h.

{ };
virtual void FEbaseConfiguration::initCurrentMonitor ( int  ) [inline, virtual]

Reimplemented in FEconfiguration.

Definition at line 109 of file febaseconfiguration.h.

{ };
virtual bool FEbaseConfiguration::isInhibited ( ) [pure virtual]
Returns:
false system is running, true system is stopped.

Implemented in FEconfiguration, and FE4configuration.

virtual bool FEbaseConfiguration::isPresent ( int  col) [pure virtual]

Implemented in FE4configuration, and FEconfiguration.

virtual bool FEbaseConfiguration::isVeto ( ) [inline, virtual]

Is veto signal active?

Reimplemented in FEconfiguration, and FE4configuration.

Definition at line 149 of file febaseconfiguration.h.

{ return false; };
virtual void FEbaseConfiguration::releaseInhibit ( ) [pure virtual]

Release the inhibit.

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

Implemented in FEconfiguration, and FE4configuration.

virtual void FEbaseConfiguration::setInhibit ( ) [pure virtual]

Set the software inhibit.

Implemented in FEconfiguration, and FE4configuration.

virtual void FEbaseConfiguration::setInhibitSource ( int  ) [inline, virtual]

Do not use this command!

Choose the inhibit source as described above.

Reimplemented in FEconfiguration, and FE4configuration.

Definition at line 132 of file febaseconfiguration.h.

{ };

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