AliPhysics  dab84fb (dab84fb)
AliTLorentzVector.cxx
Go to the documentation of this file.
1 /**************************************************************************
2  * Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
3  * *
4  * Author: The ALICE Off-line Project. *
5  * Contributors are mentioned in the code where appropriate. *
6  * *
7  * Permission to use, copy, modify and distribute this software and its *
8  * documentation strictly for non-commercial purposes is hereby granted *
9  * without fee, provided that the above copyright notice appears in all *
10  * copies and that both the copyright notice and this permission notice *
11  * appear in the supporting documentation. The authors make no claims *
12  * about the suitability of this software for any purpose. It is *
13  * provided "as is" without express or implied warranty. *
14  **************************************************************************/
15 
16 //
17 // Simple reimplementation of TLorentzVector with an added service method to return Phi in 0-2Pi range.
18 //
19 // Author: Salvatore Aiola, salvatore.aiola@cern.ch (Yale University)
20 
21 #include <AliTLorentzVector.h>
22 
23 ClassImp(AliTLorentzVector)
24 
25 //________________________________________________________________________
27  TLorentzVector()
28 {
29 }
30 
31 //________________________________________________________________________
33  TLorentzVector(x, y, z, t)
34 {
35 }
36 
37 //________________________________________________________________________
39  TLorentzVector(carray)
40 {
41 }
42 
43 //________________________________________________________________________
45  TLorentzVector(carray)
46 {
47 }
48 
49 //________________________________________________________________________
50 AliTLorentzVector::AliTLorentzVector(const TVector3 &vector3, Double_t t) :
51  TLorentzVector(vector3, t)
52 {
53 }
54 
55 //________________________________________________________________________
56 AliTLorentzVector::AliTLorentzVector(const TLorentzVector &lorentzvector) :
57  TLorentzVector(lorentzvector)
58 {
59 }
60 
61 //________________________________________________________________________
63 {
64 }
65 
66 //________________________________________________________________________
68 {
69  return TVector2::Phi_0_2pi(Phi());
70 }
double Double_t
Definition: External.C:58
Declaration of class AliTLorentzVector.
float Float_t
Definition: External.C:68
Double_t Phi_0_2pi() const