Belle II Software development
ECLDigitTimeConstants.h
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# pragma once
10
11/* ROOT headers. */
12#include <TObject.h>
13
14namespace Belle2 {
24 class ECLDigitTimeConstants: public TObject {
25 public:
26
31
35 ECLDigitTimeConstants(int cellid, float offset): m_cellID(cellid), m_offset(offset) {};
36
41
45 float getOffset() const {return m_offset; };
46
50 int getCellID() const {return m_cellID; };
51
55 void setOffset(float offset) {m_offset = offset; };
56
60 void setCellID(int cellid) {m_cellID = cellid; };
61
62 private:
64 float m_offset;
66 // 2: changed getter getCelleID from float to int
68 };
70} // end namespace Belle2
Time and time resolution calibration constants per digit.
void setCellID(int cellid)
Set cell ID.
ECLDigitTimeConstants()
Default constructor.
ECLDigitTimeConstants(int cellid, float offset)
Constructor.
int getCellID() const
Return cell ID.
void setOffset(float offset)
Set calibration offset.
float getOffset() const
Return calibration offset.
ClassDef(ECLDigitTimeConstants, 2)
ClassDef.
Abstract base class for different kinds of events.