Main Page   Packages   Class Hierarchy   Compound List   Compound Members   Related Pages  

SctData.ChipConfiguration Class Reference

List of all members.

Public Member Functions

 ChipConfiguration (ABCDChip data)
ABCDChip getData ()
ChipOptions getOptions ()
boolean isActive ()
 
Returns:
true if chip is participating in a scan


void setActive (boolean active)
 set the chip activity status
Parameters:
active if set true


byte getAddress ()
 There is a had-coded address associated with each chip position on the module.

byte getTrimTarget ()
 
Returns:
the trim target


void setTrimTarget (byte target)
 set the trim target
Parameters:
target in mV?


byte getTrim (int channel)
 get the trim
Parameters:
channel 0->127
Returns:
trim 0->15


void setTrim (int channel, byte trim) throws IllegalArgumentException
 set the trim
Parameters:
channel 0->127
trim 0->15


byte getThreshold ()
 get the value of the threshold DAC setting?

void setThreshold (byte threshold)
 set the threshold DAC setting - 0->255 No need for exception as threshold can take full range of byte values

byte getCalCharge ()
 get the value of the calibration charge DAC setting

void setCalCharge (byte calCharge)
 set the value of the calibration charge DAC setting No need for exception as calCharge can take full range of byte values

byte getStrobeDelay ()
 get the value of the strobe delay DAC setting.

void setStrobeDelay (byte strobeDelay) throws IllegalArgumentException
 set the value of the strobe delay DAC setting

void resetMask ()
 unmask all channels

void setMask (int ichannel, boolean value)
 mask mutator
Parameters:
channel index 0->127
mask if true, unmask if false


void mask (int ichannel)
 mask mutator
Parameters:
channel index 0->127


void unmask (int ichannel)
 mask mutator
Parameters:
channel index 0->127


boolean isMasked (int ichannel)
 mask access
Returns:
true if channel is masked
Parameters:
channel index 0->127


byte getRcFunctionIndex ()
 A functional representation of the response curve (equivalent threshold as a function of charge) so that one may request ROD to set the threshold to a value specified in fC.

void setRcFunctionIndex (byte index) throws IllegalArgumentException
 Response curve function index.
Parameters:
 



double getRcParam (int ipar)
 Get the response curve parameter
Parameters:
index of parameter 0->2;
Returns:
value of parameter.


void setRcParam (int ipar, double val)
 Set the response curve parameter.

void setCalFactor (float factor)
 theshold calibration factor by which the nominal threshold must be multiplied

float getCalFactor ()
 accessor @}

String getClassName ()
void readObject (IStream s, ObjectManager o) throws java.io.IOException
void write (OStream s, ObjectManager o) throws java.io.IOException

Static Public Member Functions

Streamable read (IStream s, ObjectManager o) throws java.io.IOException

Public Attributes

ABCDChip data
ChipOptions options

Detailed Description

Author:
Matthew Palmer


Member Function Documentation

byte SctData.ChipConfiguration.getAddress  
 

There is a had-coded address associated with each chip position on the module.

Returns:
the address.

byte SctData.ChipConfiguration.getRcFunctionIndex  
 

A functional representation of the response curve (equivalent threshold as a function of charge) so that one may request ROD to set the threshold to a value specified in fC.

get the index (type) of the RC function

Returns:
0 - no calibration information 1 - second order polynomial 2 - "grillo" function 3 - exponential 4 - straight line fit

void SctData.ChipConfiguration.setCalFactor float    factor
 

theshold calibration factor by which the nominal threshold must be multiplied

mutator

Parameters:
the factor

void SctData.ChipConfiguration.setRcParam int    ipar,
double    val
 

Set the response curve parameter.

Parameters:
index of parameter 0->2;
the value to set that parameter


The documentation for this class was generated from the following file:
Generated on Mon Dec 15 19:39:14 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3