EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
flowAfterburner.cc File Reference
#include "flowAfterburner.h"
#include <phool/phool.h>
#include <gsl/gsl_errno.h>
#include <gsl/gsl_math.h>
#include <gsl/gsl_roots.h>
#include <HepMC/GenEvent.h>
#include <HepMC/GenParticle.h>
#include <HepMC/GenRanges.h>
#include <HepMC/GenVertex.h>
#include <HepMC/HeavyIon.h>
#include <HepMC/IteratorRange.h>
#include <HepMC/SimpleVector.h>
#include <CLHEP/Random/RandFlat.h>
#include <CLHEP/Vector/LorentzVector.h>
#include <cmath>
#include <cstdlib>
#include <iostream>
#include <map>
+ Include dependency graph for flowAfterburner.cc:

Go to the source code of this file.

Classes

struct  loaderObj
 

Namespaces

namespace  CLHEP
 

Functions

double vn_func (double x, void *params)
 
double vn_func_derivative (double x, void *params)
 
void MoveDescendantsToParent (HepMC::GenParticle *parent, double phishift)
 
float calc_v2 (double b, double eta, double pt)
 
void jjia_minbias_new (double b, double eta, double pt)
 
void jjia_minbias_new_v2only (double b, double eta, double pt)
 
void custom_vn (double, double, double)
 
double AddFlowToParent (HepMC::GenEvent *event, HepMC::GenParticle *parent)
 
int flowAfterburner (HepMC::GenEvent *event, CLHEP::HepRandomEngine *engine, std::string algorithmName, float mineta, float maxeta, float minpt, float maxpt)
 

Variables

flowAfterburnerAlgorithm algorithm
 
std::map< std::string,
flowAfterburnerAlgorithm
algorithms
 
loaderObj loader
 
float psi_n [6]
 
float v1
 
float v2
 
float v3
 
float v4
 
float v5
 
float v6
 

Function Documentation

double AddFlowToParent ( HepMC::GenEvent *  event,
HepMC::GenParticle *  parent 
)

Definition at line 209 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 209 of file flowAfterburner.cc

References algorithm, custom_algorithm, custom_vn(), Acts::UnitConstants::e, Acts::VectorHelpers::eta(), F, jjia_minbias_new(), jjia_minbias_new_v2only(), M_PI, minbias_algorithm, minbias_v2_algorithm, momentum, phi, psi_n, Acts::UnitConstants::s, T, v1, v2, v3, v4, v5, v6, and vn_func().

Referenced by flowAfterburner().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

float calc_v2 ( double  b,
double  eta,
double  pt 
)

Definition at line 146 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 146 of file flowAfterburner.cc

References a2, a3, a4, temp1, temp2, and v2.

Referenced by jjia_minbias_new(), and jjia_minbias_new_v2only().

+ Here is the caller graph for this function:

void custom_vn ( double  ,
double  ,
double   
)

Definition at line 198 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 198 of file flowAfterburner.cc

References v1, v2, v3, v4, v5, and v6.

Referenced by AddFlowToParent().

+ Here is the caller graph for this function:

int flowAfterburner ( HepMC::GenEvent *  event,
CLHEP::HepRandomEngine *  engine,
std::string  algorithmName,
float  mineta,
float  maxeta,
float  minpt,
float  maxpt 
)

Definition at line 293 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 293 of file flowAfterburner.cc

References AddFlowToParent(), algorithm, cos(), Acts::VectorHelpers::eta(), exit(), it, M_PI, momentum, MoveDescendantsToParent(), PHWHERE, and psi_n.

Referenced by main(), and HepMCFlowAfterBurner::process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void jjia_minbias_new ( double  b,
double  eta,
double  pt 
)

Definition at line 170 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 170 of file flowAfterburner.cc

References calc_v2(), v1, v2, v3, v4, v5, and v6.

Referenced by AddFlowToParent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void jjia_minbias_new_v2only ( double  b,
double  eta,
double  pt 
)

Definition at line 186 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 186 of file flowAfterburner.cc

References calc_v2(), v1, v2, v3, v4, v5, and v6.

Referenced by AddFlowToParent().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void MoveDescendantsToParent ( HepMC::GenParticle *  parent,
double  phishift 
)

