public class CalibrationConstant extends Object implements LCGenericObject
Constructor and Description |
---|
CalibrationConstant(int cellId,
float offset,
float gain)
Convenience c'tor
|
CalibrationConstant(LCObject obj)
Convenience wrapper for LCGenericObjects read from file
|
Modifier and Type | Method and Description |
---|---|
String |
getDataDescription()
The description string.
|
double |
getDoubleVal(int index)
Returns the double value for the given index.
|
float |
getFloatVal(int index)
Returns the float value for the given index.
|
int |
getIntVal(int index)
Returns the integer value for the given index.
|
int |
getNDouble()
Number of double values stored in this object.
|
int |
getNFloat()
Number of float values stored in this object.
|
int |
getNInt()
Number of integer values stored in this object.
|
String |
getTypeName()
The type name of the user class (typically the class name)
This type name is stored as a collection parameter "TypeName"
with every collection of LCGenericObject subclasses.
|
boolean |
isFixedSize()
True if objects of the implementation class have a fixed size, i.e
getNInt, getNFloat and getNDouble will return values that are constant during
the lifetime of the object.
|
public CalibrationConstant(int cellId, float offset, float gain)
public int getNInt()
LCGenericObject
getNInt
in interface LCGenericObject
public int getNFloat()
LCGenericObject
getNFloat
in interface LCGenericObject
public int getNDouble()
LCGenericObject
getNDouble
in interface LCGenericObject
public int getIntVal(int index)
LCGenericObject
getIntVal
in interface LCGenericObject
public float getFloatVal(int index)
LCGenericObject
getFloatVal
in interface LCGenericObject
public double getDoubleVal(int index)
LCGenericObject
getDoubleVal
in interface LCGenericObject
public boolean isFixedSize()
LCGenericObject
isFixedSize
in interface LCGenericObject
public String getTypeName()
LCGenericObject
getTypeName
in interface LCGenericObject
public String getDataDescription()
LCGenericObject
getDataDescription
in interface LCGenericObject
Jas4pp 1.5 © Java Analysis Studio for Particle Physics