KaliVeda
1.14/2
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVKinematicalFrame.h
1
3
4
#ifndef __KVKINEMATICALFRAME_H
5
#define __KVKINEMATICALFRAME_H
6
7
#include "
TNamed.h
"
8
#include "KVParticle.h"
9
#include "KVFrameTransform.h"
10
22
class
KVKinematicalFrame
:
public
TNamed
{
23
KVFrameTransform
fTransform
;
24
std::unique_ptr<KVParticle>
fParticle
;
25
26
public
:
27
KVKinematicalFrame
(
const
Char_t
* name,
const
KVParticle
* original,
const
KVFrameTransform
& trans);
28
KVKinematicalFrame
(
KVParticle
*,
const
KVFrameTransform
&);
29
KVKinematicalFrame
(
const
KVFrameTransform
& trans,
const
KVParticle
* original);
30
KVKinematicalFrame
(
const
KVKinematicalFrame
&);
31
KVKinematicalFrame
&
operator=
(
const
KVKinematicalFrame
&);
32
virtual
~KVKinematicalFrame
() {}
33
34
KVParticle
*
GetParticle
()
const
35
{
36
return
fParticle
.get();
37
}
38
const
KVParticle
*
operator->
()
const
39
{
40
return
(
const
KVParticle
*)
GetParticle
();
41
}
42
void
ReapplyTransform
(
const
KVParticle
* original);
43
void
ApplyTransform
(
const
KVParticle
* original,
const
KVFrameTransform
& trans);
44
45
const
KVFrameTransform
&
GetTransform
()
const
46
{
47
return
fTransform
;
48
}
49
void
SetTransform
(
const
KVFrameTransform
& f)
50
{
51
fTransform
=
f
;
52
}
53
54
ClassDef
(
KVKinematicalFrame
, 0)
//Handle representation of a particle in different kinematical frames
55
};
56
57
#endif
f
#define f(i)
Char_t
char Char_t
ClassDef
#define ClassDef(name, id)
TNamed.h
KVFrameTransform
Utility class for kinematical transformations of KVParticle class.
Definition
KVFrameTransform.h:61
KVKinematicalFrame
Kinematical representation of a particle in different reference frames.
Definition
KVKinematicalFrame.h:22
KVKinematicalFrame::GetParticle
KVParticle * GetParticle() const
Definition
KVKinematicalFrame.h:34
KVKinematicalFrame::GetTransform
const KVFrameTransform & GetTransform() const
Definition
KVKinematicalFrame.h:45
KVKinematicalFrame::operator->
const KVParticle * operator->() const
Definition
KVKinematicalFrame.h:38
KVKinematicalFrame::fParticle
std::unique_ptr< KVParticle > fParticle
kinematically transformed particle
Definition
KVKinematicalFrame.h:24
KVKinematicalFrame::operator=
KVKinematicalFrame & operator=(const KVKinematicalFrame &)
Assignment operator required for rootcint (not rootcling)
Definition
KVKinematicalFrame.cpp:75
KVKinematicalFrame::fTransform
KVFrameTransform fTransform
kinematical transform wrt 'parent' frame
Definition
KVKinematicalFrame.h:23
KVKinematicalFrame::ReapplyTransform
void ReapplyTransform(const KVParticle *original)
Apply stored kinematical transformation to the particle.
Definition
KVKinematicalFrame.cpp:96
KVKinematicalFrame::ApplyTransform
void ApplyTransform(const KVParticle *original, const KVFrameTransform &trans)
Apply new kinematical transformation to the particle and update all subframes.
Definition
KVKinematicalFrame.cpp:111
KVKinematicalFrame::~KVKinematicalFrame
virtual ~KVKinematicalFrame()
Definition
KVKinematicalFrame.h:32
KVKinematicalFrame::SetTransform
void SetTransform(const KVFrameTransform &f)
Definition
KVKinematicalFrame.h:49
KVParticle
Base class for relativistic kinematics of massive particles.
Definition
KVParticle.h:396
TNamed
kaliveda.doxygen
KVMultiDet
particles
KVKinematicalFrame.h
Generated on Wed Oct 23 2024 12:45:22 for KaliVeda by
1.9.8