ATLAS Offline Software
|
storage of the time histories of all the cells More...
#include <DataStore.h>
Public Member Functions | |
DataStore () | |
Constructor More... | |
virtual | ~DataStore () |
Destructor. More... | |
const HistoryContainer * | historyContainer (unsigned int i) const |
const EventData * | eventData (unsigned int i) const |
const RunData * | runData (unsigned int i) const |
HistoryContainer * | makeNewHistory (const IdentifierHash &hash, CellInfo *info) |
append data (takes ownership of everything) More... | |
bool | addData (const IdentifierHash &hash, DataContainer *data) |
unsigned int | addEvent (EventData *eventData) |
unsigned int | addRun (RunData *eventData) |
unsigned int | nChannels () const |
unsigned int | size () const |
unsigned int | nFilledChannels () const |
unsigned int | nEvents () const |
unsigned int | nRuns () const |
double | footprint () const |
bool | writeTrees (const char *fileName) |
Private Member Functions | |
HistoryContainer *& | hist_cont (unsigned int i) |
EventData *& | eventData (unsigned int i) |
RunData *& | runData (unsigned int i) |
Private Attributes | |
std::vector< HistoryContainer * > | m_cellHistories |
std::vector< EventData * > | m_events |
std::vector< RunData * > | m_runs |
Friends | |
class | ::LArShapeDumper |
class | D3PDConverter |
storage of the time histories of all the cells
Definition at line 32 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
DataStore::DataStore | ( | ) |
Constructor
Definition at line 26 of file LArCalorimeter/LArCafJobs/src/DataStore.cxx.
|
virtual |
Destructor.
Definition at line 31 of file LArCalorimeter/LArCafJobs/src/DataStore.cxx.
bool DataStore::addData | ( | const IdentifierHash & | hash, |
DataContainer * | data | ||
) |
Definition at line 47 of file LArCalorimeter/LArCafJobs/src/DataStore.cxx.
unsigned int DataStore::addEvent | ( | EventData * | eventData | ) |
Definition at line 55 of file LArCalorimeter/LArCafJobs/src/DataStore.cxx.
unsigned int DataStore::addRun | ( | RunData * | eventData | ) |
Definition at line 62 of file LArCalorimeter/LArCafJobs/src/DataStore.cxx.
|
inlineprivate |
Definition at line 68 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
Definition at line 43 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
double DataStore::footprint | ( | ) | const |
Definition at line 97 of file LArCalorimeter/LArCafJobs/src/DataStore.cxx.
|
inlineprivate |
Definition at line 67 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
|
inline |
Definition at line 42 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
HistoryContainer * DataStore::makeNewHistory | ( | const IdentifierHash & | hash, |
CellInfo * | info | ||
) |
append data (takes ownership of everything)
Definition at line 38 of file LArCalorimeter/LArCafJobs/src/DataStore.cxx.
|
inline |
Definition at line 53 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
|
inline |
Definition at line 56 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
unsigned int DataStore::nFilledChannels | ( | ) | const |
Definition at line 83 of file LArCalorimeter/LArCafJobs/src/DataStore.cxx.
|
inline |
Definition at line 57 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
|
inlineprivate |
Definition at line 69 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
Definition at line 44 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
unsigned int DataStore::size | ( | ) | const |
Definition at line 69 of file LArCalorimeter/LArCafJobs/src/DataStore.cxx.
bool DataStore::writeTrees | ( | const char * | fileName | ) |
Definition at line 110 of file LArCalorimeter/LArCafJobs/src/DataStore.cxx.
|
friend |
Definition at line 62 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
|
friend |
Definition at line 63 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
|
private |
Definition at line 71 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
|
private |
Definition at line 72 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.
|
private |
Definition at line 73 of file LArCalorimeter/LArCafJobs/LArCafJobs/DataStore.h.