Belle II Software  release-05-02-19
TOPFrontEndSetting.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2019 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Marko Staric *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #include <top/dbobjects/TOPFrontEndSetting.h>
12 #include <framework/logging/Logger.h>
13 
14 using namespace std;
15 
16 namespace Belle2 {
22  void TOPFrontEndSetting::setWindowShifts(std::vector<int> shifts)
23  {
24  if (shifts.size() != 6) {
25  B2ERROR("TOPFrontEndSetting::setWindowShifts: vector size must be 6");
26  return;
27  }
28  for (int i = 0; i < 6; i++) m_windowShifts[i] = shifts[i];
29  }
30 
31 
33 } // end Belle2 namespace
34 
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19