Hall-D Software
alpha
|
#include <DEventSourceEventStore.h>
Public Member Functions | |
DEventSourceEventStore (const char *source_name) | |
virtual | ~DEventSourceEventStore () |
const char * | className (void) |
jerror_t | GetEvent (JEvent &event) |
void | FreeEvent (JEvent &event) |
jerror_t | GetObjects (JEvent &event, JFactory_base *factory) |
Protected Member Functions | |
void | PrintGrades () |
void | PrintRunPeriods () |
void | PrintSkims (string timestamp, string grade) |
jerror_t | MoveToNextEvent () |
jerror_t | OpenNextFile () |
Private Attributes | |
JEventSource * | event_source |
string | esdb_connection |
DESDBProvider * | esdb |
bool | es_data_loaded |
int | BASE_SKIM_INDEX |
int | MAX_SKIM_INDEX |
bool | load_all_skims |
vector< string > | skim_list |
string | timestamp |
string | grade |
int | min_run |
int | max_run |
bool | run_range_set |
bool | run_period_set |
map< string, pair< int, int > > | run_period_map |
vector< string > | data_files |
vector< string >::iterator | current_file_itr |
vector< int > | run_numbers |
vector< int >::iterator | current_run_itr |
Definition at line 26 of file DEventSourceEventStore.h.
DEventSourceEventStore::DEventSourceEventStore | ( | const char * | source_name | ) |
Definition at line 44 of file DEventSourceEventStore.cc.
References BASE_SKIM_INDEX, es_data_loaded, esdb, esdb_connection, event_source, EventstoreQueryHelp(), DESDBProvider::GetGrades(), DESDBProvider::GetSkims(), grade, load_all_skims, max, max_run, MAX_SKIM_INDEX, min_run, DESDBProvider::Open(), PrintGrades(), PrintRunPeriods(), PrintSkims(), run_period_map, run_period_set, run_range_set, skim_list, TEST_MODE, and timestamp.
|
virtual |
Definition at line 254 of file DEventSourceEventStore.cc.
References event_source.
|
inline |
Definition at line 30 of file DEventSourceEventStore.h.
void DEventSourceEventStore::FreeEvent | ( | JEvent & | event | ) |
Definition at line 325 of file DEventSourceEventStore.cc.
References event_source.
jerror_t DEventSourceEventStore::GetEvent | ( | JEvent & | event | ) |
Definition at line 263 of file DEventSourceEventStore.cc.
References DEventStoreEvent::Add_Skim(), event_source, kSTATUS_FROM_FILE, kSTATUS_PHYSICS_EVENT, MoveToNextEvent(), OpenNextFile(), DEventStoreEvent::Set_EventSource(), DEventStoreEvent::Set_SourceRef(), skim_list, and TEST_MODE.
jerror_t DEventSourceEventStore::GetObjects | ( | JEvent & | event, |
JFactory_base * | factory | ||
) |
This gets called through the virtual method of the JEventSource base class. It creates the objects of the type on which factory is based.
Definition at line 334 of file DEventSourceEventStore.cc.
References event_source, DEventStoreEvent::Get_SourceRef(), and skim_list.
|
protected |
Definition at line 375 of file DEventSourceEventStore.cc.
References load_all_skims.
Referenced by GetEvent().
|
protected |
Definition at line 387 of file DEventSourceEventStore.cc.
References current_file_itr, data_files, es_data_loaded, event_source, and japp.
Referenced by GetEvent().
|
protected |
Definition at line 461 of file DEventSourceEventStore.cc.
References esdb, and DESDBProvider::GetGrades().
Referenced by DEventSourceEventStore().
|
protected |
Definition at line 477 of file DEventSourceEventStore.cc.
References esdb, DESDBProvider::GetGrades(), and run_period_map.
Referenced by DEventSourceEventStore().
Definition at line 496 of file DEventSourceEventStore.cc.
References esdb, and DESDBProvider::GetSkims().
Referenced by DEventSourceEventStore().
|
private |
Definition at line 59 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore().
|
private |
Definition at line 75 of file DEventSourceEventStore.h.
Referenced by OpenNextFile().
|
private |
Definition at line 79 of file DEventSourceEventStore.h.
|
private |
Definition at line 74 of file DEventSourceEventStore.h.
Referenced by OpenNextFile().
|
private |
Definition at line 54 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore(), and OpenNextFile().
|
private |
Definition at line 53 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore(), PrintGrades(), PrintRunPeriods(), and PrintSkims().
|
private |
Definition at line 52 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore().
|
private |
Definition at line 51 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore(), FreeEvent(), GetEvent(), GetObjects(), OpenNextFile(), and ~DEventSourceEventStore().
|
private |
Definition at line 66 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore().
|
private |
Definition at line 62 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore(), and MoveToNextEvent().
|
private |
Definition at line 67 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore().
|
private |
Definition at line 60 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore().
|
private |
Definition at line 67 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore().
|
private |
Definition at line 78 of file DEventSourceEventStore.h.
|
private |
Definition at line 71 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore(), and PrintRunPeriods().
|
private |
Definition at line 69 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore().
|
private |
Definition at line 68 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore().
|
private |
Definition at line 63 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore(), GetEvent(), and GetObjects().
|
private |
Definition at line 65 of file DEventSourceEventStore.h.
Referenced by DEventSourceEventStore().