QApolloTriggerList Class Reference

List of all members.


Detailed Description

container for all trigger defined

Author:
marco.pallavicini@ge.infn.it

Public Member Functions

QApolloTrigger * Run ()
 run method: just run all trigger engines available.
void SelfAdjust ()
 compute/autoadjust parameters for all triggers
bool isReady () const
 true if all triggers have completed the autoadjusting phase
void Dump (int) const
void SetEnabled (bool enabled)
 enable or disable trigger scan
QApolloTrigger * Run ()
 run method: just run all trigger engines available.
void SelfAdjust ()
 compute/autoadjust parameters for all triggers
void Init ()
 evaluate minwords if is first call
bool isReady () const
 true if all triggers have completed the autoadjusting phase
void Dump (int) const
void SetEnabled (bool enabled)
 enable or disable trigger scan

Private Member Functions

void Add (QApolloTrigger *t)
void EvalMinNumWords ()
 determine, for each channel, the minimum number of words that can can be analyzed at each call of the Run() method
void EvalMinDelayWords ()
 determine, for each channel, the minimum delay samples with respect to the last word written by the DAQ that guarantees that all active algorithms will work correctly
void DeleteAll ()
 delete all trigger objects in list
void Add (QApolloTrigger *t)
void EvalMinNumWords ()
 determine, for each channel, the minimum number of words that can can be analyzed at each call of the Run() method
void EvalMinDelayWords ()
 determine, for each channel, the minimum delay samples with respect to the last word written by the DAQ that guarantees that all active algorithms will work correctly
void DeleteAll ()
 delete all trigger objects in list

Private Attributes

std::map< int, unsigned long > fNumWords
std::map< int, unsigned long > fDelayWords
std::map< int, std::vector
< QApolloTrigger * > > 
fTriggers
bool fReady
bool fFirstCall

Friends

class QApolloTriggerFactory

Member Function Documentation

QApolloTrigger * QApolloTriggerList::Run (  ) 

run method: just run all trigger engines available.

Parameters:
numWords number of samples to be processed; if data buffer contains less than numWords samples, nothing is done.
Returns:
  • in case of success a NULL pointer is returned
  • in case of error a pointer to the engine that failed is returned;

References EvalMinDelayWords(), and EvalMinNumWords().

void QApolloTriggerList::SetEnabled ( bool  enabled  ) 

enable or disable trigger scan

If trigger scan is disabled data is simply set as processed by trigger, but actually trigger algorithms don't scan data. Every time this member function is called, data in shared memory is flagged in order to signal that trigger status has changed.

Parameters:
enable if true (default), triggers are enabled

QApolloTrigger* QApolloTriggerList::Run (  ) 

run method: just run all trigger engines available.

Parameters:
numWords number of samples to be processed; if data buffer contains less than numWords samples, nothing is done.
Returns:
  • in case of success a NULL pointer is returned
  • in case of error a pointer to the engine that failed is returned;

void QApolloTriggerList::SetEnabled ( bool  enabled  ) 

enable or disable trigger scan

If trigger scan is disabled data is simply set as processed by trigger, but actually trigger algorithms don't scan data. Every time this member function is called, data in shared memory is flagged in order to signal that trigger status has changed.

Parameters:
enable if true (default), triggers are enabled


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

Generated on Tue Nov 16 10:50:04 2010 for CUORE Software by  doxygen 1.5.6