Belle II Software  release-08-01-10
ARICHMagnetTest.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 <arich/dbobjects/ARICHMagnetTest.h>
10 
11 using namespace Belle2;
12 using namespace std;
13 
14 float ARICHMagnetTest::getDeadTime(unsigned int i) const
15 {
16  if (i < m_deadTime.size()) return m_deadTime[i];
17  else return -1.;
18 }
float getDeadTime(unsigned int i) const
Return dead time fraction of i-th measurement.
Abstract base class for different kinds of events.