#include <gDataCollection.h>
Definition at line 19 of file gDataCollection.h.
◆ GDataCollection()
GDataCollection::GDataCollection |
( |
| ) |
|
|
inlineexplicit |
- Parameters
-
logger | Pointer to a GLogger instance. |
Definition at line 25 of file gDataCollection.h.
◆ addDigitizedData()
void GDataCollection::addDigitizedData |
( |
std::unique_ptr< GDigitizedData > | data | ) |
|
|
inline |
◆ addTrueInfoData()
void GDataCollection::addTrueInfoData |
( |
std::unique_ptr< GTrueInfoData > | data | ) |
|
|
inline |
Smart pointers clean up automatically.
Adds true hit information data.
- Parameters
-
Definition at line 37 of file gDataCollection.h.
◆ getDigitizedData()
const std::vector< std::unique_ptr< GDigitizedData > > & GDataCollection::getDigitizedData |
( |
| ) |
const |
|
inline |
Returns a constant reference to the internal vector of unique pointers to GDigitizedData objects. Ownership of the data remains with this class. Callers may read the data but must not modify or transfer ownership.
- Returns
- Const reference to the vector of unique_ptr<GDigitizedData>.
Definition at line 70 of file gDataCollection.h.
◆ getTrueInfoData()
const std::vector< std::unique_ptr< GTrueInfoData > > & GDataCollection::getTrueInfoData |
( |
| ) |
const |
|
inline |
Returns a constant reference to the internal vector of unique pointers to GTrueInfoData objects. Ownership of the data remains with this class. Callers may inspect the data via the pointers but must not modify or take ownership of them.
- Returns
- Const reference to the vector of unique_ptr<GTrueInfoData>.
Definition at line 59 of file gDataCollection.h.
The documentation for this class was generated from the following file: