Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::FlowVariable Class Referenceabstract

#include <FlowVariable.h>

Inheritance diagram for Hal::FlowVariable:
Hal::FlowPtVariable Hal::FlowTrackFieldVariable Hal::FlowVirtualVariable Hal::FlowYVariable

Public Member Functions

 FlowVariable (TString axisName="dummy", TString unitName="dummy")
 
virtual TString GetAxisName ()
 
virtual TString GetAxisUnit ()
 
virtual Double_t GetVariable (Track *p)
 
virtual Bool_t Init (Int_t taskId)
 
virtual FlowVariableMakeCopy () const =0
 

Protected Member Functions

void SetFieldName (TString name)
 
void SetFieldUnit (TString unit)
 

Detailed Description

abstract class for calculating any flow variable

Definition at line 22 of file FlowVariable.h.

Constructor & Destructor Documentation

◆ FlowVariable()

Hal::FlowVariable::FlowVariable ( TString axisName = "dummy",
TString unitName = "dummy" )

default constructor

Parameters
axisNameaxis name (e.g. p_{T}
unitNameunit name

Definition at line 18 of file FlowVariable.cxx.

◆ ~FlowVariable()

Hal::FlowVariable::~FlowVariable ( )
virtual

Definition at line 24 of file FlowVariable.cxx.

Member Function Documentation

◆ GetAxisName()

TString Hal::FlowVariable::GetAxisName ( )
virtual
Returns
axis name

Definition at line 20 of file FlowVariable.cxx.

◆ GetAxisUnit()

TString Hal::FlowVariable::GetAxisUnit ( )
virtual
Returns
unit name

Definition at line 28 of file FlowVariable.cxx.

◆ GetVariable()

Double_t Hal::FlowVariable::GetVariable ( Track * p)
virtual
Parameters
ptrack
Returns
variable with is plotted of flow histogram

Reimplemented in Hal::FlowPtVariable, Hal::FlowTrackFieldVariable, Hal::FlowVirtualVariable, and Hal::FlowYVariable.

Definition at line 22 of file FlowVariable.cxx.

◆ Init()

virtual Bool_t Hal::FlowVariable::Init ( Int_t taskId)
inlinevirtual

Definition at line 53 of file FlowVariable.h.

◆ SetFieldName()

void Hal::FlowVariable::SetFieldName ( TString name)
inlineprotected

Definition at line 27 of file FlowVariable.h.

◆ SetFieldUnit()

void Hal::FlowVariable::SetFieldUnit ( TString unit)
inlineprotected

Definition at line 28 of file FlowVariable.h.


The documentation for this class was generated from the following files: