gdata
GDataCollection Class Reference

#include <gDataCollection.h>

Collaboration diagram for GDataCollection:
Collaboration graph

Public Member Functions

 GDataCollection (std::shared_ptr< GLogger > logger)
 Constructs a GDataCollection. More...
 
 ~GDataCollection ()
 Destructor for GDataCollection. More...
 
void addTrueInfoData (GTrueInfoData *data) const
 Adds true hit information data. More...
 
void addDigitizedData (GDigitizedData *data) const
 Adds digitized hit data. More...
 
const std::vector< GTrueInfoData * > * getTrueInfoData () const
 Returns the vector of true hit information data. More...
 
const std::vector< GDigitizedData * > * getDigitizedData () const
 Returns the vector of digitized hit data. More...
 

Detailed Description

Definition at line 16 of file gDataCollection.h.

Constructor & Destructor Documentation

◆ GDataCollection()

GDataCollection::GDataCollection ( std::shared_ptr< GLogger >  logger)
inlineexplicit
Parameters
loggerPointer to a GLogger instance.

Definition at line 22 of file gDataCollection.h.

◆ ~GDataCollection()

GDataCollection::~GDataCollection ( )
inline

Deletes all stored hit data and the associated containers.

Definition at line 33 of file gDataCollection.h.

Member Function Documentation

◆ addDigitizedData()

void GDataCollection::addDigitizedData ( GDigitizedData data) const
inline
Parameters
dataPointer to GDigitizedData.

Definition at line 54 of file gDataCollection.h.

◆ addTrueInfoData()

void GDataCollection::addTrueInfoData ( GTrueInfoData data) const
inline
Parameters
dataPointer to GTrueInfoData.

Definition at line 45 of file gDataCollection.h.

◆ getDigitizedData()

const std::vector<GDigitizedData*>* GDataCollection::getDigitizedData ( ) const
inline
Returns
Pointer to the vector of GDigitizedData pointers.

Definition at line 69 of file gDataCollection.h.

◆ getTrueInfoData()

const std::vector<GTrueInfoData*>* GDataCollection::getTrueInfoData ( ) const
inline
Returns
Pointer to the vector of GTrueInfoData pointers.

Definition at line 63 of file gDataCollection.h.


The documentation for this class was generated from the following file: