24 GDigitizedData(GHit* ghit,
const std::shared_ptr<GLogger>& logger);
78 [[nodiscard]]
inline std::map<std::string, std::vector<double>>
getArrayDblObservablesMap()
const {
return arrayDoubleObservablesMap; }
81 std::map<std::string, int> intObservablesMap;
82 std::map<std::string, double> doubleObservablesMap;
83 std::map<std::string, std::vector<int>> arrayIntObservablesMap;
84 std::map<std::string, std::vector<double>> arrayDoubleObservablesMap;
85 std::vector<GIdentifier> gidentity;
86 [[nodiscard]]
static bool validVarName(
const std::string& varName,
int which);
87 std::shared_ptr<GLogger> log;
GDigitizedData(GHit *ghit, const std::shared_ptr< GLogger > &logger)
Constructs a GDigitizedData object from a GHit.
std::map< std::string, std::vector< int > > getArrayIntObservablesMap() const
Returns the map of integer array observables.
int getIntObservable(const std::string &varName)
std::map< std::string, int > getIntObservablesMap(int which) const
Returns the filtered map of integer observables.
int getTimeAtElectronics()
Gets the time at electronics.
void includeVariable(const std::string &vname, int value)
std::map< std::string, double > getDblObservablesMap(int which) const
Returns the filtered map of double observables.
std::map< std::string, std::vector< double > > getArrayDblObservablesMap() const
Returns the map of double array observables.
std::string getIdentityString()
Returns a string representation of the hit identity.
double getDblObservable(const std::string &varName)
~GDigitizedData()
Destructor for GDigitizedData.