Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

SctPixelRod::TimSequin Class Reference

TimSequin: A class for TIM Sequencer information. More...

#include <TimSequin.h>

Collaboration diagram for SctPixelRod::TimSequin:

Collaboration graph
[legend]
List of all members.

Public Methods

 TimSequin ()
 TimSequin: A class for TIM Sequencer. More...

 ~TimSequin ()
int getBuffer (const UINT16 size, UINT16 buffer[])
int setBuffer (const UINT16 size, const UINT16 buffer[])
int getLength ()
void setOffset (const int offset)
void addByBunch (const TimBitBackplane mask, const int bcid)
void addByIndex (const TimBitBackplane mask, const int index)
void addTrigger (const int index, const UINT32 ids[3], const int delays[2])
void fill (const UINT16 size, const UINT16 value)
int getBCID (const int iL1A, const int iBCR, const int offset)
int getIndex (const int bcid, const int iBCR, const int offset)
void reset ()
int scanRun ()
TimScanResults scan (const TimScanControl control)
TimScanControl scanDefaults ()

Private Methods

void m_scanError (const char *s, const int x, const int y)
void m_scanPrintCMD (const char *s, const int x, const int y, const char *c)
void m_scanPrintL1A (const int index, const int start[2], const int stop[2], const int bcid, const int l1id, const int ttid)

Private Attributes

UINT16 m_buffer [TIM_SEQ_SIZE]
INT32 m_l1id
int m_lastBCR
int m_size
int m_offset
int m_scanErrors

Detailed Description

TimSequin: A class for TIM Sequencer information.

This is useful for building TIM Sequences.

Contributors: John Lane <jbl@hep.ucl.ac.uk> - originator

Definition at line 67 of file TimSequin.h.


Constructor & Destructor Documentation

SctPixelRod::TimSequin::TimSequin  
 

TimSequin: A class for TIM Sequencer.

This is useful for loading the TIM Sequencer.

Contributors: John Lane <jbl@hep.ucl.ac.uk> - originator

Definition at line 46 of file TimSequin.cxx.

References reset.

SctPixelRod::TimSequin::~TimSequin  
 

Definition at line 53 of file TimSequin.cxx.


Member Function Documentation

void SctPixelRod::TimSequin::addByBunch const TimBitBackplane    mask,
const int    bcid
 

Definition at line 90 of file TimSequin.cxx.

References addByIndex, getIndex, m_lastBCR, m_offset, SctPixelRod::NONE, and SctPixelRod::TimBitBackplane.

void SctPixelRod::TimSequin::addByIndex const TimBitBackplane    mask,
const int    index
 

Definition at line 101 of file TimSequin.cxx.

References addTrigger, getBCID, m_buffer, m_l1id, m_lastBCR, m_offset, m_size, SctPixelRod::NONE, SctPixelRod::TIM_BCR, SctPixelRod::TIM_CAL, SctPixelRod::TIM_ECR, SctPixelRod::TIM_L1A, SctPixelRod::TIM_L1ID_FIRST, and SctPixelRod::TimBitBackplane.

Referenced by addByBunch.

void SctPixelRod::TimSequin::addTrigger const int    index,
const UINT32    ids[3],
const int    delays[2]
 

Parameters:
index  Index of L1A in data buffer

Definition at line 133 of file TimSequin.cxx.

References getBCID, m_buffer, m_lastBCR, m_offset, m_size, SctPixelRod::NONE, SctPixelRod::s_bits, SctPixelRod::s_masks, SctPixelRod::s_words, SctPixelRod::TIM_L1A, and SctPixelRod::TIM_SEQ_SIZE.

Referenced by addByIndex.

void SctPixelRod::TimSequin::fill const UINT16    size,
const UINT16    value
 

Definition at line 184 of file TimSequin.cxx.

References m_buffer, and SctPixelRod::TIM_SEQ_SIZE.

int SctPixelRod::TimSequin::getBCID const int    iL1A,
const int    iBCR,
const int    offset
 

Definition at line 195 of file TimSequin.cxx.

Referenced by addByIndex, addTrigger, and scan.

int SctPixelRod::TimSequin::getBuffer const UINT16    size,
UINT16    buffer[]
 

Definition at line 62 of file TimSequin.cxx.

References m_buffer, and m_size.

int SctPixelRod::TimSequin::getIndex const int    bcid,
const int    iBCR,
const int    offset
 

Definition at line 202 of file TimSequin.cxx.

Referenced by addByBunch.

int SctPixelRod::TimSequin::getLength   [inline]
 

