]> git.uio.no Git - u/mrichter/AliRoot.git/blame - RALICE/AliBoost.h
Some function moved to AliZDC
[u/mrichter/AliRoot.git] / RALICE / AliBoost.h
CommitLineData
d88f97cc 1#ifndef ALIBOOST_H
2#define ALIBOOST_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
f531a546 6// $Id$
3da30618 7
d88f97cc 8#include <iostream.h>
9#include <math.h>
10
11#include "TObject.h"
12
13#include "Ali4Vector.h"
14
15class AliBoost : public TObject
16{
17 public:
18 AliBoost(); // Default constructor
19 ~AliBoost(); // Default destructor
20 void SetBeta(Ali3Vector b); // Set boost parameters by beta 3-vector
d88f97cc 21 void Set4Momentum(Ali4Vector& p); // Set boost parameters by 4-momentum
22 Ali3Vector GetBetaVector(); // Provide the beta 3-vector
23 Double_t GetBeta(); // Provide norm of beta 3-vector
24 Double_t GetGamma(); // Provide gamma value
25 void Info(TString f="car"); // Print boost parameter info in coord. frame f
26 Ali4Vector Boost(Ali4Vector& v); // Perform Lorentz boost on 4-vector v
27 Ali4Vector Inverse(Ali4Vector& v); // Perform inverse Lorentz boost on 4-vector v
959fbac5 28 Double_t GetResultError(); // Provide error on scalar result
d88f97cc 29
30 protected:
959fbac5 31 Ali3Vector fBeta; // The beta 3-vector
32 Double_t fGamma; // The gamma factor
33 Double_t fDgamma; // Error on the gamma value
34 Double_t fDresult; // Error on scalar result
d88f97cc 35
959fbac5 36 ClassDef(AliBoost,1) // Perform various Lorentz transformations.
d88f97cc 37};
38#endif