Belle II Software
release-05-01-25
EKLMHitMomentum.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2013 Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Kirill Chilikin *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
11
#pragma once
12
13
/* ROOT headers. */
14
#include <TLorentzVector.h>
15
16
namespace
Belle2
{
25
class
EKLMHitMomentum {
26
27
public
:
28
32
EKLMHitMomentum
();
33
37
virtual
~EKLMHitMomentum
();
38
43
void
setMomentum
(
const
TLorentzVector& p);
44
49
TLorentzVector
getMomentum
()
const
50
{
51
return
TLorentzVector(
m_pX
,
m_pY
,
m_pZ
,
m_e
);
52
}
53
54
protected
:
55
57
float
m_e
;
58
60
float
m_pX
;
61
63
float
m_pY
;
64
66
float
m_pZ
;
67
68
private
:
69
71
ClassDef
(
Belle2::EKLMHitMomentum
, 1);
72
73
};
74
76
}
Belle2::EKLMHitMomentum::m_pX
float m_pX
Momentum X component.
Definition:
EKLMHitMomentum.h:68
Belle2::EKLMHitMomentum::ClassDef
ClassDef(Belle2::EKLMHitMomentum, 1)
Class version.
Belle2::EKLMHitMomentum
Hit momentum.
Definition:
EKLMHitMomentum.h:33
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::EKLMHitMomentum::m_e
float m_e
Energy.
Definition:
EKLMHitMomentum.h:65
Belle2::EKLMHitMomentum::getMomentum
TLorentzVector getMomentum() const
Get momentum.
Definition:
EKLMHitMomentum.h:57
Belle2::EKLMHitMomentum::m_pZ
float m_pZ
Momentum Z component.
Definition:
EKLMHitMomentum.h:74
Belle2::EKLMHitMomentum::m_pY
float m_pY
Momentum Y component.
Definition:
EKLMHitMomentum.h:71
Belle2::EKLMHitMomentum::setMomentum
void setMomentum(const TLorentzVector &p)
Set momentum.
Definition:
EKLMHitMomentum.cc:28
Belle2::EKLMHitMomentum::EKLMHitMomentum
EKLMHitMomentum()
Constructor.
Definition:
EKLMHitMomentum.cc:16
Belle2::EKLMHitMomentum::~EKLMHitMomentum
virtual ~EKLMHitMomentum()
Destructor.
Definition:
EKLMHitMomentum.cc:24
klm
dataobjects
eklm
include
EKLMHitMomentum.h
Generated on Fri Nov 5 2021 03:55:00 for Belle II Software by
1.8.17