Belle II Software development
ECLHitAssignment.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 {
21 public:
22
24 void setShowerId(int showerId) { m_showerId = showerId; }
25
27 void setCellId(int cellId) { m_cellId = cellId; }
28
30 int getShowerId() const { return m_showerId; }
31
33 int getCellId() const { return m_cellId; }
34
36
39 {
40 m_showerId = 0;
41 m_cellId = 0;
42 ;
43 }
44
47 int showerId,
48 int cellId
49 )
50 {
51 m_showerId = showerId;
52 m_cellId = cellId;
53 }
54
57 private:
58
61
64 };
65
67} // end namespace Belle2
68
int m_showerId
The cell id of this hit.
int getCellId() const
The method to get cell id.
ClassDef(ECLHitAssignment, 1)
the class title
int m_cellId
The cell id of this hit.
int getShowerId() const
The method to get shower id.
void setCellId(int cellId)
The method to set cell id.
void setShowerId(int showerId)
The method to set shower id.
ECLHitAssignment()
Empty constructor.
ECLHitAssignment(int showerId, int cellId)
Useful Constructor.
Defines interface for accessing relations of objects in StoreArray.
Abstract base class for different kinds of events.