Belle II Software  release-08-01-10
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 
12 using namespace std;
13 
14 namespace 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 
Abstract base class for different kinds of events.