11 this->fName =
"TheSettings";
12 this->fTitle =
"S800T's Settings";
19 TheTimingOffsets[Name] = toff;
20 TheEnergySlopes[Name] = slope;
21 TheEnergyIntercepts[Name] = inter;
26 GlobalID2FullName[GlobalID] = Name;
27 GlobalID2RefGlobalID[GlobalID] = refGlobalID;
28 GlobalID2RefName[GlobalID] = RefName;
30 Name2GlobalID[Name] = GlobalID;
40 TheDontTraceAnalyzeFlags[Name] = flag;
46 for (
auto &ii : TheTimingOffsets) {
56 printf(
"Channel Name %6s has slope %10.4lf has intercept %10.4lf and timming offset %10.4lf\n", Name.c_str(),
57 TheEnergySlopes[Name], TheEnergyIntercepts[Name], TheTimingOffsets[Name]);
62 printf(
"Channel Name %6s has DDAS ID %4d it's reference channel is %6s whith DDAS ID %4d\n",
63 GlobalID2FullName[GlobalID].c_str(), GlobalID, GlobalID2RefName[GlobalID].c_str(),
64 GlobalID2RefGlobalID[GlobalID]);
68 printf(
"Channel Name %6s has FL:%5d FG:%5d d:%5d w:%5d NoTraceAnalysis:%5d \n", Name.c_str(), TheFLs[Name],
69 TheFGs[Name], Theds[Name], Thews[Name], TheDontTraceAnalyzeFlags[Name]);
83 void S800TSettings::BuildReverseMap()
85 for (
auto &ii : BarIds) {
87 BarId2Name[ii.second] = ii.first;