Definition at line 82 of file TimSequin.h.

References m_size.

void SctPixelRod::TimSequin::m_scanError const char *    s,
const int    x,
const int    y
[private]
 

Definition at line 461 of file TimSequin.cxx.

References m_scanErrors.

Referenced by scan.

void SctPixelRod::TimSequin::m_scanPrintCMD const char *    s,
const int    x,
const int    y,
const char *    c
[private]
 

Definition at line 473 of file TimSequin.cxx.

Referenced by m_scanPrintL1A, and scan.

void SctPixelRod::TimSequin::m_scanPrintL1A const int    index,
const int    start[2],
const int    stop[2],
const int    bcid,
const int    l1id,
const int    ttid
[private]
 

Definition at line 483 of file TimSequin.cxx.

References m_scanPrintCMD.

Referenced by scan.

void SctPixelRod::TimSequin::reset  
 

Definition at line 211 of file TimSequin.cxx.

References m_buffer, m_l1id, m_lastBCR, m_offset, m_size, SctPixelRod::NONE, SctPixelRod::TIM_BCID_OFFSET, SctPixelRod::TIM_L1ID_FIRST, and SctPixelRod::TIM_SEQ_SIZE.

Referenced by TimSequin.

TimScanResults SctPixelRod::TimSequin::scan const TimScanControl    control
 

Definition at line 223 of file TimSequin.cxx.

References getBCID, m_buffer, m_scanError, m_scanErrors, m_scanPrintCMD, m_scanPrintL1A, SctPixelRod::NONE, SctPixelRod::s_bits, SctPixelRod::s_masks, SctPixelRod::s_words, SctPixelRod::TIM_BCR, SctPixelRod::TIM_BCR_DEADTIME, SctPixelRod::TIM_CAL, SctPixelRod::TIM_CAL_DEADTIME, SctPixelRod::TIM_CMD, SctPixelRod::TIM_ECR, SctPixelRod::TIM_ECR_DEADTIME, SctPixelRod::TIM_L1A, SctPixelRod::TIM_L1A_DEADTIME, SctPixelRod::TIM_L1ID_FIRST, SctPixelRod::TIM_RES, SctPixelRod::TIM_SID, and SctPixelRod::TIM_STT.

Referenced by scanRun.

TimScanControl SctPixelRod::TimSequin::scanDefaults  
 

Definition at line 419 of file TimSequin.cxx.

References m_offset, SctPixelRod::NONE, SctPixelRod::TIM_CAL_DEADTIME, and SctPixelRod::TIM_SEQ_SIZE.

Referenced by scanRun.

int SctPixelRod::TimSequin::scanRun  
 

Definition at line 438 of file TimSequin.cxx.

References m_lastBCR, m_offset, m_size, scan, scanDefaults, and SctPixelRod::TIM_CAL_DEADTIME.

int SctPixelRod::TimSequin::setBuffer const UINT16    size,
const UINT16    buffer[]
 

Definition at line 74 of file TimSequin.cxx.

References m_buffer, m_size, and SctPixelRod::TIM_SEQ_SIZE.

void SctPixelRod::TimSequin::setOffset const int    offset [inline]
 

Definition at line 83 of file TimSequin.h.

References m_offset.


Member Data Documentation

UINT16 SctPixelRod::TimSequin::m_buffer[ TIM_SEQ_SIZE ] [private]
 

Definition at line 110 of file TimSequin.h.

Referenced by addByIndex, addTrigger, fill, getBuffer, reset, scan, and setBuffer.

INT32 SctPixelRod::TimSequin::m_l1id [private]
 

Definition at line 112 of file TimSequin.h.

Referenced by addByIndex, and reset.

int SctPixelRod::TimSequin::m_lastBCR [private]
 

Definition at line 113 of file TimSequin.h.

Referenced by addByBunch, addByIndex, addTrigger, reset, and scanRun.

int SctPixelRod::TimSequin::m_offset [private]
 

Definition at line 115 of file TimSequin.h.

Referenced by addByBunch, addByIndex, addTrigger, reset, scanDefaults, scanRun, and setOffset.

int SctPixelRod::TimSequin::m_scanErrors [private]
 

Definition at line 116 of file TimSequin.h.

Referenced by m_scanError, and scan.

int SctPixelRod::TimSequin::m_size [private]
 

Definition at line 114 of file TimSequin.h.

Referenced by addByIndex, addTrigger, getBuffer, getLength, reset, scanRun, and setBuffer.


The documentation for this class was generated from the following files:
Generated on Sun Jun 27 19:57:38 2004 for TimModule by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002