Belle II Software  release-08-01-10
IRSimHit.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 <ir/dataobjects/IRSimHit.h>
10 
11 using namespace std;
12 using namespace Belle2;
13 
14 IRSimHit::~IRSimHit()
15 {
16 }
17 
19 void IRSimHit::setposIn(TVector3 posIn)
20 {
21  m_posIn = posIn;
22 }
23 void IRSimHit::setmomIn(TVector3 momIn)
24 {
25  m_momIn = momIn;
26 }
27 void IRSimHit::setposOut(TVector3 posOut)
28 {
29  m_posOut = posOut;
30 }
31 void IRSimHit::setmomOut(TVector3 momOut)
32 {
33  m_momOut = momOut;
34 }
35 void IRSimHit::setPDGcode(int PDGcode)
36 {
37  m_PDGcode = PDGcode;
38 }
39 void IRSimHit::setdepEnergy(float depEnergy)
40 {
41  m_depEnergy = depEnergy;
42 }
43 void IRSimHit::setVolname(const std::string& Volname)
44 {
45  m_Volname = Volname;
46 }
47 
49 TVector3 IRSimHit::getposIn() { return m_posIn; }
50 TVector3 IRSimHit::getmomIn() { return m_momIn; }
51 TVector3 IRSimHit::getposOut() { return m_posOut; }
52 TVector3 IRSimHit::getmomOut() { return m_momOut; }
53 int IRSimHit::getPDGcode() { return m_PDGcode; }
54 float IRSimHit::getdepEnergy() { return m_depEnergy; }
55 std::string IRSimHit::getVolname() { return m_Volname; }
56 
Abstract base class for different kinds of events.