45 def beginRun(self):
46 '''begin run'''
47
49
50 uniqueID = "SVDRecoConfiguration_default_3=6_" + \
51 str(now.isoformat()) + "_INFO:" + \
52 "_" + str(algorithmFor_timeRecoWith6Samples) + "Time" + \
53 "_" + str(algorithmFor_chargeRecoWith6Samples) + "Charge" + \
54 "_" + str(algorithmFor_positionRecoWith6Samples) + "Position"
55
56 groupingSpecificString = ""
57 if grouping_stateOfTimeGroupingInClusterizerIn6Samples and grouping_stateOfTimeGroupingInClusterizerIn3Samples:
58 if grouping_useOfSVDGroupInfoInSPCreatorIn6Samples or grouping_useOfSVDGroupInfoInSPCreatorIn3Samples:
59 groupingSpecificString += "_groupSelectionON"
60 else:
61 groupingSpecificString += "_groupIdON"
62 elif grouping_stateOfTimeGroupingInClusterizerIn6Samples:
63 if grouping_useOfSVDGroupInfoInSPCreatorIn6Samples:
64 groupingSpecificString += "_6groupSelectionON"
65 else:
66 groupingSpecificString += "_6groupIdON"
67 elif grouping_stateOfTimeGroupingInClusterizerIn3Samples:
68 if grouping_useOfSVDGroupInfoInSPCreatorIn3Samples:
69 groupingSpecificString += "_3groupSelectionON"
70 else:
71 groupingSpecificString += "_3groupIdON"
72
73 uniqueID += groupingSpecificString
74
75 cutOnSampleSNRSpecificString = ""
76 if snr_useOfSVDSpacePointSNRFractionIn6Samples and snr_useOfSVDSpacePointSNRFractionIn3Samples:
77 cutOnSampleSNRSpecificString = "_cutOnSampleSNRFractionON"
78 elif snr_useOfSVDSpacePointSNRFractionIn6Samples:
79 cutOnSampleSNRSpecificString = "_cutOn6SampleSNRFractionON"
80 elif snr_useOfSVDSpacePointSNRFractionIn3Samples:
81 cutOnSampleSNRSpecificString = "_cutOn3SampleSNRFractionON"
82
83 uniqueID += cutOnSampleSNRSpecificString
84
86
87
88 payload.setTimeRecoWith6Samples(algorithmFor_timeRecoWith6Samples)
89 payload.setTimeRecoWith3Samples(algorithmFor_timeRecoWith3Samples)
90
91 payload.setPositionRecoWith6Samples(algorithmFor_positionRecoWith6Samples)
92 payload.setPositionRecoWith3Samples(algorithmFor_positionRecoWith3Samples)
93
94 payload.setChargeRecoWith6Samples(algorithmFor_chargeRecoWith6Samples)
95 payload.setChargeRecoWith3Samples(algorithmFor_chargeRecoWith3Samples)
96
97 payload.setStripTimeRecoWith6Samples(algorithmFor_stripTimeRecoWith6Samples)
98 payload.setStripTimeRecoWith3Samples(algorithmFor_stripTimeRecoWith3Samples)
99
100 payload.setStripChargeRecoWith6Samples(algorithmFor_stripChargeRecoWith6Samples)
101 payload.setStripChargeRecoWith3Samples(algorithmFor_stripChargeRecoWith3Samples)
102
103 payload.setStateOfSVDTimeGrouping(6, grouping_stateOfTimeGroupingInClusterizerIn6Samples)
104 payload.setUseOfSVDGroupInfoInSPCreator(6, grouping_useOfSVDGroupInfoInSPCreatorIn6Samples)
105 payload.setStateOfSVDTimeGrouping(3, grouping_stateOfTimeGroupingInClusterizerIn3Samples)
106 payload.setUseOfSVDGroupInfoInSPCreator(3, grouping_useOfSVDGroupInfoInSPCreatorIn3Samples)
107
108 payload.setUseOfSVDSpacePointSNRFraction(6, snr_useOfSVDSpacePointSNRFractionIn6Samples)
109 payload.setUseOfSVDSpacePointSNRFraction(3, snr_useOfSVDSpacePointSNRFractionIn3Samples)
110
112
113
static IntervalOfValidity always()
Function that returns an interval of validity that is always valid, c.f.
This class store the reconstruction configuration of SVD.
static Database & Instance()
Instance of a singleton Database.