Analysis Software
Documentation for sPHENIX simulation 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 KFPMath::b, custom_algorithm, custom_vn(), Acts::UnitConstants::e, eta, F, jjia_minbias_new(), jjia_minbias_new_v2only(), minbias_algorithm, minbias_v2_algorithm, momentum, ActsTests::PropagationDatasets::phi, psi_n, physmon_track_finding_ttbar::pt, physmon_simulation::s, utils::status, Acts::UnitConstants::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 KFPMath::a2, 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(), eta, i, it, momentum, MoveDescendantsToParent(), PHWHERE, psi_n, graph_fancy::pT, and physmon_track_finding_ttbar::r.

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 position.

Referenced by flowAfterburner().

+ 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 psi_n.

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 JetHepMCLoader::addJet().

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().

loaderObj loader

Definition at line 60 of file flowAfterburner.cc.

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

Referenced by makeFactory().

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 testing::gmock_generated_actions_test::ACTION_TEMPLATE(), AddFlowToParent(), ana_starlight(), AssertPred1Helper(), Acts::Test::BOOST_AUTO_TEST_CASE(), PHG4FullProjSpacalDetector::Construct_Fibers(), PHG4FullProjTiltedSpacalDetector::Construct_Fibers(), PHG4SpacalPrototypeDetector::Construct_Fibers_SameLengthFiberPerTower(), PHG4SpacalPrototype4Detector::Construct_Fibers_SameLengthFiberPerTower(), PHG4FullProjSpacalDetector::Construct_Fibers_SameLengthFiberPerTower(), PHG4FullProjTiltedSpacalDetector::Construct_Fibers_SameLengthFiberPerTower(), PHG4HcalDetector::ConstructMe(), PHG4InnerHcalDetector::ConstructSteelPlate(), PHG4OuterHcalDetector::ConstructSteelPlate(), create_pythia_dummy(), custom_vn(), fillEvent(), KshortReconstruction::fillHistogram(), TrackResiduals::fillStatesWithLineFit(), KshortReconstruction::findPcaTwoTracks(), fshape(), jjia_minbias_new(), jjia_minbias_new_v2only(), mg_http_handler(), PHG4ParticleGeneratorD0::process_event(), PHG4ParticleGeneratorVectorMeson::process_event(), Pi0MassAnalysis::process_event(), sPHAnalysis::process_event_hepmc(), pyreco(), quench(), saveCorrections(), series(), CaloWaveFormSim::template_function(), CaloWaveformFitting::template_function(), CaloTemplateFit::template_function(), CaloWaveformSim::template_function(), CaloWaveFormSim::template_function_ihcal(), CaloWaveFormSim::template_function_ohcal(), PHG4EICMvtxSteppingAction::UserSteppingAction(), and PHG4MvtxSteppingAction::UserSteppingAction().

float v2

Definition at line 95 of file flowAfterburner.cc.

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

Referenced by testing::gmock_generated_actions_test::ACTION_TEMPLATE(), AddFlowToParent(), ana_starlight(), AssertPred2Helper(), Acts::Test::BOOST_AUTO_TEST_CASE(), calc_v2(), PHG4FullProjSpacalDetector::Construct_Fibers(), PHG4FullProjTiltedSpacalDetector::Construct_Fibers(), PHG4SpacalPrototype4Detector::Construct_Fibers_SameLengthFiberPerTower(), PHG4SpacalPrototypeDetector::Construct_Fibers_SameLengthFiberPerTower(), PHG4FullProjSpacalDetector::Construct_Fibers_SameLengthFiberPerTower(), PHG4FullProjTiltedSpacalDetector::Construct_Fibers_SameLengthFiberPerTower(), PHG4HcalDetector::ConstructMe(), PHG4InnerHcalDetector::ConstructSteelPlate(), PHG4OuterHcalDetector::ConstructSteelPlate(), Acts::Svg::SurfaceConverter::convert(), custom_vn(), AdSCFT::DoEnergyLoss(), KshortReconstruction::fillHistogram(), TrackResiduals::fillStatesWithLineFit(), KshortReconstruction::findPcaTwoTracks(), get_invmass_smeared(), HydroFromFile::GetEventPlaneAngle(), jjia_minbias_new(), jjia_minbias_new_v2only(), mg_http_handler(), PHG4ParticleGeneratorD0::process_event(), PHG4ParticleGeneratorVectorMeson::process_event(), Pi0MassAnalysis::process_event(), sPHAnalysis::process_event_hepmc(), pyreco(), quench(), Hydroinfo_MUSIC::readHydroData(), saveCorrections(), series(), TowerBackgroundv1::set_v2(), PHG4EICMvtxSteppingAction::UserSteppingAction(), and PHG4MvtxSteppingAction::UserSteppingAction().

float v5
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 testing::gmock_generated_actions_test::ACTION_TEMPLATE(), AddFlowToParent(), custom_vn(), jjia_minbias_new(), and jjia_minbias_new_v2only().