Belle II Software  release-05-01-25
IRSimHit.cc
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Guofu Cao, Martin Heck *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #include <ir/dataobjects/IRSimHit.h>
12 
13 using namespace std;
14 using namespace Belle2;
15 
16 IRSimHit::~IRSimHit()
17 {
18 }
19 
21 void IRSimHit::setposIn(TVector3 posIn)
22 {
23  m_posIn = posIn;
24 }
25 void IRSimHit::setmomIn(TVector3 momIn)
26 {
27  m_momIn = momIn;
28 }
29 void IRSimHit::setposOut(TVector3 posOut)
30 {
31  m_posOut = posOut;
32 }
33 void IRSimHit::setmomOut(TVector3 momOut)
34 {
35  m_momOut = momOut;
36 }
37 void IRSimHit::setPDGcode(int PDGcode)
38 {
39  m_PDGcode = PDGcode;
40 }
41 void IRSimHit::setdepEnergy(float depEnergy)
42 {
43  m_depEnergy = depEnergy;
44 }
45 void IRSimHit::setVolname(const std::string& Volname)
46 {
47  m_Volname = Volname;
48 }
49 
51 TVector3 IRSimHit::getposIn() { return m_posIn; }
52 TVector3 IRSimHit::getmomIn() { return m_momIn; }
53 TVector3 IRSimHit::getposOut() { return m_posOut; }
54 TVector3 IRSimHit::getmomOut() { return m_momOut; }
55 int IRSimHit::getPDGcode() { return m_PDGcode; }
56 float IRSimHit::getdepEnergy() { return m_depEnergy; }
57 std::string IRSimHit::getVolname() { return m_Volname; }
58 
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19