EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#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>
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 |
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().
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().
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().
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().
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().
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().
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().
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().
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
flowAfterburnerAlgorithm algorithm |
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().
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 CharmJetGlobalTagger(), ClassImp(), PndMagnet::ConstructASCIIGeometry(), PndTarget::ConstructGeometry(), PndPipe::ConstructGeometry(), FairMCApplication::ConstructOpGeometry(), PndGeoPipe::create(), FairRunSim::Init(), and StrangeJetClassification().
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 v2 |
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(), Acts::Test::BOOST_AUTO_TEST_CASE(), calc_v2(), tetgenmesh::calculateabovepoint(), FairGeoTrd1::calcVoluParam(), FairGeoSphe::calcVoluParam(), tetgenmesh::checkseg4encroach(), FairGeoNode::compare(), PHG4FullProjSpacalDetector::Construct_Fibers(), PHG4FullProjTiltedSpacalDetector::Construct_Fibers(), PHG4FullProjSpacalDetector::Construct_Fibers_SameLengthFiberPerTower(), PHG4FullProjTiltedSpacalDetector::Construct_Fibers_SameLengthFiberPerTower(), PHG4HcalDetector::ConstructMe(), PHG4InnerHcalDetector::ConstructSteelPlate(), PHG4OuterHcalDetector::ConstructSteelPlate(), EicStlMediaGroup::CoupleFacetToAssembly(), EtmLine2D::Cross(), custom_vn(), dcross(), EicStlFacetEdge::EicStlFacetEdge(), tetgenmesh::facenormal(), tetgenmesh::incrementaldelaunay(), tetgenmesh::interiorangle(), jjia_minbias_new(), jjia_minbias_new_v2only(), EicStlFactory::PreAllocateFacet(), PHG4ParticleGeneratorD0::process_event(), PHG4ParticleGeneratorVectorMeson::process_event(), tetgenmesh::projpt2edge(), pyreco(), quench(), riwfun(), TowerBackgroundv1::set_v2(), tetgenmesh::shortdistance(), tetgenmesh::suppressbdrysteinerpoint(), PHG4EICMvtxSteppingAction::UserSteppingAction(), and PHG4MvtxSteppingAction::UserSteppingAction().
float v3 |
Definition at line 95 of file flowAfterburner.cc.
View newest version in sPHENIX GitHub at line 95 of file flowAfterburner.cc
Referenced by AddFlowToParent(), FairGeoTubs::calcVoluParam(), FairGeoTrd1::calcVoluParam(), FairGeoCone::calcVoluParam(), FairGeoCons::calcVoluParam(), PHG4HcalDetector::ConstructMe(), PHG4InnerHcalDetector::ConstructSteelPlate(), PHG4OuterHcalDetector::ConstructSteelPlate(), custom_vn(), tetgenmesh::facenormal(), incircleadapt(), jjia_minbias_new(), jjia_minbias_new_v2only(), largeintersection(), EicStlFactory::PreAllocateFacet(), FairGeanePro::PropagateToPlane(), quench(), PHG4MvtxSteppingAction::UserSteppingAction(), PHG4EICMvtxSteppingAction::UserSteppingAction(), and yunion().
float v4 |
Definition at line 95 of file flowAfterburner.cc.
View newest version in sPHENIX GitHub at line 95 of file flowAfterburner.cc
Referenced by AddFlowToParent(), FairGeoTrd1::calcVoluParam(), FairGeoCons::calcVoluParam(), FairGeoTrd1::calcVoluPosition(), PHG4HcalDetector::ConstructMe(), PHG4InnerHcalDetector::ConstructSteelPlate(), PHG4OuterHcalDetector::ConstructSteelPlate(), custom_vn(), jjia_minbias_new(), and jjia_minbias_new_v2only().
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().