9 if (gdataCollectionMap->find(sdName) == gdataCollectionMap->end()) {
12 (*gdataCollectionMap)[sdName]->addTrueInfoData(data);
13 log->info(2,
"GEventDataCollection: added new detector TrueInfoData for ", sdName);
17 if (gdataCollectionMap->find(sdName) == gdataCollectionMap->end()) {
20 (*gdataCollectionMap)[sdName]->addDigitizedData(data);
21 log->info(2,
"GEventDataCollection: added new detector DigitizedData for ", sdName);
25 if (gdataCollectionMap->find(detector) != gdataCollectionMap->end()) {
26 return (*gdataCollectionMap)[detector]->getTrueInfoData();
32 if (gdataCollectionMap->find(detector) != gdataCollectionMap->end()) {
33 return (*gdataCollectionMap)[detector]->getDigitizedData();
const std::vector< GDigitizedData * > * getDigitizedDataForDetector(std::string detector) const
Gets the digitized hit data for a specific detector.
void addDetectorTrueInfoData(std::string sdName, GTrueInfoData *data)
Adds true hit information data for a detector.
void addDetectorDigitizedData(std::string sdName, GDigitizedData *data)
Adds digitized hit data for a detector.
const std::vector< GTrueInfoData * > * getTrueInfoDataForDetector(std::string detector) const
Gets the true hit information data for a specific detector.