Contents
- Description
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- getClock()
- getFcup()
- getSlm()
- getGatedClock()
- getGatedFcup()
- getGatedSlm()
- getClockSeconds()
- getGatedClockSeconds()
- getLivetimeClock()
- getLivetimeFcup()
- getLivetimeSLM()
- setBeamCharge(double)
- setBeamChargeGated(double)
- setBeamChargeSLM(double)
- setBeamChargeGatedSLM(double)
- setLivetime(double)
- getBeamCharge()
- getBeamChargeGated()
- getLivetime()
- getBeamChargeSLM()
- getBeamChargeGatedSLM()
- toString()
- add(DaqScaler)
- calibrate(IndexedTable, IndexedTable, double, double)
- calibrate(IndexedTable, IndexedTable)
Class DaqScaler
java.lang.Object
org.jlab.detector.scalers.DaqScaler
- Direct Known Subclasses:
Dsc2Scaler
,StruckScaler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected double
protected double
protected double
protected double
protected long
protected double
protected static final int
protected long
protected long
protected long
protected long
protected double
protected static final String
protected long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Add raw values from another scaler reading to this one.protected final void
calibrate
(org.jlab.utils.groups.IndexedTable fcupTable, org.jlab.utils.groups.IndexedTable slmTable) Use the scaler's own clock to get dwell and live-dwell timesprotected void
calibrate
(org.jlab.utils.groups.IndexedTable fcupTable, org.jlab.utils.groups.IndexedTable slmTable, double seconds, double liveSeconds) Manually choose dwell and live-dwell times, e.g. if clock rolls over.double
double
double
double
final long
getClock()
final double
final long
getFcup()
final long
final double
final long
final long
double
final double
final double
final double
final long
getSlm()
protected void
setBeamCharge
(double q) protected void
setBeamChargeGated
(double q) protected void
setBeamChargeGatedSLM
(double q) protected void
setBeamChargeSLM
(double q) protected void
setLivetime
(double l) toString()
-
Field Details
-
RAWBANKNAME
- See Also:
-
CRATE
protected static final int CRATE- See Also:
-
clockFreq
protected double clockFreq -
fcup
protected long fcup -
clock
protected long clock -
slm
protected long slm -
gatedFcup
protected long gatedFcup -
gatedClock
protected long gatedClock -
gatedSlm
protected long gatedSlm -
beamCharge
protected double beamCharge -
beamChargeGated
protected double beamChargeGated -
beamChargeSLM
protected double beamChargeSLM -
beamChargeGatedSLM
protected double beamChargeGatedSLM -
livetime
protected double livetime
-
-
Constructor Details
-
Method Details
-
getClock
public final long getClock() -
getFcup
public final long getFcup() -
getSlm
public final long getSlm() -
getGatedClock
public final long getGatedClock() -
getGatedFcup
public final long getGatedFcup() -
getGatedSlm
public final long getGatedSlm() -
getClockSeconds
public final double getClockSeconds() -
getGatedClockSeconds
public final double getGatedClockSeconds() -
getLivetimeClock
public final double getLivetimeClock() -
getLivetimeFcup
public final double getLivetimeFcup() -
getLivetimeSLM
public final double getLivetimeSLM() -
setBeamCharge
protected void setBeamCharge(double q) -
setBeamChargeGated
protected void setBeamChargeGated(double q) -
setBeamChargeSLM
protected void setBeamChargeSLM(double q) -
setBeamChargeGatedSLM
protected void setBeamChargeGatedSLM(double q) -
setLivetime
protected void setLivetime(double l) -
getBeamCharge
public double getBeamCharge() -
getBeamChargeGated
public double getBeamChargeGated() -
getLivetime
public double getLivetime() -
getBeamChargeSLM
public double getBeamChargeSLM() -
getBeamChargeGatedSLM
public double getBeamChargeGatedSLM() -
toString
-
add
Add raw values from another scaler reading to this one. Note, "calibrate" will need to be called afterwards.- Parameters:
other
-
-
calibrate
protected void calibrate(org.jlab.utils.groups.IndexedTable fcupTable, org.jlab.utils.groups.IndexedTable slmTable, double seconds, double liveSeconds) Manually choose dwell and live-dwell times, e.g. if clock rolls over.- Parameters:
fcupTable
- /runcontrol/fcup CCDB tableslmTable
- /runcontrol/slm CCDB tableseconds
- dwell timeliveSeconds
- live dwell time
-
calibrate
protected final void calibrate(org.jlab.utils.groups.IndexedTable fcupTable, org.jlab.utils.groups.IndexedTable slmTable) Use the scaler's own clock to get dwell and live-dwell times- Parameters:
fcupTable
- /runcontrol/fcup CCDB tableslmTable
- /runcontrol/slm CCDB table
-