QPulserGroup Class Reference

List of all members.


Detailed Description

group of pulser channels that will fire at the same time

Author:
sergio.didomizio@ge.infn.it Given the pulser hardware, two channels belonging to the same board cannot fire at the same time. Therefore a time delay must be introduced among pulser channels from the same board. This class is a simple collection of pulses that can fire at the same time (i.e. they belong to different boards).

Public Member Functions

bool AddChannel (QPulserChannel *ch)
 add pulser channel to group
unsigned int GetDelay () const
 get delay index associated to current group
void SetDelay (unsigned int delay)
 set delay for this group
const std::vector
< QPulserChannel * > & 
GetChannels () const
 get const reference to pulser channels vector
QTimer< class
QBasePulserController > * 
GetDelayTimer ()
 get delay timer associated to this pulser group
unsigned int GetGroupId () const

Private Attributes

unsigned int fDelay
QTimer< QBasePulserControllerfDelayTimer
std::vector< QPulserChannel * > fChannels
unsigned int fGroupId

Static Private Attributes

static unsigned int gGroupIdCtr = 0

Member Function Documentation

bool QPulserGroup::AddChannel ( QPulserChannel ch  ) 

add pulser channel to group

Parameters:
ch pointer to QPulserChannel object to be added
Returns:
always true, unless requested pointer already exist in group

References fDelay, QPulserChannel::GetDelay(), QPulserChannel::SetDelay(), and QTimer< T >::SetTimeout().


Member Data Documentation

unsigned int QPulserGroup::fDelay [private]

delay in ms

Referenced by AddChannel(), GetDelay(), and SetDelay().


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

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