CODA control event data structure and management.
An options class which parses command line, config file and environment.
Basic data types and constants used throughout the Qweak analysis framework.
Logging and output management system with configurable verbosity levels.
UInt_t GetFragLength() const
virtual void PrintDecoderInfo(QwLog &out)
Print internal decoder state for diagnostics.
virtual Int_t DecodeEventIDBank(UInt_t *buffer)=0
Decode the event ID bank and classify the event type.
virtual Bool_t DecodeSubbankHeader(UInt_t *buffer)
Decode the subbank header for the current event/bank context.
UInt_t GetSubbankType() const
void SetWordsSoFar(UInt_t val)
virtual void EncodeEndEventHeader(int *buffer, int eventcount, int localtime)=0
Encode an END control-event header.
virtual Bool_t IsROCConfigurationEvent()
UInt_t GetWordsSoFar() const
UInt_t fEvtNumber
CODA event number; only defined for physics events.
virtual void EncodePrestartEventHeader(int *buffer, int runnumber, int runtype, int localtime)=0
Encode a PRESTART control-event header.
UInt_t GetSubbankTag() const
UInt_t GetEvtLength() const
void SetAllowLowSubbankIDs(Bool_t val=kFALSE)
UInt_t GetBankDataType() const
virtual void EncodeGoEventHeader(int *buffer, int eventcount, int localtime)=0
Encode a GO control-event header.
UInt_t GetEvtType() const
UInt_t GetEvtNumber() const
virtual Bool_t IsEPICSEvent()
Bool_t fAllowLowSubbankIDs
virtual Bool_t IsPhysicsEvent()
void AddWordsSoFarAndFragLength()
virtual void EncodePauseEventHeader(int *buffer, int eventcount, int localtime)=0
Encode a PAUSE control-event header.
void SetFragLength(UInt_t val)
virtual std::vector< UInt_t > EncodePHYSEventHeader(std::vector< ROCID_t > &ROCList)=0
Create a physics-event (PHYS) header bank for the given ROCs.