Belle II Software
release-06-02-00
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
z
Typedefs
a
b
c
d
e
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
PCmsLabTransform.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 <analysis/utility/PCmsLabTransform.h>
10
11
using namespace
Belle2
;
12
13
TLorentzVector
PCmsLabTransform::labToCms
(
const
TLorentzVector& vector)
14
{
15
PCmsLabTransform
T;
16
return
T.
rotateLabToCms
() * vector;
17
}
18
19
TLorentzVector
PCmsLabTransform::cmsToLab
(
const
TLorentzVector& vector)
20
{
21
PCmsLabTransform
T;
22
return
T.
rotateCmsToLab
() * vector;
23
}
24
25
PCmsLabTransform::PCmsLabTransform
() =
default
;
26
27
Belle2::PCmsLabTransform
Class to hold Lorentz transformations from/to CMS and boost vector.
Definition:
PCmsLabTransform.h:27
Belle2::PCmsLabTransform::rotateLabToCms
const TLorentzRotation rotateLabToCms() const
Returns Lorentz transformation from Lab to CMS.
Definition:
PCmsLabTransform.h:64
Belle2::PCmsLabTransform::PCmsLabTransform
PCmsLabTransform()
Constructor.
Belle2::PCmsLabTransform::cmsToLab
static TLorentzVector cmsToLab(const TLorentzVector &vec)
Transforms Lorentz vector into Laboratory System.
Definition:
PCmsLabTransform.cc:19
Belle2::PCmsLabTransform::rotateCmsToLab
const TLorentzRotation rotateCmsToLab() const
Returns Lorentz transformation from CMS to Lab.
Definition:
PCmsLabTransform.h:74
Belle2::PCmsLabTransform::labToCms
static TLorentzVector labToCms(const TLorentzVector &vec)
Transforms Lorentz vector into CM System.
Definition:
PCmsLabTransform.cc:13
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
analysis
utility
src
PCmsLabTransform.cc
Generated on Thu Dec 28 2023 02:18:43 for Belle II Software by
1.9.1