KaliVeda
Toolkit for HIC analysis
Loading...
Searching...
No Matches
KVKinematicalFrame Class Reference

Detailed Description

Kinematical representation of a particle in different reference frames.

Created by KVClassFactory on Thu Jan 19 17:29:54 2017 Author: John Frankland,,,

This class handles transformations between different reference frames for KVParticle kinematics. It is a utility class servicing the relevant methods in KVParticle.

Definition at line 22 of file KVKinematicalFrame.h.

#include <KVKinematicalFrame.h>

Inheritance diagram for KVKinematicalFrame:

Public Member Functions

 KVKinematicalFrame (const Char_t *name, const KVParticle *original, const KVFrameTransform &trans)
 
 KVKinematicalFrame (const KVFrameTransform &trans, const KVParticle *original)
 Create representation of original particle in transformed frame.
 
 KVKinematicalFrame (const KVKinematicalFrame &)
 Copy constructor required for rootcint (not rootcling)
 
 KVKinematicalFrame (KVParticle *, const KVFrameTransform &)
 
virtual ~KVKinematicalFrame ()
 
void ApplyTransform (const KVParticle *original, const KVFrameTransform &trans)
 Apply new kinematical transformation to the particle and update all subframes.
 
KVParticleGetParticle () const
 
const KVFrameTransformGetTransform () const
 
const KVParticleoperator-> () const
 
KVKinematicalFrameoperator= (const KVKinematicalFrame &)
 Assignment operator required for rootcint (not rootcling)
 
void ReapplyTransform (const KVParticle *original)
 Apply stored kinematical transformation to the particle.
 
void SetTransform (const KVFrameTransform &f)
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TNamed &named)
 
 TNamed (const TString &name, const TString &title)
 
virtual ~TNamed ()
 
void Clear (Option_t *option="") override
 
TObjectClone (const char *newname="") const override
 
Int_t Compare (const TObject *obj) const override
 
void Copy (TObject &named) const override
 
virtual void FillBuffer (char *&buffer)
 
const char * GetName () const override
 
const char * GetTitle () const override
 
ULong_t Hash () const override
 
TClassIsA () const override
 
Bool_t IsSortable () const override
 
void ls (Option_t *option="") const override
 
TNamedoperator= (const TNamed &rhs)
 
void Print (Option_t *option="") const override
 
virtual void SetName (const char *name)
 
virtual void SetNameTitle (const char *name, const char *title)
 
virtual void SetTitle (const char *title="")
 
virtual Int_t Sizeof () const
 
void Streamer (TBuffer &) override
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 
virtual ~TObject ()
 
void AbstractMethod (const char *method) const
 
virtual void AppendPad (Option_t *option="")
 
virtual void Browse (TBrowser *b)
 
ULong_t CheckedHash ()
 
virtual const char * ClassName () const
 
virtual void Delete (Option_t *option="")
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 
virtual void Draw (Option_t *option="")
 
virtual void DrawClass () const
 
virtual TObjectDrawClone (Option_t *option="") const
 
virtual void Dump () const
 
virtual void Error (const char *method, const char *msgfmt,...) const
 
virtual void Execute (const char *method, const char *params, Int_t *error=nullptr)
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr)
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 
virtual TObjectFindObject (const char *name) const
 
virtual TObjectFindObject (const TObject *obj) const
 
virtual Option_tGetDrawOption () const
 
virtual const char * GetIconName () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 
virtual Option_tGetOption () const
 
virtual UInt_t GetUniqueID () const
 
virtual Bool_t HandleTimer (TTimer *timer)
 
Bool_t HasInconsistentHash () const
 
virtual void Info (const char *method, const char *msgfmt,...) const
 
virtual Bool_t InheritsFrom (const char *classname) const
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 
virtual void Inspect () const
 
void InvertBit (UInt_t f)
 
Bool_t IsDestructed () const
 
virtual Bool_t IsEqual (const TObject *obj) const
 
virtual Bool_t IsFolder () const
 
R__ALWAYS_INLINE Bool_t IsOnHeap () const
 
R__ALWAYS_INLINE Bool_t IsZombie () const
 
void MayNotUse (const char *method) const
 
virtual Bool_t Notify ()
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *vp)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, void *vp)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, void *vp)
 
TObjectoperator= (const TObject &rhs)
 
virtual void Paint (Option_t *option="")
 
virtual void Pop ()
 
virtual Int_t Read (const char *name)
 
virtual void RecursiveRemove (TObject *obj)
 
void ResetBit (UInt_t f)
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
void SetBit (UInt_t f)
 
void SetBit (UInt_t f, Bool_t set)
 
virtual void SetDrawOption (Option_t *option="")
 
