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:
p.SetFrame(
"toto", boost);
winID h TVirtualViewer3D TVirtualGLPainter p
Base class for relativistic kinematics of massive particles.
TRotation & RotateZ(Double_t)
LVector boost(const LVector &v, const BoostVector &b)
constexpr Double_t PiOver2()
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:
-->
boost to frame moving at 0.1
c in beam direction
--> rotation around beam axis followed by
boost 0.1
c
With C++11 this becomes
-->
boost to frame moving at 0.1
c in beam direction
--> rotation around beam axis followed by
boost 0.1
c
- Note
- for boosts, default units are cm/ns
-
for rotations (TRotation), default units are radians
Definition at line 61 of file KVFrameTransform.h.
|
| | 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 () |
| |
| TClass * | IsA () const override |
| |
| 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) |
| |
| void | Streamer (TBuffer &) override |
| |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
| |
| 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=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 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) |
| |
| Bool_t | IsDestructed () const |
| |
| 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 *vp) |
| |
| void | operator delete[] (void *ptr) |
| |
| void | operator delete[] (void *ptr, void *vp) |
| |
| 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) |
| |
| 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 |
| |