Belle II Software development
TRGTOPTimingISimSlot.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#include <framework/datastore/RelationsObject.h>
12
13namespace Belle2 {
18 class TRGTOPTimingISim;
19
20
22 class TRGTOPTimingISimSlot : public RelationsObject {
23
24 public:
25
26 // Empty constructor
27 // Recommended for ROOT IO
28 TRGTOPTimingISimSlot() :
29 m_slotId(0)
30 {}
31
34 int slotId
35 ) :
36 m_slotId(slotId)
37 {}
38
41 int slotId,
42 int numberOfTimeStamps
43 ) :
44 m_slotId(slotId),
45 m_numberOfTimeStamps(numberOfTimeStamps)
46 {}
47
50
51 int getSlotId() const { return m_slotId;}
52 int getNumberOfTimeStamps() const { return m_numberOfTimeStamps;}
53
54 void setSlotId(int slotId);
55 void setNumberOfTimeStamps(int numberOfTimeStamps);
56
57 void addTimingISim(TRGTOPTimingISim timingISim);
58
59 private:
60
63
66
68 ClassDef(TRGTOPTimingISimSlot, 1);
69
70 };
71
73} //end namespace Belle2
TRGTOPTimingISimSlot(int slotId, int numberOfTimeStamps)
Another Useful Constructor.
TRGTOPTimingISimSlot(int slotId)
A Useful Constructor.
int m_slotId
slot Id (1 through 16)
int m_numberOfTimeStamps
number of timestamps
ClassDef(TRGTOPTimingISimSlot, 1)
the class title
RelationsInterface< TObject > RelationsObject
Provides interface for getting/adding relations to objects in StoreArrays.
Abstract base class for different kinds of events.