AliPhysics
dab84fb (dab84fb)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
//________________________________________________________________________
26
AliTLorentzVector
::
AliTLorentzVector
() :
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
//________________________________________________________________________
62
AliTLorentzVector::~AliTLorentzVector
()
63
{
64
}
65
66
//________________________________________________________________________
67
Double_t
AliTLorentzVector::Phi_0_2pi
()
const
68
{
69
return
TVector2::Phi_0_2pi(Phi());
70
}
Double_t
double Double_t
Definition:
External.C:58
AliTLorentzVector.h
Declaration of class AliTLorentzVector.
AliTLorentzVector
Definition:
AliTLorentzVector.h:19
Float_t
float Float_t
Definition:
External.C:68
AliTLorentzVector::Phi_0_2pi
Double_t Phi_0_2pi() const
Definition:
AliTLorentzVector.cxx:67
AliTLorentzVector::AliTLorentzVector
AliTLorentzVector()
Definition:
AliTLorentzVector.cxx:26
AliTLorentzVector::~AliTLorentzVector
virtual ~AliTLorentzVector()
Definition:
AliTLorentzVector.cxx:62
PWG
Tools
AliTLorentzVector.cxx
Generated on Thu Mar 15 2018 16:51:19 for AliPhysics by
1.8.11