1 #include "ERTelescopeGeoComponentSensetive.h" 6 TString ERTelescopeGeoComponentSensetive::GetBranchNamePrefix(
7 SensetiveType sensetiveType, ERDataObjectType objectType)
const {
8 return TString(
"Telescope") + ERDataObjectTypeStr(objectType) +
"_" + GetVolumeName();
11 std::list<TString> ERTelescopeGeoComponentSensetive::GetBranchNames(ERDataObjectType objectType)
const {
12 std::list<TString> branchNames;
13 for (
const auto orientation : GetOrientationsAroundZ()) {
14 for (
const auto channelSide : GetChannelSides()) {
15 branchNames.push_back(GetBranchName(objectType, orientation, channelSide));
21 void ERTelescopeGeoComponentSensetive::FillTwoSidedChannelAttribute(
const TList* attributes) {
22 TIter next(attributes);
23 while (
auto* attr = static_cast<TXMLAttr*>(next())) {
24 if (!strcasecmp(
"twoSidedChannel", attr->GetName()) && !strcasecmp(
"yes", attr->GetValue())) {
25 fHasTwoSidedChannel =
true;