Definition at line 97 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 97 of file flowAfterburner.cc

References Acts::UnitConstants::e, momentum, and Acts::VectorHelpers::position().

Referenced by flowAfterburner().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double vn_func ( double  x,
void *  params 
)

Definition at line 63 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 63 of file flowAfterburner.cc

References psi_n.

Referenced by AddFlowToParent().

+ Here is the caller graph for this function:

double vn_func_derivative ( double  x,
void *  params 
)

Definition at line 80 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 80 of file flowAfterburner.cc

References cos(), and psi_n.

+ Here is the call graph for this function:

Variable Documentation

Definition at line 43 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 43 of file flowAfterburner.cc

Referenced by AddFlowToParent(), JetHepMCLoader::addJet(), flowAfterburner(), and ActsExamples::Sequencer::listAlgorithmNames().

std::map<std::string, flowAfterburnerAlgorithm> algorithms

Definition at line 44 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 44 of file flowAfterburner.cc

Referenced by hijfst_control(), and loaderObj::loaderObj().

float psi_n[6]

Definition at line 95 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 95 of file flowAfterburner.cc

Referenced by AddFlowToParent(), flowAfterburner(), vn_func(), and vn_func_derivative().

float v1

Definition at line 95 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 95 of file flowAfterburner.cc

Referenced by FluxMonitorGrid::AddEntry(), AddFlowToParent(), EicCadWizard::AssembleRootFiles(), Acts::Test::BOOST_AUTO_TEST_CASE(), tetgenmesh::calculateabovepoint(), FairGeoTube::calcVoluParam(), FairGeoTubs::calcVoluParam(), FairGeoTrd1::calcVoluParam(), FairGeoCone::calcVoluParam(), FairGeoCons::calcVoluParam(), FairGeoEltu::calcVoluParam(), FairGeoPgon::calcVoluParam(), FairGeoPcon::calcVoluParam(), FairGeoSphe::calcVoluParam(), FairGeoTrd1::calcVoluPosition(), tetgenmesh::checkseg4encroach(), FairGeoNode::compare(), PHG4FullProjSpacalDetector::Construct_Fibers(), PHG4FullProjTiltedSpacalDetector::Construct_Fibers(), PHG4FullProjSpacalDetector::Construct_Fibers_SameLengthFiberPerTower(), PHG4FullProjTiltedSpacalDetector::Construct_Fibers_SameLengthFiberPerTower(), PHG4HcalDetector::ConstructMe(), FairModule::ConstructRootGeometry(), PHG4InnerHcalDetector::ConstructSteelPlate(), PHG4OuterHcalDetector::ConstructSteelPlate(), EicStlMediaGroup::CoupleFacetToAssembly(), EtmLine2D::Cross(), custom_vn(), dcross(), dlower(), dupper(), EicStlFacetEdge::EicStlFacetEdge(), FairModule::ExpandNode(), tetgenmesh::facenormal(), fillEvent(), tetgenmesh::incrementaldelaunay(), Acts::detail::initialize_parset< T, first, others...>::init_vals(), Acts::detail::initialize_parset< T, last >::init_vals(), tetgenmesh::interiorangle(), jjia_minbias_new(), jjia_minbias_new_v2only(), kdfinder::operator*(), kdfinder::operator+(), kdfinder::operator-(), EicStlFactory::PreAllocateFacet(), PHG4ParticleGeneratorD0::process_event(), PHG4ParticleGeneratorVectorMeson::process_event(), tetgenmesh::projpt2edge(), tetgenmesh::projpt2face(), pyreco(), quench(), riwfun(), tetgenmesh::shortdistance(), tetgenmesh::suppressbdrysteinerpoint(), PHG4MvtxSteppingAction::UserSteppingAction(), and PHG4EICMvtxSteppingAction::UserSteppingAction().

float v5

Definition at line 95 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 95 of file flowAfterburner.cc

Referenced by AddFlowToParent(), custom_vn(), jjia_minbias_new(), and jjia_minbias_new_v2only().

float v6

Definition at line 95 of file flowAfterburner.cc.

View newest version in sPHENIX GitHub at line 95 of file flowAfterburner.cc

Referenced by AddFlowToParent(), custom_vn(), jjia_minbias_new(), and jjia_minbias_new_v2only().