Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
FlowYVariable.cxx
1
/*
2
* FlowYVariable.cxx
3
*
4
* Created on: 05-10-2014
5
* Author: Daniel Wielanek
6
* E-mail: daniel.wielanek@gmail.com
7
* Warsaw University of Technology, Faculty of Physics
8
*/
9
10
#include "FlowYVariable.h"
11
12
#include "Track.h"
13
14
#include <TMath.h>
15
16
namespace
Hal
{
17
FlowYVariable::FlowYVariable() : FlowVariable(
"y"
,
"y"
) {}
18
19
Double_t FlowYVariable::GetVariable(
Track
* p) {
20
Double_t E = p->
GetE
();
21
Double_t pz = p->
GetPz
();
22
return
0.5 * TMath::Log((E + pz) / (E - pz));
23
}
24
25
FlowYVariable::~FlowYVariable() {}
26
}
// namespace Hal
Hal::Track
Definition
Track.h:29
Hal::Track::GetPz
Double_t GetPz() const
Definition
Track.h:109
Hal::Track::GetE
Double_t GetE() const
Definition
Track.h:114
Hal
Definition
EventAnaChain.cxx:28
analysis
flow
FlowYVariable.cxx
Generated on Wed Oct 23 2024 15:07:51 for Heavy ion Analysis Libriares by
1.12.0