#include <gTrueInfoData.h>
|
| GTrueInfoData (const std::shared_ptr< GOptions > &gopts, const GHit *ghit) |
| Constructs a GTrueInfoData object.
|
|
std::string | getIdentityString () const |
| Returns a string representation of the identity.
|
|
void | includeVariable (const std::string &varName, double var) |
| Includes a double variable in the true hit data.
|
|
void | includeVariable (const std::string &varName, std::string var) |
| Includes a string variable in the true hit data.
|
|
std::map< std::string, double > | getDoubleVariablesMap () const |
| Returns the map of double variables.
|
|
std::map< std::string, std::string > | getStringVariablesMap () const |
| Returns the map of string variables.
|
|
Definition at line 31 of file gTrueInfoData.h.
◆ GTrueInfoData()
GTrueInfoData::GTrueInfoData |
( |
const std::shared_ptr< GOptions > & | gopts, |
|
|
const GHit * | ghit ) |
- Parameters
-
ghit | Pointer to the GHit from which identity information is extracted. |
gopts | GOptions Shared pointer |
Definition at line 12 of file gTrueInfoData.cc.
◆ create()
static std::unique_ptr< GTrueInfoData > GTrueInfoData::create |
( |
const std::shared_ptr< GOptions > & | gopts | ) |
|
|
inlinestatic |
◆ getDoubleVariablesMap()
std::map< std::string, double > GTrueInfoData::getDoubleVariablesMap |
( |
| ) |
const |
|
inline |
- Returns
- A map from variable names to double values.
Definition at line 64 of file gTrueInfoData.h.
◆ getIdentityString()
std::string GTrueInfoData::getIdentityString |
( |
| ) |
const |
- Returns
- A string representing the hit identity.
Definition at line 26 of file gTrueInfoData.cc.
◆ getStringVariablesMap()
std::map< std::string, std::string > GTrueInfoData::getStringVariablesMap |
( |
| ) |
const |
|
inline |
- Returns
- A map from variable names to string values.
Definition at line 72 of file gTrueInfoData.h.
◆ includeVariable() [1/2]
void GTrueInfoData::includeVariable |
( |
const std::string & | varName, |
|
|
double | var ) |
- Parameters
-
varName | The variable name. |
var | The double value. |
Definition at line 16 of file gTrueInfoData.cc.
◆ includeVariable() [2/2]
void GTrueInfoData::includeVariable |
( |
const std::string & | varName, |
|
|
std::string | var ) |
- Parameters
-
varName | The variable name. |
var | The string value. |
Definition at line 21 of file gTrueInfoData.cc.
The documentation for this class was generated from the following files: