Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::FemtoWeightGenerator Class Reference

#include <FemtoWeightGenerator.h>

Inheritance diagram for Hal::FemtoWeightGenerator:
Hal::FemtoWeightGeneratorBasic Hal::FemtoWeightGeneratorK0K0 Hal::FemtoWeightGeneratorKisiel Hal::FemtoWeightGeneratorLednicky Hal::FemtoWeightGeneratorLednicky2 Hal::FemtoWeightGeneratorResidual Hal::FemtoWeightGeneratorSupressed

Public Member Functions

 FemtoWeightGenerator ()
 
 FemtoWeightGenerator (const FemtoWeightGenerator &aModel)
 
virtual FemtoWeightGeneratorMakeCopy () const
 
virtual FemtoWeightGeneratoroperator= (const FemtoWeightGenerator &aModel)
 
virtual Double_t GenerateWeight (FemtoPair *pair)
 
virtual void SetPairType (Femto::EPairType aPairType)
 
virtual void SetPairTypeFromPair (FemtoPair *pair)
 
virtual Femto::EPairType GetPairType () const
 
virtual Femto::EPairType GetPairTypeFromPair (FemtoPair *pair)
 
virtual Double_t GetKStar () const
 
virtual Double_t GetKStarOut () const
 
virtual Double_t GetKStarSide () const
 
virtual Double_t GetKStarLong () const
 
virtual Double_t GetRStar () const
 
virtual Double_t GetRStarOut () const
 
virtual Double_t GetRStarSide () const
 
virtual Double_t GetRStarLong () const
 
virtual FemtoWeightGeneratorClone (const char *="") const
 
virtual Int_t GetPdg1 ()
 
virtual Int_t GetPdg2 ()
 
virtual Bool_t Init (Int_t task_id, FemtoPair *pair)
 
virtual Bool_t IsPairSupported (Femto::EPairType) const
 
virtual void Print (Option_t *option="") const
 
virtual PackageReport () const
 

Protected Member Functions

void CalculateKinematics (FemtoPair *pair)
 

Protected Attributes

Femto::EPairType fPairType
 
Int_t fTaskID
 
Double_t fKStarOut
 
Double_t fKStarSide
 
Double_t fKStarLong
 
Double_t fKStar
 
Double_t fRStarOut
 
Double_t fRStarSide
 
Double_t fRStarLong
 
Double_t fRStar
 

Detailed Description

abstract class for generating weights, code derived from AliROOT

Definition at line 25 of file FemtoWeightGenerator.h.

Constructor & Destructor Documentation

◆ FemtoWeightGenerator() [1/2]

Hal::FemtoWeightGenerator::FemtoWeightGenerator ( )

default constructor

Definition at line 16 of file FemtoWeightGenerator.cxx.

◆ FemtoWeightGenerator() [2/2]

Hal::FemtoWeightGenerator::FemtoWeightGenerator ( const FemtoWeightGenerator & aModel)

copy constructor

Parameters
aModelobject to copy

Definition at line 28 of file FemtoWeightGenerator.cxx.

◆ ~FemtoWeightGenerator()

Hal::FemtoWeightGenerator::~FemtoWeightGenerator ( )
virtual

Definition at line 61 of file FemtoWeightGenerator.cxx.

Member Function Documentation

◆ CalculateKinematics()

void Hal::FemtoWeightGenerator::CalculateKinematics ( FemtoPair * pair)
protected

calculate prf variables r* is in fm/c

Parameters
pair

Definition at line 84 of file FemtoWeightGenerator.cxx.

◆ Clone()

virtual FemtoWeightGenerator * Hal::FemtoWeightGenerator::Clone ( const char * = "") const
inlinevirtual

clone this class

Returns
clone of this class

Reimplemented in Hal::FemtoWeightGeneratorBasic, Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 165 of file FemtoWeightGenerator.h.

◆ GenerateWeight()

Double_t Hal::FemtoWeightGenerator::GenerateWeight ( FemtoPair * pair)
virtual

◆ GetKStar()

Double_t Hal::FemtoWeightGenerator::GetKStar ( ) const
inlinevirtual
Returns
k* momentum difference of last pair where weight was calculated

Reimplemented in Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 193 of file FemtoWeightGenerator.h.

◆ GetKStarLong()

Double_t Hal::FemtoWeightGenerator::GetKStarLong ( ) const
inlinevirtual
Returns
k*long of last pair where weight was calculated

Reimplemented in Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 199 of file FemtoWeightGenerator.h.

◆ GetKStarOut()

Double_t Hal::FemtoWeightGenerator::GetKStarOut ( ) const
inlinevirtual
Returns
k*out of last pair where weight was calculated

Reimplemented in Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 195 of file FemtoWeightGenerator.h.

◆ GetKStarSide()

Double_t Hal::FemtoWeightGenerator::GetKStarSide ( ) const
inlinevirtual
Returns
k*side of last pair where weight was calculated

Reimplemented in Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 197 of file FemtoWeightGenerator.h.

◆ GetPairType()

Femto::EPairType Hal::FemtoWeightGenerator::GetPairType ( ) const
virtual
Returns
pair type

Reimplemented in Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 59 of file FemtoWeightGenerator.cxx.

◆ GetPairTypeFromPair()

Femto::EPairType Hal::FemtoWeightGenerator::GetPairTypeFromPair ( FemtoPair * pair)
virtual
Parameters
pairpair of tracks
Returns
pair type form pai

Definition at line 74 of file FemtoWeightGenerator.cxx.

◆ GetPdg1()

Int_t Hal::FemtoWeightGenerator::GetPdg1 ( )
virtual
Returns
pdg code for first particle

Definition at line 80 of file FemtoWeightGenerator.cxx.

◆ GetPdg2()

Int_t Hal::FemtoWeightGenerator::GetPdg2 ( )
virtual
Returns
pdg code for second particle

Definition at line 82 of file FemtoWeightGenerator.cxx.

◆ GetRStar()

Double_t Hal::FemtoWeightGenerator::GetRStar ( ) const
inlinevirtual
Returns
r* of last pair where weight was calculated

Reimplemented in Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 201 of file FemtoWeightGenerator.h.

◆ GetRStarLong()

Double_t Hal::FemtoWeightGenerator::GetRStarLong ( ) const
inlinevirtual
Returns
r*long of last pair where weight was calculated

Reimplemented in Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 207 of file FemtoWeightGenerator.h.

◆ GetRStarOut()

Double_t Hal::FemtoWeightGenerator::GetRStarOut ( ) const
inlinevirtual
Returns
r*out of last pair where weight was calculated

Reimplemented in Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 203 of file FemtoWeightGenerator.h.

◆ GetRStarSide()

Double_t Hal::FemtoWeightGenerator::GetRStarSide ( ) const
inlinevirtual
Returns
r*side of last pair where weight was calculated

Reimplemented in Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 205 of file FemtoWeightGenerator.h.

◆ Init()

Bool_t Hal::FemtoWeightGenerator::Init ( Int_t task_id,
FemtoPair * pair )
inlinevirtual

◆ IsPairSupported()

virtual Bool_t Hal::FemtoWeightGenerator::IsPairSupported ( Femto::EPairType ) const
inlinevirtual

return true if pair type is correctly supported

Parameters
type
Returns

Reimplemented in Hal::FemtoWeightGeneratorKisiel, Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 185 of file FemtoWeightGenerator.h.

◆ MakeCopy()

virtual FemtoWeightGenerator * Hal::FemtoWeightGenerator::MakeCopy ( ) const
inlinevirtual

◆ operator=()

FemtoWeightGenerator & Hal::FemtoWeightGenerator::operator= ( const FemtoWeightGenerator & aModel)
virtual

= operator

Parameters
aModelobject to copy
Returns
new copy of class

Definition at line 41 of file FemtoWeightGenerator.cxx.

◆ Print()

void Hal::FemtoWeightGenerator::Print ( Option_t * option = "") const
virtual

Definition at line 69 of file FemtoWeightGenerator.cxx.

◆ Report()

Package * Hal::FemtoWeightGenerator::Report ( ) const
inlinevirtual

Definition at line 214 of file FemtoWeightGenerator.h.

◆ SetPairType()

void Hal::FemtoWeightGenerator::SetPairType ( Femto::EPairType aPairType)
virtual

set pair type

Parameters
aPairTypepair type

Reimplemented in Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 57 of file FemtoWeightGenerator.cxx.

◆ SetPairTypeFromPair()

void Hal::FemtoWeightGenerator::SetPairTypeFromPair ( FemtoPair * pair)
virtual

set pair type from pair

Parameters
pairpair of particles

Reimplemented in Hal::FemtoWeightGeneratorLednicky2, and Hal::FemtoWeightGeneratorLednicky.

Definition at line 67 of file FemtoWeightGenerator.cxx.

Member Data Documentation

◆ fKStar

Double_t Hal::FemtoWeightGenerator::fKStar
protected

relative momentum magnitude

Definition at line 50 of file FemtoWeightGenerator.h.

◆ fKStarLong

Double_t Hal::FemtoWeightGenerator::fKStarLong
protected

relative momentum long component in PRF

Definition at line 46 of file FemtoWeightGenerator.h.

◆ fKStarOut

Double_t Hal::FemtoWeightGenerator::fKStarOut
protected

relative momentum out component in PRF

Definition at line 38 of file FemtoWeightGenerator.h.

◆ fKStarSide

Double_t Hal::FemtoWeightGenerator::fKStarSide
protected

relative momentum side component in PRF

Definition at line 42 of file FemtoWeightGenerator.h.

◆ fPairType

Femto::EPairType Hal::FemtoWeightGenerator::fPairType
protected

Type of the pair for which the calculation is done

Definition at line 30 of file FemtoWeightGenerator.h.

◆ fRStar

Double_t Hal::FemtoWeightGenerator::fRStar
protected

relative separation magnitude

Definition at line 66 of file FemtoWeightGenerator.h.

◆ fRStarLong

Double_t Hal::FemtoWeightGenerator::fRStarLong
protected

relative separation long component in PRF

Definition at line 62 of file FemtoWeightGenerator.h.

◆ fRStarOut

Double_t Hal::FemtoWeightGenerator::fRStarOut
protected

elative separation out component in PRF

Definition at line 54 of file FemtoWeightGenerator.h.

◆ fRStarSide

Double_t Hal::FemtoWeightGenerator::fRStarSide
protected

relative separation side component in PRF

Definition at line 58 of file FemtoWeightGenerator.h.

◆ fTaskID

Int_t Hal::FemtoWeightGenerator::fTaskID
protected

id of task that own this weight

Definition at line 34 of file FemtoWeightGenerator.h.


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