KaliVeda
1.12/06
Heavy-Ion Analysis Toolkit
|
Utility class for kinematical transformations of KVParticle class.
Created by KVClassFactory on Thu Jan 19 15:37:43 2017 Author: John Frankland,,,
This class is used as a generic argument for the KVEvent::SetFrame() and KVParticle::SetFrame() methods (amongst others).
It is not always necessary to explicitly use this class when calling these methods. Any class for which a single-argument KVFrameTransform constructor is defined can be used, even a temporary (unnamed) object:
e.g. for KVParticle::SetFrame(const Char_t* frame, const KVFrameTransform& ft) the following calls are valid:
On the other hand, when more than one argument to the KVFrameTransform constructor is required, before C++11 you had to explicitly call the constructor in question, although once again it is sufficient to use a temporary object in the method call:
With C++11 this becomes
Definition at line 60 of file KVFrameTransform.h.
Public Member Functions | |
KVFrameTransform () | |
KVFrameTransform (const KVFrameTransform &r) | |
Copy constructor. More... | |
KVFrameTransform (const TLorentzRotation &r) | |
Construct frame transformation using a TLorentzRotation. More... | |
KVFrameTransform (const TRotation &r) | |
Construct frame transformation using rotation of axes. More... | |
KVFrameTransform (const TRotation &r, const TVector3 &boost, Bool_t beta=kFALSE) | |
KVFrameTransform (const TVector3 &boost, Bool_t beta=kFALSE) | |
KVFrameTransform (const TVector3 &boost, const TRotation &r, Bool_t beta=kFALSE) | |
virtual | ~KVFrameTransform () |
KVFrameTransform & | operator= (const KVFrameTransform &) |
assignment by copy More... | |
![]() | |
TLorentzRotation () | |
TLorentzRotation (const TLorentzRotation &) | |
TLorentzRotation (const TRotation &) | |
TLorentzRotation (const TVector3 &) | |
TLorentzRotation (Double_t, Double_t, Double_t) | |
TLorentzRotation & | Boost (const TVector3 &) |
TLorentzRotation & | Boost (Double_t, Double_t, Double_t) |
TLorentzRotation | Inverse () const |
TLorentzRotation & | Invert () |
Bool_t | IsIdentity () const |
TLorentzRotation | MatrixMultiplication (const TLorentzRotation &) const |
Bool_t | operator!= (const TLorentzRotation &) const |
Double_t | operator() (int, int) const |
TLorentzRotation | operator* (const TLorentzRotation &) const |
TLorentzVector | operator* (const TLorentzVector &) const |
TLorentzRotation & | operator*= (const TLorentzRotation &) |
TLorentzRotation & | operator= (const TLorentzRotation &) |
TLorentzRotation & | operator= (const TRotation &) |
Bool_t | operator== (const TLorentzRotation &) const |
TLorentzRotationRow | operator[] (int) const |
TLorentzRotation & | Rotate (Double_t, const TVector3 &) |
TLorentzRotation & | Rotate (Double_t, const TVector3 *) |
TLorentzRotation & | RotateX (Double_t) |
TLorentzRotation & | RotateY (Double_t) |
TLorentzRotation & | RotateZ (Double_t) |
TLorentzRotation & | Transform (const TLorentzRotation &) |
TLorentzRotation & | Transform (const TRotation &) |
Double_t | TT () const |
Double_t | TX () const |
Double_t | TY () const |
Double_t | TZ () const |
TLorentzVector | VectorMultiplication (const TLorentzVector &) const |
Double_t | XT () const |
Double_t | XX () const |
Double_t | XY () const |
Double_t | XZ () const |
Double_t | YT () const |
Double_t | YX () const |
Double_t | YY () const |
Double_t | YZ () const |
Double_t | ZT () const |
Double_t | ZX () const |
Double_t | ZY () const |
Double_t | ZZ () const |
![]() | |
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 | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
virtual Int_t | Compare (const TObject *obj) const |
virtual void | Copy (TObject &object) 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 TObject * | DrawClone (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=0) |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
virtual TObject * | FindObject (const char *name) const |
virtual TObject * | FindObject (const TObject *obj) const |
virtual Option_t * | GetDrawOption () const |
virtual const char * | GetIconName () const |
virtual const char * | GetName () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
virtual Option_t * | GetOption () const |
virtual const char * | GetTitle () const |
virtual UInt_t | GetUniqueID () const |
virtual Bool_t | HandleTimer (TTimer *timer) |
virtual ULong_t | Hash () const |
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) |
virtual Bool_t | IsEqual (const TObject *obj) const |
virtual Bool_t | IsFolder () const |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
virtual Bool_t | IsSortable () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
virtual void | ls (Option_t *option="") 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 * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
virtual void | Paint (Option_t *option="") |
virtual void | Pop () |
virtual void | Print (Option_t *option="") const |
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) |
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=0, Int_t option=0, Int_t bufsize=0) |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
#include <KVFrameTransform.h>
|
inline |
Definition at line 62 of file KVFrameTransform.h.
Construct frame transformation using velocity boost vector if beta=kTRUE, velocity given in light speed units if beta=kFALSE [default], velocity given in cm/ns units.
Definition at line 16 of file KVFrameTransform.cpp.
KVFrameTransform::KVFrameTransform | ( | const TRotation & | r | ) |
Construct frame transformation using rotation of axes.
Definition at line 37 of file KVFrameTransform.cpp.
KVFrameTransform::KVFrameTransform | ( | const TLorentzRotation & | r | ) |
Construct frame transformation using a TLorentzRotation.
Definition at line 49 of file KVFrameTransform.cpp.
KVFrameTransform::KVFrameTransform | ( | const KVFrameTransform & | r | ) |
Copy constructor.
Definition at line 60 of file KVFrameTransform.cpp.
KVFrameTransform::KVFrameTransform | ( | const TVector3 & | boost, |
const TRotation & | r, | ||
Bool_t | beta = kFALSE |
||
) |
Construct frame transformation using rotation & velocity boost vector in the order: BOOST then ROTATION if beta=kTRUE, velocity given in light speed units if beta=kFALSE [default], velocity given in cm/ns units.
Definition at line 75 of file KVFrameTransform.cpp.
KVFrameTransform::KVFrameTransform | ( | const TRotation & | r, |
const TVector3 & | boost, | ||
Bool_t | beta = kFALSE |
||
) |
Construct frame transformation using rotation & velocity boost vector in the order: ROTATION then BOOST if beta=kTRUE, velocity given in light speed units if beta=kFALSE [default], velocity given in cm/ns units.
Definition at line 100 of file KVFrameTransform.cpp.
|
inlinevirtual |
Definition at line 70 of file KVFrameTransform.h.
KVFrameTransform & KVFrameTransform::operator= | ( | const KVFrameTransform & | p | ) |
assignment by copy
Definition at line 121 of file KVFrameTransform.cpp.