Belle II Software development
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
11using namespace Belle2;
12using namespace std;
13
14float 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.
std::vector< float > m_deadTime
fraction of dead time at 1st test
Abstract base class for different kinds of events.
STL namespace.