1 #ifndef GDIGITIZEDHIT_H
2 #define GDIGITIZEDHIT_H 1
25 GDigitizedData(GHit* ghit,
const std::shared_ptr<GLogger>& logger);
75 return arrayIntObservablesMap;
83 return arrayDoubleObservablesMap;
87 std::map<std::string, int> intObservablesMap;
88 std::map<std::string, double> doubleObservablesMap;
89 std::map<std::string, std::vector<int>> arrayIntObservablesMap;
90 std::map<std::string, std::vector<double>> arrayDoubleObservablesMap;
91 std::vector<GIdentifier> gidentity;
92 [[nodiscard]]
bool validVarName(
const std::string& varName,
int which)
const;
93 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.
std::map< std::string, float > getFltObservablesMap(int which) const
Returns the filtered map of float observables.
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)
float getFltObservable(std::string varName)
int getIntObservable(std::string varName)
std::string getIdentityString()
Returns a string representation of the hit identity.
~GDigitizedData()
Destructor for GDigitizedData.
std::map< std::string, std::vector< double > > getArrayFltObservablesMap() const
Returns the map of float array observables.