Belle II Software development
TOPFrontEndSetting.cc
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#include <top/dbobjects/TOPFrontEndSetting.h>
10#include <framework/logging/Logger.h>
11
12using namespace std;
13
14namespace Belle2 {
20 void TOPFrontEndSetting::setWindowShifts(std::vector<int> shifts)
21 {
22 if (shifts.size() != 6) {
23 B2ERROR("TOPFrontEndSetting::setWindowShifts: vector size must be 6");
24 return;
25 }
26 for (int i = 0; i < 6; i++) m_windowShifts[i] = shifts[i];
27 }
28
29
31} // end Belle2 namespace
32
int m_windowShifts[6]
window shifts as a function of revo9count%6
void setWindowShifts(std::vector< int > shifts)
Sets window shifts.
Abstract base class for different kinds of events.
STL namespace.