Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

SctData.ChipConfiguration Class Reference

Collaboration diagram for SctData.ChipConfiguration:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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

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

byte getTrimTarget ()
 the trim target

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

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

void setTrim (int channel, byte trim) throws IllegalArgumentException
 set the trim 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 channel index 0->127 mask if true, unmask if false

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

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

boolean isMasked (int ichannel)
 mask access true if channel is masked 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.

double getRcParam (int ipar)
 Get the response curve parameter index of parameter 0->2; 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

Package Attributes

ABCDChip data
ChipOptions options

Detailed Description

Author:
Matthew Palmer

Definition at line 16 of file ChipConfiguration.java.


Member Function Documentation

byte SctData.ChipConfiguration.getAddress  ) 
 

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

Returns:
the address.

Definition at line 44 of file ChipConfiguration.java.

References sctConf.ABCDChip.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

Definition at line 140 of file ChipConfiguration.java.

References sctConf.ABCDChip.caldata, and sctConf.ABCDCaldata.rc_function.

void SctData.ChipConfiguration.setCalFactor float  factor  ) 
 

theshold calibration factor by which the nominal threshold must be multiplied

mutator

Parameters:
the factor

Definition at line 169 of file ChipConfiguration.java.

References sctConf.ABCDCaldata.c_factor, and sctConf.ABCDChip.caldata.

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

Definition at line 159 of file ChipConfiguration.java.

References sctConf.ABCDChip.caldata, and sctConf.ABCDCaldata.rc_params.


The documentation for this class was generated from the following file:
Generated on Thu Jul 15 09:57:10 2004 for SCT DAQ/DCS Software - Java by doxygen 1.3.5