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

Go to the source code of this file.

Functions

double ploss (double b)
 
CLHEP::HepLorentzVector pwithpF (CLHEP::HepLorentzVector p, gsl_rng *RandomGenerator, int id)
 
int FermiMotion (HepMC::GenEvent *event, gsl_rng *RandomGenerator)
 

Function Documentation

int FermiMotion ( HepMC::GenEvent *  event,
gsl_rng *  RandomGenerator 
)

Definition at line 82 of file FermiMotion.cc.

View newest version in sPHENIX GitHub at line 82 of file FermiMotion.cc

References exit(), n, p, PHWHERE, ploss(), and pwithpF().

Referenced by FermimotionAfterburner::AddpF().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

double ploss ( double  b)

Definition at line 36 of file FermiMotion.cc.

View newest version in sPHENIX GitHub at line 36 of file FermiMotion.cc

Referenced by FermiMotion().

+ Here is the caller graph for this function:

CLHEP::HepLorentzVector pwithpF ( CLHEP::HepLorentzVector  p,
gsl_rng *  RandomGenerator,
int  id 
)

Definition at line 51 of file FermiMotion.cc.

View newest version in sPHENIX GitHub at line 51 of file FermiMotion.cc

References cos(), Acts::UnitConstants::e, M_PI, p, and phi.

Referenced by FermiMotion().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: