HSConfiguration Class Reference

class containing configuration of one half stave More...

#include <HSConfiguration.h>

Inheritance diagram for HSConfiguration:

Inheritance graph
[legend]
Collaboration diagram for HSConfiguration:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 HSConfiguration (void)
 ~HSConfiguration (void)
UInt32 LoadClassDefaults (void)
UInt32 SetClassToDb (PixelConfDb &dbData)
UInt8 GetPxDAC (UInt8 ChipN, UInt8 DACn)
void SetPxDAC (UInt8 val, UInt8 ChipN, UInt8 DACn)
UInt8GerPxDACVect (UInt8 ChipN)
void SetPxDACVector (UInt8 *inputStream, UInt8 ChipN)
UInt32GetPxTP (UInt8 ChipN)
void SetPxTP (UInt32 *Input, UInt8 ChipN)
UInt32GetPxMASK (UInt8 ChipN)
void SetPxMASK (UInt32 *Input, UInt8 ChipN)
std::vector< PixelCoordinategetNoisyPixelVector (UInt8 ChipN)
DigitalPilotGetDPI (void)
UInt32 GetGOLConf (void)
void SetGOLConf (UInt32 val)
UInt8GetAPIConf (void)
void SetAPIConf (UInt8 *Input)
UInt32 GetPixChipInChain (void)
void SetPixChipInChain (UInt32 pix)
UInt8 GetDACRefHiAPIConf (void)
void SetDACRefHiAPIConf (UInt8 Value)
UInt8 GetDACRefMidAPIConf (void)
void SetDACRefMidAPIConf (UInt8 Value)
UInt8 GetDACGtlRefAPIConf (void)
void SetDACGtlRefAAPIConf (UInt8 Value)
UInt8 GetDACGtlRefDAPIConf (void)
void SetDACGtlRefDAPIConf (UInt8 Value)
UInt8 GetDACTestHiAPIConf (void)
void SetDACTestHiAPIConf (UInt8 Value)
UInt8 GetDACTestLowAPIConf (void)
void SetDACTestLowAPIConf (UInt8 Value)
void SetGOLWaitTime (UInt8 Val)
UInt8 GetGOLWaitTime (void)
void SetGOLLossOfLock (UInt8 Val)
UInt8 GetGOLLossOfLock (void)
void SetGOLPLLlockTime (UInt8 Val)
UInt8 GetGOLPLLlockTime (void)
void SetGOLEnSoftLossLock (bool Val)
bool GetGOLEnSoftLossLock (void)
void SetGOLEnLossLockCount (bool Val)
bool GetGOLEnLossLockCount (void)
void SetGOLEnForceLock (bool Val)
bool GetGOLEnForceLock (void)
void SetGOLEnSelfTest (bool Val)
bool GetGOLEnSelfTest (void)
void SetGOLPLLCurrent (UInt8 Val)
UInt8 GetGOLPLLCurrent (void)
void SetGOLTestSel (UInt8 Val)
UInt8 GetGOLTestSel (void)
void SetGOLEnFlag (bool Val)
bool GetGOLEnFlag (void)
void SetGOLLDCurrent (UInt8 Val)
UInt8 GetGOLLDCurrent (void)
void SetGOLUseConfReg (bool Val)
bool GetGOLUseConfReg (void)
void SetNoisyPixelVect (UInt32 Input[10][256])
 wil set the internal noisy pixel vector using as input the matrix like the one received by pvss
void SetNoisyPixelsVectJT (UInt32 chipSel, Uint32 *Matrix, bool repeatFirstMatrix=false)
 wil set the internal dead pixel vector using as input the matrix like the one for a jtag scan

Static Public Member Functions

static double convertTempBUS (UInt32 digitalValue)
static double convertTempMCM (UInt32 digitalValue)

Private Attributes

UInt8 PxDAC [10][44]
 Pixels Chip DACs.
UInt32 PxTP [10][256]
UInt32 PxMASK [10][256]
 Pixels Mask.
DigitalPilot DPI
 Digital pilot container class.
UInt32 GOLConf
 GOL configuration.
UInt8 APIConf [6]
UInt32 PixChipInChain
 pixel chips in chain


Detailed Description

class containing configuration of one half stave

this class gets the default values (database values) of he hafstave from inheritance


Constructor & Destructor Documentation

HSConfiguration::HSConfiguration ( void   ) 

HSConfiguration::~HSConfiguration ( void   ) 


Member Function Documentation

UInt32 HSConfiguration::LoadClassDefaults ( void   ) 

UInt32 HSConfiguration::SetClassToDb ( PixelConfDb dbData  ) 

UInt8 HSConfiguration::GetPxDAC ( UInt8  ChipN,
UInt8  DACn 
) [inline]

void HSConfiguration::SetPxDAC ( UInt8  val,
UInt8  ChipN,
UInt8  DACn 
) [inline]

UInt8* HSConfiguration::GerPxDACVect ( UInt8  ChipN  )  [inline]

void HSConfiguration::SetPxDACVector ( UInt8 inputStream,
UInt8  ChipN 
)

UInt32* HSConfiguration::GetPxTP ( UInt8  ChipN  )  [inline]

void HSConfiguration::SetPxTP ( UInt32 Input,
UInt8  ChipN 
)

UInt32* HSConfiguration::GetPxMASK ( UInt8  ChipN  )  [inline]

void HSConfiguration::SetPxMASK ( UInt32 Input,
UInt8  ChipN 
)

std::vector< PixelCoordinate > HSConfiguration::getNoisyPixelVector ( UInt8  ChipN  ) 

DigitalPilot* HSConfiguration::GetDPI ( void   )  [inline]

UInt32 HSConfiguration::GetGOLConf ( void   )  [inline]

void HSConfiguration::SetGOLConf ( UInt32  val  )  [inline]

UInt8* HSConfiguration::GetAPIConf ( void   )  [inline]

void HSConfiguration::SetAPIConf ( UInt8 Input  ) 

UInt32 HSConfiguration::GetPixChipInChain ( void   )  [inline]

void HSConfiguration::SetPixChipInChain ( UInt32  pix  )  [inline]

UInt8 HSConfiguration::GetDACRefHiAPIConf ( void   )  [inline]

void HSConfiguration::SetDACRefHiAPIConf ( UInt8  Value  )  [inline]

UInt8 HSConfiguration::GetDACRefMidAPIConf ( void   )  [inline]

void HSConfiguration::SetDACRefMidAPIConf ( UInt8  Value  )  [inline]

UInt8 HSConfiguration::GetDACGtlRefAPIConf ( void   )  [inline]

void HSConfiguration::SetDACGtlRefAAPIConf ( UInt8  Value  )  [inline]

UInt8 HSConfiguration::GetDACGtlRefDAPIConf ( void   )  [inline]

void HSConfiguration::SetDACGtlRefDAPIConf ( UInt8  Value  )  [inline]

UInt8 HSConfiguration::GetDACTestHiAPIConf ( void   )  [inline]

void HSConfiguration::SetDACTestHiAPIConf ( UInt8  Value  )  [inline]

UInt8 HSConfiguration::GetDACTestLowAPIConf ( void   )  [inline]

void HSConfiguration::SetDACTestLowAPIConf ( UInt8  Value  )  [inline]

void HSConfiguration::SetGOLWaitTime ( UInt8  Val  )  [inline]

UInt8 HSConfiguration::GetGOLWaitTime ( void   )  [inline]

void HSConfiguration::SetGOLLossOfLock ( UInt8  Val  )  [inline]

UInt8 HSConfiguration::GetGOLLossOfLock ( void   )  [inline]

void HSConfiguration::SetGOLPLLlockTime ( UInt8  Val  )  [inline]

UInt8 HSConfiguration::GetGOLPLLlockTime ( void   )  [inline]

void HSConfiguration::SetGOLEnSoftLossLock ( bool  Val  )  [inline]

bool HSConfiguration::GetGOLEnSoftLossLock ( void   )  [inline]

void HSConfiguration::SetGOLEnLossLockCount ( bool  Val  )  [inline]

bool HSConfiguration::GetGOLEnLossLockCount ( void   )  [inline]

void HSConfiguration::SetGOLEnForceLock ( bool  Val  )  [inline]

bool HSConfiguration::GetGOLEnForceLock ( void   )  [inline]

void HSConfiguration::SetGOLEnSelfTest ( bool  Val  )  [inline]

bool HSConfiguration::GetGOLEnSelfTest ( void   )  [inline]

void HSConfiguration::SetGOLPLLCurrent ( UInt8  Val  )  [inline]

UInt8 HSConfiguration::GetGOLPLLCurrent ( void   )  [inline]

void HSConfiguration::SetGOLTestSel ( UInt8  Val  )  [inline]

UInt8 HSConfiguration::GetGOLTestSel ( void   )  [inline]

void HSConfiguration::SetGOLEnFlag ( bool  Val  )  [inline]

bool HSConfiguration::GetGOLEnFlag ( void   )  [inline]

void HSConfiguration::SetGOLLDCurrent ( UInt8  Val  )  [inline]

UInt8 HSConfiguration::GetGOLLDCurrent ( void   )  [inline]

void HSConfiguration::SetGOLUseConfReg ( bool  Val  )  [inline]

bool HSConfiguration::GetGOLUseConfReg ( void   )  [inline]

double HSConfiguration::convertTempBUS ( UInt32  digitalValue  )  [static]

static double HSConfiguration::convertTempMCM ( UInt32  digitalValue  )  [static]

void HSConfiguration::SetNoisyPixelVect ( UInt32  Input[10][256]  ) 

wil set the internal noisy pixel vector using as input the matrix like the one received by pvss

void HSConfiguration::SetNoisyPixelsVectJT ( UInt32  chipSel,
Uint32 *  Matrix,
bool  repeatFirstMatrix = false 
)

wil set the internal dead pixel vector using as input the matrix like the one for a jtag scan


Member Data Documentation

UInt8 HSConfiguration::PxDAC[10][44] [private]

Pixels Chip DACs.

UInt32 HSConfiguration::PxTP[10][256] [private]

Pixels TP for tp and mask the structure is: first 8 UInt32 are colum 0, the second 8 UInt32 column 1.. bit 0 (right one) of first UInt32 is {0,0} (column, row)

UInt32 HSConfiguration::PxMASK[10][256] [private]

Pixels Mask.

DigitalPilot HSConfiguration::DPI [private]

Digital pilot container class.

Reimplemented from HSConfDefault.

UInt32 HSConfiguration::GOLConf [private]

GOL configuration.

UInt8 HSConfiguration::APIConf[6] [private]

API Configuration APIConf[0] = DAC_REF_HI APIConf[1] = DAC_REF_MID APIConf[2] = GTL_REF_A APIConf[3] = GTL_REF_D APIConf[4] = AN_TEST_HI APIConf[5] = AN_TEST_LOW

UInt32 HSConfiguration::PixChipInChain [private]

pixel chips in chain

bit 0 at 1 = chip 0 in chain, bit 1 at 1 = chip 1 ....


The documentation for this class was generated from the following files:
Generated on Tue Dec 1 12:09:52 2009 for SPD FED Server by  doxygen 1.5.4