#include <gDigitizedData.h>
Definition at line 34 of file gDigitizedData.h.
◆ GDigitizedData()
GDigitizedData::GDigitizedData |
( |
const std::shared_ptr< GOptions > & | gopts, |
|
|
const GHit * | ghit ) |
- Parameters
-
ghit | unique_ptr the GHit from which identity information is extracted. |
gopts | Pointer to a GOptions instance. |
Definition at line 18 of file gDigitizedData.cc.
◆ create()
static std::unique_ptr< GDigitizedData > GDigitizedData::create |
( |
const std::shared_ptr< GOptions > & | gopts | ) |
|
|
inlinestatic |
◆ getArrayDblObservablesMap()
std::map< std::string, std::vector< double > > GDigitizedData::getArrayDblObservablesMap |
( |
| ) |
const |
|
inline |
- Returns
- A map of variable names to vectors of double.
Definition at line 90 of file gDigitizedData.h.
◆ getArrayIntObservablesMap()
std::map< std::string, std::vector< int > > GDigitizedData::getArrayIntObservablesMap |
( |
| ) |
const |
|
inline |
- Returns
- A map of variable names to vectors of integers.
Definition at line 84 of file gDigitizedData.h.
◆ getDblObservable()
double GDigitizedData::getDblObservable |
( |
const std::string & | varName | ) |
|
◆ getDblObservablesMap()
std::map< std::string, double > GDigitizedData::getDblObservablesMap |
( |
int | which | ) |
const |
- Parameters
-
which | 0: returns non-streaming variables; 1: returns streaming variables. |
- Returns
- A map of variable names to double values.
Definition at line 29 of file gDigitizedData.cc.
◆ getIdentityString()
std::string GDigitizedData::getIdentityString |
( |
| ) |
const |
◆ getIntObservable()
int GDigitizedData::getIntObservable |
( |
const std::string & | varName | ) |
|
◆ getIntObservablesMap()
std::map< std::string, int > GDigitizedData::getIntObservablesMap |
( |
int | which | ) |
const |
- Parameters
-
which | 0: returns non-streaming variables; 1: returns streaming variables. |
- Returns
- A map of variable names to integer values.
Definition at line 22 of file gDigitizedData.cc.
◆ getTimeAtElectronics()
int GDigitizedData::getTimeAtElectronics |
( |
| ) |
|
Returns -1 if TIMEATELECTRONICS is not included.
- Returns
- The time at electronics.
Definition at line 54 of file gDigitizedData.cc.
◆ includeVariable() [1/2]
void GDigitizedData::includeVariable |
( |
const std::string & | vname, |
|
|
double | value ) |
◆ includeVariable() [2/2]
void GDigitizedData::includeVariable |
( |
const std::string & | vname, |
|
|
int | value ) |
The documentation for this class was generated from the following files: