Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
FlowPtVariable.cxx
1
/*
2
* FlowPtVariable.cxx
3
*
4
* Created on: 19-10-2013
5
* Author: Daniel Wielanek
6
* E-mail: daniel.wielanek@gmail.com
7
* Warsaw University of Technology, Faculty of Physics
8
*/
9
10
#include "FlowPtVariable.h"
11
12
#include "Track.h"
13
14
namespace
Hal
{
15
FlowPtVariable::FlowPtVariable() : FlowVariable(
"P_{t} [GeV/c]"
,
"dP_{t}"
) {}
16
17
Double_t FlowPtVariable::GetVariable(
Track
* p) {
18
Double_t px = p->
GetPx
();
19
Double_t py = p->
GetPy
();
20
return
TMath::Sqrt(px * px + py * py);
21
}
22
23
FlowPtVariable::~FlowPtVariable() {}
24
}
// namespace Hal
Hal::Track
Definition
Track.h:29
Hal::Track::GetPx
Double_t GetPx() const
Definition
Track.h:99
Hal::Track::GetPy
Double_t GetPy() const
Definition
Track.h:104
Hal
Definition
EventAnaChain.cxx:28
analysis
flow
FlowPtVariable.cxx
Generated on Wed Oct 23 2024 15:07:51 for Heavy ion Analysis Libriares by
1.12.0