Equipment List Parameters: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== TABLE showing Equipment List Parameters == | == TABLE showing Equipment List Parameters == | ||
Links | |||
[[Equipment Declaration]] | |||
<div id="B">B</div> | <div id="B">B</div> | ||
Line 12: | Line 13: | ||
'''Note''' These parameters are copied to the ODB <span style="color: purple;">''/Equipment/<equipment-name>/Common''</span> subdirectory when the frontend is initialized. | '''Note''' These parameters are copied to the ODB <span style="color: purple;">''/Equipment/<equipment-name>/Common''</span> subdirectory when the frontend is initialized. | ||
{| style="text-align: left; width: 100%; background-color: rgb(255, 255, 255);" border=" | {| style="text-align: left; width: 100%; background-color: rgb(255, 255, 255);" border="3" cellpadding="2" cellspacing="2" | ||
|- | |- | ||
Line 49: | Line 50: | ||
<div id="Type"></div> | |||
|- style="background-color: mintcream; " | |- style="background-color: mintcream; " | ||
| style="color: seagreen;" | | | style="color: seagreen;" | Type | ||
| | | Equipment '''Type''' should be set to one of the Equipment Flags EQ_XXX selected | ||
from the [[Equipment Flags|list of valid Equipment Flags]]. | |||
<div id="Test1"></div> | <div id="Test1"></div> | ||
Line 75: | Line 78: | ||
|} | |} |
Revision as of 15:05, 29 October 2013
TABLE showing Equipment List Parameters
Links Equipment Declaration
B
#Equipment Name #EventID #TriggerMask #Equipment Type #Test1 #Buffer
#Equipment Type #EQ_PERIODIC #EQ_POLLED #EQ_INTERRUPT #EQ_MULTITHREAD #EQ_SLOW #EQ_MANUAL_TRIG #EQ_FRAGMENTED #EQ_EB
Note These parameters are copied to the ODB /Equipment/<equipment-name>/Common subdirectory when the frontend is initialized.
EQUIPMENT Parameter | Explanation |
Equipment Name | Each equipment has to be assigned a unique name (i.e. no two equipments in the same experiment may have the same name). The name will be the reference name of the equipment generating the event. Examples of typical Equipment Names are "Trigger","Scaler","Epics". |
EQUIPMENT_INFO Structure | |
EventID | Each equipment has to be associated with a unique eventID . The event ID will be part of the event header of that particular equipment. |
Trigger Mask | Each equipment must be associated with a unique Trigger Mask if the Equipment Type is "EQ_INTERRUPT" or "EQ_MULTITHREAD". In this case, the Trigger Mask can be modified dynamically by the readout routine to define a sub-event type on an event-by-event basis. This can be used to mix "physics events" (from a physics trigger) and "calibration events" (from a clock for example) in one run and identify them later. Both parameters are declared as 16bit values. If the Trigger Mask is used in a single bit-wise mode, 16 is the maximum number of different masks available. |
Buffer | Specifies the name of the Buffer to which the event will be sent. After composition of an "Equipment", the Midas Frontend mfe.c
takes over the sending of this event to the buffer (usually the "SYSTEM" buffer) on the back-end computer where it may be sent to the data logger [[mlogger] and the analyser.
compose a larger event) , a dedicated buffer can be specified. In this case the "EQ_EB" flag must be turned on, and the events coming from the Frontend are called fragments.
|
Type | Equipment Type should be set to one of the Equipment Flags EQ_XXX selected
from the list of valid Equipment Flags.
|
| |
| |
|