AliPhysics  9fe175b (9fe175b)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 
24 
25 //________________________________________________________________________
27  TLorentzVector()
28 {
29 }
30 
31 //________________________________________________________________________
32 AliTLorentzVector::AliTLorentzVector(Double_t x, Double_t y, Double_t z, Double_t t) :
33  TLorentzVector(x, y, z, t)
34 {
35 }
36 
37 //________________________________________________________________________
38 AliTLorentzVector::AliTLorentzVector(const Double_t *carray) :
39  TLorentzVector(carray)
40 {
41 }
42 
43 //________________________________________________________________________
44 AliTLorentzVector::AliTLorentzVector(const Float_t *carray) :
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 }
Declaration of class AliTLorentzVector.
ClassImp(AliTLorentzVector) AliTLorentzVector
Double_t Phi_0_2pi() const