JAPAn
Just Another Parity Analyzer
|
Event buffer management for reading and processing CODA data. More...
#include <QwEventBuffer.h>
Public Member Functions | |
QwEventBuffer () | |
Default constructor. | |
virtual | ~QwEventBuffer () |
void | ProcessOptions (QwOptions &options) |
Sets internal flags based on the QwOptions. | |
void | PrintRunTimes () |
TString | GetRunLabel () const |
Returns a string like <run#> or <run#>.<file#> | |
Bool_t | AreRunletsSplit () const |
Return true if file segments are being separated for. | |
Int_t | GetRunNumber () const |
Return CODA file run number. | |
Int_t | GetSegmentNumber () const |
Return CODA file segment number. | |
std::pair< UInt_t, UInt_t > | GetEventRange () const |
Int_t | OpenNextStream () |
Opens the event stream (file or ET) based on the internal flags. | |
Int_t | CloseStream () |
Closes a currently open event stream. | |
void | SetDataDirectory (const TString datadir) |
const TString & | GetDataFile () const |
const TString & | GetDataDirectory () const |
Int_t | ReOpenStream () |
Int_t | OpenDataFile (UInt_t current_run, Short_t seg) |
Int_t | OpenDataFile (UInt_t current_run, const TString rw="R") |
Int_t | OpenDataFile (const TString filename, const TString rw="R") |
Int_t | CloseDataFile () |
Int_t | OpenETStream (TString computer, TString session, int mode, const TString stationname="") |
Int_t | CloseETStream () |
Bool_t | IsPhysicsEvent () |
Int_t | GetPhysicsEventNumber () |
Int_t | GetEventNumber () |
Bool_t | GetNextEventRange () |
Read the next requested event range, return true if success. | |
Bool_t | GetNextRunRange () |
Read the next requested run range, return true if success. | |
Bool_t | GetNextRunNumber () |
Get the next run in the active run range, proceed to next range if needed. | |
void | VerifyCodaVersion (const UInt_t *buffer) |
Int_t | GetNextEvent () |
Int_t | GetEvent () |
Int_t | WriteEvent (int *buffer) |
Bool_t | IsOnline () |
Bool_t | IsROCConfigurationEvent () |
Bool_t | IsEPICSEvent () |
Bool_t | FillSubsystemConfigurationData (QwSubsystemArray &subsystems) |
Bool_t | FillSubsystemData (QwSubsystemArray &subsystems) |
Bool_t | FillEPICSData (QwEPICSEvent &epics) |
template<class T> | |
Bool_t | FillObjectWithEventData (T &t) |
void | ResetControlParameters () |
void | ReportRunSummary () |
Int_t | EncodeSubsystemData (QwSubsystemArray &subsystems) |
Int_t | EncodePrestartEvent (int runnumber, int runtype=0) |
Int_t | EncodeGoEvent () |
Int_t | EncodePauseEvent () |
Int_t | EncodeEndEvent () |
TString | GetStartSQLTime () |
TString | GetEndSQLTime () |
time_t | GetStartUnixTime () |
time_t | GetEndUnixTime () |
void | ResetFlags () |
Static Public Member Functions | |
static void | DefineOptions (QwOptions &options) |
static void | SetDefaultDataDirectory (const std::string &dir) |
static void | SetDefaultDataFileStem (const std::string &stem) |
static void | SetDefaultDataFileExtension (const std::string &extension) |
Static Public Attributes | |
static const Int_t | kRunNotSegmented = -20 |
static const Int_t | kNoNextDataFile = -30 |
static const Int_t | kFileHandleNotConfigured = -40 |
static const UInt_t | kNullDataWord = 0x4e554c4c |
Protected Types | |
enum | CodaStreamMode { fEvStreamNull , fEvStreamFile , fEvStreamET } |
typedef ULong64_t | RocBankLabel_t |
Methods and data members needed to find marker words. | |
Protected Member Functions | |
Int_t | GetFileEvent () |
Int_t | GetEtEvent () |
Int_t | WriteFileEvent (int *buffer) |
Bool_t | DataFileIsSegmented () |
Int_t | CloseThisSegment () |
Int_t | OpenNextSegment () |
const TString & | DataFile (const UInt_t run, const Short_t seg) |
std::size_t | CheckForMarkerWords (QwSubsystemArray &subsystems) |
UInt_t | FindMarkerWord (UInt_t markerID, UInt_t *buffer, UInt_t num_words) |
UInt_t | GetMarkerWord (UInt_t markerID) |
Protected Attributes | |
Bool_t | fOnline |
TString | fETHostname |
TString | fETSession |
TString | fETStationName |
Int_t | fETWaitMode |
Bool_t | fExitOnEnd |
Bool_t | fChainDataFiles |
std::pair< Int_t, Int_t > | fRunRange |
std::string | fRunListFileName |
std::unique_ptr< QwParameterFile > | fRunListFile |
std::vector< Int_t > | fRunRangeMinList |
std::vector< Int_t > | fRunRangeMaxList |
std::pair< UInt_t, UInt_t > | fEventRange |
std::string | fEventListFileName |
std::unique_ptr< QwParameterFile > | fEventListFile |
std::vector< UInt_t > | fEventList |
std::pair< Int_t, Int_t > | fSegmentRange |
TString | fDataFileStem |
TString | fDataFileExtension |
TString | fDataDirectory |
TString | fDataFile |
enum QwEventBuffer::CodaStreamMode | fEvStreamMode |
THaCodaData * | fEvStream |
Int_t | fCurrentRun |
Bool_t | fRunIsSegmented |
std::vector< Int_t > | fRunSegments |
std::vector< Int_t >::iterator | fRunSegmentIterator |
Double_t | fCleanParameter [3] |
Scan data/clean data from the green monster. | |
TStopwatch | fRunTimer |
Timer used for runlet processing loop. | |
TStopwatch | fStopwatch |
Timer used for internal timing. | |
std::unordered_map< RocBankLabel_t, std::vector< UInt_t > > | fMarkerList |
std::unordered_map< RocBankLabel_t, std::vector< UInt_t > > | fOffsetList |
RocBankLabel_t | fThisRocBankLabel |
UInt_t | fNumPhysicsEvents |
UInt_t | fStartingPhysicsEvent |
Bool_t | fSingleFile |
VEventDecoder * | decoder |
Static Protected Attributes | |
static std::string | fDefaultDataDirectory = "/adaq1/data1/apar" |
static std::string | fDefaultDataFileStem = "QwRun_" |
static std::string | fDefaultDataFileExtension = "log" |
Private Member Functions | |
void | ClearEventData (std::vector< VQwSubsystem * > &subsystems) |
Bool_t | FillSubsystemConfigurationData (std::vector< VQwSubsystem * > &subsystems) |
Bool_t | FillSubsystemData (std::vector< VQwSubsystem * > &subsystems) |
Private Attributes | |
Int_t | fDataVersionVerify = 0 |
Int_t | fDataVersion |
Event buffer management for reading and processing CODA data.
Manages the reading of CODA event data files, including support for segmented files, run lists, and event stream processing. Handles event decoding via pluggable decoder classes and provides iteration over events and runs.
Definition at line 46 of file QwEventBuffer.h.
|
protected |
Methods and data members needed to find marker words.
Definition at line 268 of file QwEventBuffer.h.
|
protected |
Enumerator | |
---|---|
fEvStreamNull | |
fEvStreamFile | |
fEvStreamET |
Definition at line 247 of file QwEventBuffer.h.
QwEventBuffer::QwEventBuffer | ( | ) |
Default constructor.
Definition at line 53 of file QwEventBuffer.cc.
References decoder, fCleanParameter, fCurrentRun, fDataDirectory, fDataFileExtension, fDataFileStem, fDefaultDataDirectory, fDefaultDataFileExtension, fDefaultDataFileStem, fEventListFile, fEvStream, fEvStreamMode, fEvStreamNull, fNumPhysicsEvents, fRunListFile, fSingleFile, globalEXIT, onlineRestart, sigint_handler(), and sigusr_handler().
|
inlinevirtual |
|
inline |
Return true if file segments are being separated for.
Definition at line 92 of file QwEventBuffer.h.
References fChainDataFiles, and fRunIsSegmented.
|
protected |
Definition at line 1229 of file QwEventBuffer.cc.
References decoder, QwLog::endl(), fMarkerList, fOffsetList, fThisRocBankLabel, QwSubsystemArray::GetMarkerWordList(), and QwDebug.
Referenced by FillSubsystemData().
|
private |
Int_t QwEventBuffer::CloseDataFile | ( | ) |
Definition at line 1191 of file QwEventBuffer.cc.
References fEvStream, fEvStreamFile, fEvStreamMode, and kFileHandleNotConfigured.
Referenced by CloseStream(), CloseThisSegment(), and main().
Int_t QwEventBuffer::CloseETStream | ( | ) |
Definition at line 1219 of file QwEventBuffer.cc.
References fEvStream, fEvStreamET, fEvStreamMode, and kFileHandleNotConfigured.
Referenced by CloseStream().
Int_t QwEventBuffer::CloseStream | ( | ) |
Closes a currently open event stream.
Definition at line 409 of file QwEventBuffer.cc.
References CloseDataFile(), CloseETStream(), CloseThisSegment(), QwLog::endl(), fChainDataFiles, fEvStreamFile, fEvStreamMode, fRunIsSegmented, fRunTimer, fStopwatch, kFileHandleNotConfigured, and QwWarning.
Referenced by main().
|
protected |
Definition at line 1051 of file QwEventBuffer.cc.
References CloseDataFile(), QwLog::endl(), fRunIsSegmented, fRunSegmentIterator, fRunSegments, kFileHandleNotConfigured, and QwMessage.
Referenced by CloseStream(), and GetFileEvent().
|
protected |
Definition at line 932 of file QwEventBuffer.cc.
References fDataDirectory, fDataFile, fDataFileExtension, fDataFileStem, and fSingleFile.
Referenced by OpenDataFile(), and OpenNextSegment().
|
protected |
Definition at line 946 of file QwEventBuffer.cc.
References QwLog::endl(), fCurrentRun, fDataFile, fRunIsSegmented, fRunSegmentIterator, fRunSegments, fSegmentRange, fSingleFile, QwError, QwMessage, and QwWarning.
Referenced by OpenDataFile().
|
static |
Defines configuration options for QwEventBuffer class using QwOptions functionality.
options | Options object |
Definition at line 85 of file QwEventBuffer.cc.
References QwOptions::AddDefaultOptions(), QwOptions::AddOptions(), fDefaultDataDirectory, fDefaultDataFileExtension, and fDefaultDataFileStem.
Referenced by QwOptions::DefineOptions().
Int_t QwEventBuffer::EncodeEndEvent | ( | ) |
Definition at line 690 of file QwEventBuffer.cc.
References decoder, and WriteEvent().
Referenced by main().
Int_t QwEventBuffer::EncodeGoEvent | ( | ) |
Definition at line 674 of file QwEventBuffer.cc.
References decoder, and WriteEvent().
Referenced by main().
Int_t QwEventBuffer::EncodePauseEvent | ( | ) |
Definition at line 682 of file QwEventBuffer.cc.
References decoder, and WriteEvent().
Int_t QwEventBuffer::EncodePrestartEvent | ( | int | runnumber, |
int | runtype = 0 ) |
Definition at line 667 of file QwEventBuffer.cc.
References decoder, and WriteEvent().
Referenced by main().
Int_t QwEventBuffer::EncodeSubsystemData | ( | QwSubsystemArray & | subsystems | ) |
Definition at line 607 of file QwEventBuffer.cc.
References decoder, QwSubsystemArray::EncodeEventData(), QwSubsystemArray::GetROCIDList(), and WriteEvent().
Referenced by main().
Bool_t QwEventBuffer::FillEPICSData | ( | QwEPICSEvent & | epics | ) |
Definition at line 858 of file QwEventBuffer.cc.
References decoder, QwLog::endl(), QwEPICSEvent::ExtractEPICSValues(), fEvStream, GetEventNumber(), IsEPICSEvent(), kNullDataWord, QwError, and QwVerbose.
Referenced by main().
Bool_t QwEventBuffer::FillObjectWithEventData | ( | T & | t | ) |
Template to fill any object with data from a CODA event.
The classes for which this template can be specialized must have the following three methods defined:
Definition at line 287 of file QwEventBuffer.h.
References decoder, fEvStream, and kNullDataWord.
Bool_t QwEventBuffer::FillSubsystemConfigurationData | ( | QwSubsystemArray & | subsystems | ) |
Passes the data for the configuration events into each subsystem object. Each object is responsible for recognizing the configuration data which it ought to decode. NOTE TO DAQ PROGRAMMERS: The configuration event for a ROC must have the same subbank structure as the physics events for that ROC.
Definition at line 703 of file QwEventBuffer.cc.
References decoder, QwLog::endl(), fEvStream, kNullDataWord, QwSubsystemArray::ProcessConfigurationBuffer(), QwDebug, and QwMessage.
Referenced by main().
|
private |
Bool_t QwEventBuffer::FillSubsystemData | ( | QwSubsystemArray & | subsystems | ) |
Definition at line 755 of file QwEventBuffer.cc.
References CheckForMarkerWords(), QwSubsystemArray::ClearEventData(), decoder, QwLog::endl(), fCleanParameter, fCurrentRun, fEvStream, FindMarkerWord(), fRunIsSegmented, fRunSegmentIterator, QwSubsystemArray::GetEventTypeMask(), GetMarkerWord(), kNullDataWord, QwSubsystemArray::ProcessEvBuffer(), QwDebug, QwSubsystemArray::SetCleanParameters(), QwSubsystemArray::SetCodaEventNumber(), QwSubsystemArray::SetCodaEventType(), QwSubsystemArray::SetCodaRunNumber(), and QwSubsystemArray::SetCodaSegmentNumber().
Referenced by main().
|
private |
|
protected |
Definition at line 1254 of file QwEventBuffer.cc.
References fMarkerList, fOffsetList, and fThisRocBankLabel.
Referenced by FillSubsystemData().
|
inline |
Definition at line 115 of file QwEventBuffer.h.
References fDataDirectory.
Referenced by main().
|
inline |
TString QwEventBuffer::GetEndSQLTime | ( | ) |
Definition at line 652 of file QwEventBuffer.cc.
References decoder.
Referenced by main().
time_t QwEventBuffer::GetEndUnixTime | ( | ) |
Definition at line 662 of file QwEventBuffer.cc.
References decoder.
|
protected |
Definition at line 572 of file QwEventBuffer.cc.
References fEvStream, and globalEXIT.
Referenced by GetEvent().
Int_t QwEventBuffer::GetEvent | ( | ) |
Definition at line 504 of file QwEventBuffer.cc.
References decoder, fDataVersionVerify, fEvStream, fEvStreamET, fEvStreamFile, fEvStreamMode, GetEtEvent(), GetFileEvent(), kFileHandleNotConfigured, ResetFlags(), and VerifyCodaVersion().
Referenced by GetNextEvent().
|
inline |
Definition at line 132 of file QwEventBuffer.h.
References decoder.
Referenced by FillEPICSData(), and main().
|
inline |
|
protected |
Definition at line 554 of file QwEventBuffer.cc.
References CloseThisSegment(), fChainDataFiles, fEvStream, and OpenNextSegment().
Referenced by GetEvent().
|
protected |
Definition at line 1249 of file QwEventBuffer.cc.
References fMarkerList, and fThisRocBankLabel.
Referenced by FillSubsystemData().
Int_t QwEventBuffer::GetNextEvent | ( | ) |
Definition at line 433 of file QwEventBuffer.cc.
References decoder, QwLog::endl(), fEventRange, fExitOnEnd, fNumPhysicsEvents, fOnline, fRunIsSegmented, fSegmentRange, fStopwatch, GetEvent(), GetNextEventRange(), GetSegmentNumber(), globalEXIT, IsPhysicsEvent(), onlineRestart, QwMessage, and QwVerbose.
Referenced by main().
Bool_t QwEventBuffer::GetNextEventRange | ( | ) |
Read the next requested event range, return true if success.
Definition at line 274 of file QwEventBuffer.cc.
References QwLog::endl(), fEventListFile, fEventRange, QwParameterFile::ParseIntRange(), and QwMessage.
Referenced by GetNextEvent(), and GetNextRunRange().
Bool_t QwEventBuffer::GetNextRunNumber | ( | ) |
Get the next run in the active run range, proceed to next range if needed.
Definition at line 316 of file QwEventBuffer.cc.
References fCurrentRun, fRunRange, and GetNextRunRange().
Referenced by OpenNextStream().
Bool_t QwEventBuffer::GetNextRunRange | ( | ) |
Read the next requested run range, return true if success.
Definition at line 295 of file QwEventBuffer.cc.
References QwLog::endl(), fEventListFile, fEventRange, fRunListFile, fRunRange, GetNextEventRange(), QwParameterFile::ParseIntRange(), QwMessage, and QwWarning.
Referenced by GetNextRunNumber(), and ProcessOptions().
|
inline |
Definition at line 131 of file QwEventBuffer.h.
References fNumPhysicsEvents.
Referenced by main().
TString QwEventBuffer::GetRunLabel | ( | ) | const |
Returns a string like <run#> or <run#>.<file#>
Definition at line 333 of file QwEventBuffer.cc.
References fChainDataFiles, fCurrentRun, fRunIsSegmented, and fRunSegmentIterator.
Referenced by main().
|
inline |
Return CODA file run number.
Definition at line 96 of file QwEventBuffer.h.
References fCurrentRun.
Referenced by main(), and PrintRunTimes().
|
inline |
Return CODA file segment number.
Definition at line 98 of file QwEventBuffer.h.
References fRunSegmentIterator, and fRunSegments.
Referenced by GetNextEvent(), and main().
TString QwEventBuffer::GetStartSQLTime | ( | ) |
Definition at line 647 of file QwEventBuffer.cc.
References decoder.
Referenced by main().
time_t QwEventBuffer::GetStartUnixTime | ( | ) |
Definition at line 657 of file QwEventBuffer.cc.
References decoder.
|
inline |
Definition at line 150 of file QwEventBuffer.h.
References decoder.
Referenced by FillEPICSData(), and main().
|
inline |
Definition at line 144 of file QwEventBuffer.h.
References fOnline.
Referenced by main().
|
inline |
Definition at line 127 of file QwEventBuffer.h.
References decoder.
Referenced by GetNextEvent(), and main().
|
inline |
Definition at line 146 of file QwEventBuffer.h.
References decoder.
Referenced by main().
Int_t QwEventBuffer::OpenDataFile | ( | const TString | filename, |
const TString | rw = "R" ) |
Definition at line 1137 of file QwEventBuffer.cc.
References QwLog::endl(), fDataDirectory, fDataFile, fEvStream, fEvStreamFile, fEvStreamMode, fEvStreamNull, QwDebug, QwError, and QwMessage.
Int_t QwEventBuffer::OpenDataFile | ( | UInt_t | current_run, |
const TString | rw = "R" ) |
Definition at line 1121 of file QwEventBuffer.cc.
References DataFile(), DataFileIsSegmented(), fCurrentRun, OpenDataFile(), and OpenNextSegment().
Int_t QwEventBuffer::OpenDataFile | ( | UInt_t | current_run, |
Short_t | seg ) |
Definition at line 1107 of file QwEventBuffer.cc.
References fCurrentRun, fRunIsSegmented, fRunSegmentIterator, fRunSegments, and OpenNextSegment().
Referenced by main(), OpenDataFile(), OpenNextSegment(), OpenNextStream(), and ReOpenStream().
Int_t QwEventBuffer::OpenETStream | ( | TString | computer, |
TString | session, | ||
int | mode, | ||
const TString | stationname = "" ) |
Definition at line 1201 of file QwEventBuffer.cc.
References fEvStream, fEvStreamET, fEvStreamMode, and fEvStreamNull.
Referenced by OpenNextStream(), and ReOpenStream().
|
protected |
Definition at line 1072 of file QwEventBuffer.cc.
References DataFile(), QwLog::endl(), fCurrentRun, fRunIsSegmented, fRunSegmentIterator, fRunSegments, kNoNextDataFile, kRunNotSegmented, OpenDataFile(), QwError, and QwMessage.
Referenced by GetFileEvent(), OpenDataFile(), OpenDataFile(), OpenNextStream(), and ReOpenStream().
Int_t QwEventBuffer::OpenNextStream | ( | ) |
Opens the event stream (file or ET) based on the internal flags.
Definition at line 363 of file QwEventBuffer.cc.
References decoder, QwLog::endl(), fChainDataFiles, fCurrentRun, fETHostname, fETSession, fETStationName, fETWaitMode, fEventRange, fNumPhysicsEvents, fOnline, fRunTimer, fStartingPhysicsEvent, fStopwatch, GetNextRunNumber(), globalEXIT, OpenDataFile(), OpenETStream(), OpenNextSegment(), QwError, and QwMessage.
Referenced by main().
void QwEventBuffer::PrintRunTimes | ( | ) |
Definition at line 257 of file QwEventBuffer.cc.
References QwLog::endl(), fNumPhysicsEvents, fRunTimer, fStartingPhysicsEvent, GetRunNumber(), and QwMessage.
Referenced by main().
void QwEventBuffer::ProcessOptions | ( | QwOptions & | options | ) |
Sets internal flags based on the QwOptions.
Definition at line 146 of file QwEventBuffer.cc.
References decoder, QwLog::endl(), fChainDataFiles, fCurrentRun, fDataDirectory, fDataFile, fDataFileExtension, fDataFileStem, fDataVersion, fETHostname, fETSession, fETStationName, fETWaitMode, fEventListFile, fEventRange, fExitOnEnd, fOnline, fRunListFile, fRunListFileName, fRunRange, fSegmentRange, fSingleFile, QwOptions::GetIntValuePair(), GetNextRunRange(), QwOptions::GetValue(), QwOptions::HasValue(), QwError, and QwWarning.
Referenced by main(), and main().
Int_t QwEventBuffer::ReOpenStream | ( | ) |
Definition at line 342 of file QwEventBuffer.cc.
References fCurrentRun, fETHostname, fETSession, fETStationName, fETWaitMode, fNumPhysicsEvents, fOnline, fRunIsSegmented, fStartingPhysicsEvent, OpenDataFile(), OpenETStream(), and OpenNextSegment().
Referenced by main().
void QwEventBuffer::ReportRunSummary | ( | ) |
void QwEventBuffer::ResetControlParameters | ( | ) |
Definition at line 638 of file QwEventBuffer.cc.
References decoder.
Referenced by main().
void QwEventBuffer::ResetFlags | ( | ) |
Definition at line 700 of file QwEventBuffer.cc.
Referenced by GetEvent(), and WriteEvent().
|
inline |
Definition at line 111 of file QwEventBuffer.h.
References fDataDirectory.
|
inlinestatic |
Definition at line 49 of file QwEventBuffer.h.
References fDefaultDataDirectory.
|
inlinestatic |
Definition at line 55 of file QwEventBuffer.h.
References fDefaultDataFileExtension.
|
inlinestatic |
Definition at line 52 of file QwEventBuffer.h.
References fDefaultDataFileStem.
void QwEventBuffer::VerifyCodaVersion | ( | const UInt_t * | buffer | ) |
Definition at line 529 of file QwEventBuffer.cc.
References QwLog::endl(), fDataVersion, fDataVersionVerify, globalEXIT, and QwError.
Referenced by GetEvent().
Int_t QwEventBuffer::WriteEvent | ( | int * | buffer | ) |
Definition at line 584 of file QwEventBuffer.cc.
References QwLog::endl(), fEvStreamET, fEvStreamFile, fEvStreamMode, kFileHandleNotConfigured, QwMessage, ResetFlags(), and WriteFileEvent().
Referenced by EncodeEndEvent(), EncodeGoEvent(), EncodePauseEvent(), EncodePrestartEvent(), and EncodeSubsystemData().
|
protected |
Definition at line 597 of file QwEventBuffer.cc.
References fEvStream.
Referenced by WriteEvent().
|
protected |
Definition at line 284 of file QwEventBuffer.h.
Referenced by CheckForMarkerWords(), EncodeEndEvent(), EncodeGoEvent(), EncodePauseEvent(), EncodePrestartEvent(), EncodeSubsystemData(), FillEPICSData(), FillObjectWithEventData(), FillSubsystemConfigurationData(), FillSubsystemData(), GetEndSQLTime(), GetEndUnixTime(), GetEvent(), GetEventNumber(), GetNextEvent(), GetStartSQLTime(), GetStartUnixTime(), IsEPICSEvent(), IsPhysicsEvent(), IsROCConfigurationEvent(), OpenNextStream(), ProcessOptions(), QwEventBuffer(), ReportRunSummary(), ResetControlParameters(), and ~QwEventBuffer().
|
protected |
Definition at line 199 of file QwEventBuffer.h.
Referenced by AreRunletsSplit(), CloseStream(), GetFileEvent(), GetRunLabel(), OpenNextStream(), and ProcessOptions().
|
protected |
Scan data/clean data from the green monster.
Definition at line 260 of file QwEventBuffer.h.
Referenced by FillSubsystemData(), and QwEventBuffer().
|
protected |
Definition at line 250 of file QwEventBuffer.h.
Referenced by DataFileIsSegmented(), FillSubsystemData(), GetNextRunNumber(), GetRunLabel(), GetRunNumber(), OpenDataFile(), OpenDataFile(), OpenNextSegment(), OpenNextStream(), ProcessOptions(), QwEventBuffer(), and ReOpenStream().
|
protected |
Definition at line 221 of file QwEventBuffer.h.
Referenced by DataFile(), GetDataDirectory(), OpenDataFile(), ProcessOptions(), QwEventBuffer(), and SetDataDirectory().
|
protected |
Definition at line 222 of file QwEventBuffer.h.
Referenced by DataFile(), DataFileIsSegmented(), GetDataFile(), OpenDataFile(), and ProcessOptions().
|
protected |
Definition at line 219 of file QwEventBuffer.h.
Referenced by DataFile(), ProcessOptions(), and QwEventBuffer().
|
protected |
Definition at line 218 of file QwEventBuffer.h.
Referenced by DataFile(), ProcessOptions(), and QwEventBuffer().
|
private |
Definition at line 187 of file QwEventBuffer.h.
Referenced by ProcessOptions(), and VerifyCodaVersion().
|
private |
Definition at line 186 of file QwEventBuffer.h.
Referenced by GetEvent(), and VerifyCodaVersion().
|
staticprotected |
Definition at line 214 of file QwEventBuffer.h.
Referenced by DefineOptions(), QwEventBuffer(), and SetDefaultDataDirectory().
|
staticprotected |
Definition at line 216 of file QwEventBuffer.h.
Referenced by DefineOptions(), QwEventBuffer(), and SetDefaultDataFileExtension().
|
staticprotected |
Definition at line 215 of file QwEventBuffer.h.
Referenced by DefineOptions(), QwEventBuffer(), and SetDefaultDataFileStem().
|
protected |
Definition at line 192 of file QwEventBuffer.h.
Referenced by OpenNextStream(), ProcessOptions(), and ReOpenStream().
|
protected |
Definition at line 193 of file QwEventBuffer.h.
Referenced by OpenNextStream(), ProcessOptions(), and ReOpenStream().
|
protected |
Definition at line 194 of file QwEventBuffer.h.
Referenced by OpenNextStream(), ProcessOptions(), and ReOpenStream().
|
protected |
Definition at line 195 of file QwEventBuffer.h.
Referenced by OpenNextStream(), ProcessOptions(), and ReOpenStream().
|
protected |
Definition at line 208 of file QwEventBuffer.h.
|
protected |
Definition at line 207 of file QwEventBuffer.h.
Referenced by GetNextEventRange(), GetNextRunRange(), ProcessOptions(), and QwEventBuffer().
|
protected |
Definition at line 206 of file QwEventBuffer.h.
|
protected |
Definition at line 205 of file QwEventBuffer.h.
Referenced by GetEventRange(), GetNextEvent(), GetNextEventRange(), GetNextRunRange(), OpenNextStream(), and ProcessOptions().
|
protected |
Definition at line 248 of file QwEventBuffer.h.
Referenced by CloseDataFile(), CloseETStream(), FillEPICSData(), FillObjectWithEventData(), FillSubsystemConfigurationData(), FillSubsystemData(), GetEtEvent(), GetEvent(), GetFileEvent(), OpenDataFile(), OpenETStream(), QwEventBuffer(), WriteFileEvent(), and ~QwEventBuffer().
|
protected |
Referenced by CloseDataFile(), CloseETStream(), CloseStream(), GetEvent(), OpenDataFile(), OpenETStream(), QwEventBuffer(), and WriteEvent().
|
protected |
Definition at line 196 of file QwEventBuffer.h.
Referenced by GetNextEvent(), and ProcessOptions().
|
protected |
Definition at line 269 of file QwEventBuffer.h.
Referenced by CheckForMarkerWords(), FindMarkerWord(), and GetMarkerWord().
|
protected |
Definition at line 278 of file QwEventBuffer.h.
Referenced by GetNextEvent(), GetPhysicsEventNumber(), OpenNextStream(), PrintRunTimes(), QwEventBuffer(), and ReOpenStream().
|
protected |
Definition at line 270 of file QwEventBuffer.h.
Referenced by CheckForMarkerWords(), and FindMarkerWord().
|
protected |
Definition at line 191 of file QwEventBuffer.h.
Referenced by GetNextEvent(), IsOnline(), OpenNextStream(), ProcessOptions(), and ReOpenStream().
|
protected |
Definition at line 252 of file QwEventBuffer.h.
Referenced by AreRunletsSplit(), CloseStream(), CloseThisSegment(), DataFileIsSegmented(), FillSubsystemData(), GetNextEvent(), GetRunLabel(), OpenDataFile(), OpenNextSegment(), and ReOpenStream().
|
protected |
Definition at line 202 of file QwEventBuffer.h.
Referenced by GetNextRunRange(), ProcessOptions(), and QwEventBuffer().
|
protected |
Definition at line 201 of file QwEventBuffer.h.
Referenced by ProcessOptions().
|
protected |
Definition at line 200 of file QwEventBuffer.h.
Referenced by GetNextRunNumber(), GetNextRunRange(), and ProcessOptions().
|
protected |
Definition at line 203 of file QwEventBuffer.h.
|
protected |
Definition at line 203 of file QwEventBuffer.h.
|
protected |
Definition at line 256 of file QwEventBuffer.h.
Referenced by CloseThisSegment(), DataFileIsSegmented(), FillSubsystemData(), GetRunLabel(), GetSegmentNumber(), OpenDataFile(), and OpenNextSegment().
|
protected |
Definition at line 255 of file QwEventBuffer.h.
Referenced by CloseThisSegment(), DataFileIsSegmented(), GetSegmentNumber(), OpenDataFile(), and OpenNextSegment().
|
protected |
Timer used for runlet processing loop.
Definition at line 263 of file QwEventBuffer.h.
Referenced by CloseStream(), OpenNextStream(), and PrintRunTimes().
|
protected |
Definition at line 210 of file QwEventBuffer.h.
Referenced by DataFileIsSegmented(), GetNextEvent(), and ProcessOptions().
|
protected |
Definition at line 281 of file QwEventBuffer.h.
Referenced by DataFile(), DataFileIsSegmented(), ProcessOptions(), and QwEventBuffer().
|
protected |
Definition at line 279 of file QwEventBuffer.h.
Referenced by OpenNextStream(), PrintRunTimes(), and ReOpenStream().
|
protected |
Timer used for internal timing.
Definition at line 264 of file QwEventBuffer.h.
Referenced by CloseStream(), GetNextEvent(), and OpenNextStream().
|
protected |
Definition at line 273 of file QwEventBuffer.h.
Referenced by CheckForMarkerWords(), FindMarkerWord(), and GetMarkerWord().
|
static |
Definition at line 62 of file QwEventBuffer.h.
Referenced by CloseDataFile(), CloseETStream(), CloseStream(), CloseThisSegment(), GetEvent(), and WriteEvent().
|
static |
Definition at line 61 of file QwEventBuffer.h.
Referenced by OpenNextSegment().
|
static |
This is the ASCII character array 'NULL', and is used by the DAQ to indicate a known empty buffer.
Definition at line 64 of file QwEventBuffer.h.
Referenced by FillEPICSData(), FillObjectWithEventData(), FillSubsystemConfigurationData(), and FillSubsystemData().
|
static |
Definition at line 60 of file QwEventBuffer.h.
Referenced by OpenNextSegment().