# THE facqConf FILE

All parameters and histograms declarations are saved in a RHB configuration file ended with “.facqConf” extension. At launch, if the *ConfigFile* option is specified in the .RHBrc file, all these definitions will be loaded in RHB.

This file can be divided in two parts, the first one is dedicated to the parameters declaration while the other one is for the histograms declaration. If you pass your mouse over the different parameters or histograms, you will have declaration examples. If you want more information, download the RHBShortUserGuide_en.pdf file.

**Parameters declaration**

- Calculated parameter (
) The following examples assume that the raw parameters are "Param1" and "Param2".**FParamCalc** - Condition parameter (
)The following examples assume that the raw parameters are "Param1", "Param2" and "Param3".**FCondition** - Graphical cut parameter (
)This kind of parameter allows to define a parameter which is true if the values of already existing parameters are in a contour. Calculated parameters can be used in graphical conditions. Graphical cut conditions can be used in conditions.**FGCondition** - Time parameter (
)This parameter contains the actual machine time (nanosec precision) in seconds. Its value is evaluated once per event. It can be used afterwards in other parameters definitions.**FParamTime** - Counter parameter (
)The counter parameter is incremented each time the related parameter is active, i.e. is present/read in an event. If the related parameter is a condition or a graphical condition, the counter is incremented if the condition is true.**FCounter** - Differential counter parameter (
)This kind of parameter allows to define counting rates. It simply computes the ratio of the differences of two parameters. The user has to define the two parameters and the frequency of the parameter evaluation. WARNING: the parameter indicated as the divider must increase with time.**FDiffCounter** - Persistent parameter (
) This type of parameter is always active. It is useful when one wants to keep the value of a raw parameter whose value is set with a low rate compared to the event rate.**FParamLastValue**

- Calculated parameter (

**Histogram declaration**- 1D Histogram (
) 1D Histogram example without condition**FH1D** - 2D Histogram (
) 2D Histogram example without condition**FH2D** - Profile histogram (
)**FProfile** - Scale histogram (
)FHScale shows the number of times a parameter is activated or a condition is true.**FHScale** - Oscillogram (
) Oscillogram example, if you want the last 5 signals on the same ocillogram : CH1_OSC;704;-1000;1000;5**FOscilloH1F** - Time histogram 2D (
)The X axis is the computer time axis. The limits are computed according to the number of bins and to the time width of each bin. When the upper limit is reached, whole time axis (and the corresponding bin contents) is shifted by one bin, i.e. the axis time limits are incremented by one bin width. This allow to check the variations of a parameter distribution with time in a moving time window of fixed total width. The Y axis limits can be static or can be recomputed in order to cover the whole range of the parameter's values.**FTimeHist** - Time profile histogram (
)The X axis is the computer time axis. The limits are computed according to the number of bins and to the time width of each bin. When the upper limit is reached, whole time axis (and the corresponding bin contents) is shifted by one bin, i.e. the axis time limits are incremented by one bin width. This allow to check the variations of the mean value of a parameter with time in a moving time window of fixed total width.**FTimeProfile** - Control histogram 2D (
)**FHCtrl2D** - Scale count histogram (
)For each parameter, it shows its value the last time it was activated. It was originally developed to show counting rates.**FHRawScale**

- 1D Histogram (