ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#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>
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) |
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 b, g4zmq::exit(), n, PHWHERE, ploss(), and pwithpF().
Referenced by FermimotionAfterburner::AddpF().
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().
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 e, M_PI, phi, CLHEP::HepLorentzVector::px(), CLHEP::HepLorentzVector::py(), and CLHEP::HepLorentzVector::pz().
Referenced by FermiMotion().