Call the channel (the tile element) of RPD by the name of the channel (i.e. "C0")
Try to call the channel (the tile element) of RPD by the name of the channel (i.e. "C0") but it seems the RPD didn't inherit the GetElement in the detector Channel* Detector::GetElement(std::string _name).
Code: std::cout << "TOT begin " << rpd->GetElement("C0")->ThresholdTimeBin[0] << "\n";
Error message: std::cout << "TOT begin " << rpd->GetElement("C0")->ThresholdTimeBin[0] << "\n"; ^~~~~~~~~~ Detector::GetElement /Users/shengyang/work/JZCaPA/JZCaPA/Analysis/include/Detector.h:29:20: note: 'Detector::GetElement' declared here virtual Channel* GetElement (std::string _name);