Contents
- Description
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- createDecoder()
- createDecoderDevel()
- setVariation(String)
- setDebugMode(int)
- setRunNumber(int)
- setRunNumber(int, boolean)
- getCodaEventDecoder()
- initEvent(DataEvent)
- getEntriesADC(DetectorType)
- getEntriesADC(DetectorType, List)
- getEntriesTDC(DetectorType)
- getEntriesTDC(DetectorType, List)
- getEntriesVTP(DetectorType)
- getEntriesVTP(DetectorType, List)
- getEntriesSCALER(DetectorType)
- getEntriesSCALER(DetectorType, List)
- extractPulses(Event)
- getDataBankWF(String, DetectorType)
- getDataBankADC(String, DetectorType)
- getDataBankTDC(String, DetectorType)
- getDataBankTDCPetiroc(String, DetectorType)
- getDataBankTimeStamp(String, DetectorType)
- getDataBankUndecodedADC(String, DetectorType)
- getDataBankUndecodedTDC(String, DetectorType)
- getDataBankUndecodedVTP(String, DetectorType)
- getDataBankUndecodedSCALER(String, DetectorType)
- getDecodedEvent(EvioDataEvent, int, int, double, double)
- getDataEvent(DataEvent)
- getDataEvent()
- getTriggerPhase()
- createHeaderBank(int, int, float, float)
- createOnlineHelicityBank()
- createTriggerBank()
- createEpicsBank()
- createReconScalerBanks(Event)
- createBonusBank()
- createHelicityDecoderBank(EvioDataEvent)
- main(String[])
Class CLASDecoder4
java.lang.Object
org.jlab.detector.decode.CLASDecoder4
- Author:
- gavalian
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jlab.jnp.hipo4.data.Bank
static CLASDecoder
static CLASDecoder
org.jlab.jnp.hipo4.data.Bank
org.jlab.jnp.hipo4.data.Bank
createHeaderBank
(int nrun, int nevent, float torus, float solenoid) org.jlab.jnp.hipo4.data.Bank
createHelicityDecoderBank
(org.jlab.io.evio.EvioDataEvent event) org.jlab.jnp.hipo4.data.Bank
List
<org.jlab.jnp.hipo4.data.Bank> createReconScalerBanks
(org.jlab.jnp.hipo4.data.Event event) Create the RUN::scaler and HEL::scaler banks Requires: - RAW::scaler - fcup/slm/hel/dsc calibrations from CCDB - event unix time from RUN::config and run start time from RCDB, or a good clock frequency from CCDBorg.jlab.jnp.hipo4.data.Bank
void
extractPulses
(org.jlab.jnp.hipo4.data.Event event) org.jlab.jnp.hipo4.data.Bank
getDataBankADC
(String name, DetectorType type) org.jlab.jnp.hipo4.data.Bank
getDataBankTDC
(String name, DetectorType type) org.jlab.jnp.hipo4.data.Bank
getDataBankTDCPetiroc
(String name, DetectorType type) org.jlab.jnp.hipo4.data.Bank
getDataBankTimeStamp
(String name, DetectorType type) org.jlab.jnp.hipo4.data.Bank
getDataBankUndecodedADC
(String name, DetectorType type) org.jlab.jnp.hipo4.data.Bank
getDataBankUndecodedSCALER
(String name, DetectorType type) org.jlab.jnp.hipo4.data.Bank
getDataBankUndecodedTDC
(String name, DetectorType type) org.jlab.jnp.hipo4.data.Bank
getDataBankUndecodedVTP
(String name, DetectorType type) org.jlab.jnp.hipo4.data.Bank
getDataBankWF
(String name, DetectorType type) org.jlab.jnp.hipo4.data.Event
org.jlab.jnp.hipo4.data.Event
getDataEvent
(org.jlab.io.base.DataEvent rawEvent) org.jlab.jnp.hipo4.data.Event
getDecodedEvent
(org.jlab.io.evio.EvioDataEvent rawEvent, int run, int counter, double torus, double solenoid) getEntriesADC
(DetectorType type) return list of digitized ADC values from internal listgetEntriesADC
(DetectorType type, List<DetectorDataDgtz> entries) returns ADC entries from decoded data for given detector TYPEgetEntriesSCALER
(DetectorType type) getEntriesSCALER
(DetectorType type, List<DetectorDataDgtz> entries) returns VTP entries from decoded data for given detector typegetEntriesTDC
(DetectorType type) getEntriesTDC
(DetectorType type, List<DetectorDataDgtz> entries) returns TDC entries from decoded data for given detector typegetEntriesVTP
(DetectorType type) getEntriesVTP
(DetectorType type, List<DetectorDataDgtz> entries) returns VTP entries from decoded data for given detector typelong
void
initEvent
(org.jlab.io.base.DataEvent event) static void
void
setDebugMode
(int mode) void
setRunNumber
(int run) void
setRunNumber
(int run, boolean fixed) void
setVariation
(String variation)
-
Constructor Details
-
Method Details
-
createDecoder
-
createDecoderDevel
-
setVariation
-
setDebugMode
public void setDebugMode(int mode) -
setRunNumber
public void setRunNumber(int run) -
setRunNumber
public void setRunNumber(int run, boolean fixed) -
getCodaEventDecoder
-
initEvent
public void initEvent(org.jlab.io.base.DataEvent event) -
getEntriesADC
return list of digitized ADC values from internal list- Parameters:
type
- detector type- Returns:
-
getEntriesADC
returns ADC entries from decoded data for given detector TYPE- Parameters:
type
- detector typeentries
- digitized data list- Returns:
- list of ADC's for detector type
-
getEntriesTDC
-
getEntriesTDC
returns TDC entries from decoded data for given detector type- Parameters:
type
- detector typeentries
- digitized data list- Returns:
- list of ADC's for detector type
-
getEntriesVTP
-
getEntriesVTP
returns VTP entries from decoded data for given detector type- Parameters:
type
- detector typeentries
- digitized data list- Returns:
- list of VTP's for detector type
-
getEntriesSCALER
-
getEntriesSCALER
returns VTP entries from decoded data for given detector type- Parameters:
type
- detector typeentries
- digitized data list- Returns:
- list of VTP's for detector type
-
extractPulses
public void extractPulses(org.jlab.jnp.hipo4.data.Event event) -
getDataBankWF
-
getDataBankADC
-
getDataBankTDC
-
getDataBankTDCPetiroc
-
getDataBankTimeStamp
-
getDataBankUndecodedADC
-
getDataBankUndecodedTDC
-
getDataBankUndecodedVTP
-
getDataBankUndecodedSCALER
-
getDecodedEvent
public org.jlab.jnp.hipo4.data.Event getDecodedEvent(org.jlab.io.evio.EvioDataEvent rawEvent, int run, int counter, double torus, double solenoid) -
getDataEvent
public org.jlab.jnp.hipo4.data.Event getDataEvent(org.jlab.io.base.DataEvent rawEvent) -
getDataEvent
public org.jlab.jnp.hipo4.data.Event getDataEvent() -
getTriggerPhase
public long getTriggerPhase() -
createHeaderBank
public org.jlab.jnp.hipo4.data.Bank createHeaderBank(int nrun, int nevent, float torus, float solenoid) -
createOnlineHelicityBank
public org.jlab.jnp.hipo4.data.Bank createOnlineHelicityBank() -
createTriggerBank
public org.jlab.jnp.hipo4.data.Bank createTriggerBank() -
createEpicsBank
public org.jlab.jnp.hipo4.data.Bank createEpicsBank() -
createReconScalerBanks
public List<org.jlab.jnp.hipo4.data.Bank> createReconScalerBanks(org.jlab.jnp.hipo4.data.Event event) Create the RUN::scaler and HEL::scaler banks Requires: - RAW::scaler - fcup/slm/hel/dsc calibrations from CCDB - event unix time from RUN::config and run start time from RCDB, or a good clock frequency from CCDB- Parameters:
event
-- Returns:
-
createBonusBank
public org.jlab.jnp.hipo4.data.Bank createBonusBank() -
createHelicityDecoderBank
public org.jlab.jnp.hipo4.data.Bank createHelicityDecoderBank(org.jlab.io.evio.EvioDataEvent event) -
main
-