You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
boolmFullMapSent = false; // set to true as soon as a full map was sent. No delta can be received if there was never a full map sent
134
135
int64_tmNCyclesNoFullMap = 0; // number of times the delta was sent withoug a full map
@@ -163,6 +164,7 @@ class DCSProcessor
163
164
std::unordered_map<std::string, float> mccdbSimpleMovingAverage; // unordered map in which to store the CCDB entry for the DPs for which we calculated the simple moving average
164
165
CcdbObjectInfo mccdbSimpleMovingAverageInfo; // info to store the output of the calibration for the DPs for which we calculated the simple moving average
165
166
TFType mTF = 0; // TF index for processing, used to store CCDB object
167
+
std::string mName = ""; // to be used to determine CCDB path
166
168
167
169
ClassDefNV(DCSProcessor, 0);
168
170
};
@@ -186,28 +188,39 @@ int DCSProcessor::processArrayType(const std::vector<DPID>& array, DeliveryType
186
188
// processing the array of type T
187
189
188
190
int found = 0;
189
-
auto s = array.size();
190
-
if (s > 0) { // we have at least one DP of type T
191
-
//#ifdef WITH_OPENMP
192
-
//omp_set_num_threads(mNThreads);
193
-
//#pragma omp parallel for schedule(dynamic)
194
-
//#endif
195
-
for (size_t i = 0; i != s; ++i) {
196
-
auto it = findAndCheckAlias(array[i], type, map);
197
-
if (it == map.end()) {
198
-
if (!mIsDelta) {
199
-
LOG(ERROR) << "Element " << array[i] << " not found " << std::endl;
200
-
} else {
201
-
latestTimeStamp[i] = -latestTimeStamp[i];
202
-
}
203
-
continue;
191
+
//#ifdef WITH_OPENMP
192
+
//omp_set_num_threads(mNThreads);
193
+
//#pragma omp parallel for schedule(dynamic)
194
+
//#endif
195
+
for (size_t i = 0; i != array.size(); ++i) {
196
+
auto it = findAndCheckAlias(array[i], type, map);
197
+
if (it == map.end()) {
198
+
if (!mIsDelta) {
199
+
LOG(ERROR) << "Element " << array[i] << " not found " << std::endl;
0 commit comments