virtual void SetUniqueID (UInt_t uid)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 
R__ALWAYS_INLINE Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
virtual void UseCurrentStyle ()
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const
 

Private Attributes

std::unique_ptr< KVParticlefParticle
 kinematically transformed particle
 
KVFrameTransform fTransform
 kinematical transform wrt 'parent' frame
 

Additional Inherited Members

- Public Types inherited from TObject
enum  EDeprecatedStatusBits
 
enum  EStatusBits
 
- Static Public Member Functions inherited from TNamed
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
- Static Public Member Functions inherited from TObject
static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 
static Longptr_t GetDtorOnly ()
 
static Bool_t GetObjectStat ()
 
static void SetDtorOnly (void *obj)
 
static void SetObjectStat (Bool_t stat)
 
- Public Attributes inherited from TObject
 kBitMask
 
 kCanDelete
 
 kCannotPick
 
 kHasUUID
 
 kInconsistent
 
 kInvalidObject
 
 kIsOnHeap
 
 kIsReferenced
 
 kMustCleanup
 
 kNoContextMenu
 
 kNotDeleted
 
 kObjInCanvas
 
 kOverwrite
 
 kSingleKey
 
 kWriteDelete
 
 kZombie
 
- Protected Member Functions inherited from TObject
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 
void MakeZombie ()
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 
- Protected Attributes inherited from TObject
 kOnlyPrepStep
 

Constructor & Destructor Documentation

◆ KVKinematicalFrame() [1/4]

KVKinematicalFrame::KVKinematicalFrame ( const Char_t name,
const KVParticle original,
const KVFrameTransform trans 
)

Create representation of original particle in transformed frame This frame has a name which can be used to retrieve it from a list

Definition at line 14 of file KVKinematicalFrame.cpp.

◆ KVKinematicalFrame() [2/4]

KVKinematicalFrame::KVKinematicalFrame ( KVParticle p,
const KVFrameTransform t 
)

Modify the kinematics of the particle according to the given transformation Recursively update the kinematics in all frames defined for this particle

Definition at line 43 of file KVKinematicalFrame.cpp.

◆ KVKinematicalFrame() [3/4]

KVKinematicalFrame::KVKinematicalFrame ( const KVFrameTransform trans,
const KVParticle original 
)

Create representation of original particle in transformed frame.

Definition at line 29 of file KVKinematicalFrame.cpp.

◆ KVKinematicalFrame() [4/4]

KVKinematicalFrame::KVKinematicalFrame ( const KVKinematicalFrame o)

Copy constructor required for rootcint (not rootcling)

Definition at line 57 of file KVKinematicalFrame.cpp.

◆ ~KVKinematicalFrame()

virtual KVKinematicalFrame::~KVKinematicalFrame ( )
inlinevirtual

Definition at line 32 of file KVKinematicalFrame.h.

Member Function Documentation

◆ ApplyTransform()

void KVKinematicalFrame::ApplyTransform ( const KVParticle original,
const KVFrameTransform trans 
)

Apply new kinematical transformation to the particle and update all subframes.

Definition at line 111 of file KVKinematicalFrame.cpp.

◆ GetParticle()

KVParticle * KVKinematicalFrame::GetParticle ( ) const
inline

Definition at line 34 of file KVKinematicalFrame.h.

◆ GetTransform()

const KVFrameTransform & KVKinematicalFrame::GetTransform ( ) const
inline

Definition at line 45 of file KVKinematicalFrame.h.

◆ operator->()

const KVParticle * KVKinematicalFrame::operator-> ( ) const
inline

Definition at line 38 of file KVKinematicalFrame.h.

◆ operator=()

KVKinematicalFrame & KVKinematicalFrame::operator= ( const KVKinematicalFrame o)

Assignment operator required for rootcint (not rootcling)

Definition at line 75 of file KVKinematicalFrame.cpp.

◆ ReapplyTransform()

void KVKinematicalFrame::ReapplyTransform ( const KVParticle original)

Apply stored kinematical transformation to the particle.

Definition at line 96 of file KVKinematicalFrame.cpp.

◆ SetTransform()

void KVKinematicalFrame::SetTransform ( const KVFrameTransform f)
inline

Definition at line 49 of file KVKinematicalFrame.h.

Member Data Documentation

◆ fParticle

std::unique_ptr<KVParticle> KVKinematicalFrame::fParticle
private

kinematically transformed particle

Definition at line 24 of file KVKinematicalFrame.h.

◆ fTransform

KVFrameTransform KVKinematicalFrame::fTransform
private

kinematical transform wrt 'parent' frame

Definition at line 23 of file KVKinematicalFrame.h.