EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <math.h>
#include "TFile.h"
#include "TTree.h"
#include "TRandom3.h"
#include <sstream>
#include <iostream>
#include <vector>
Go to the source code of this file.
Functions | |
bool | intersect_circles (bool hel, double startx, double starty, double rad_det, double rad_trk, double cx, double cy, double &x, double &y) |
void | print_usage () |
int | main (int argc, char **argv) |
bool intersect_circles | ( | bool | hel, |
double | startx, | ||
double | starty, | ||
double | rad_det, | ||
double | rad_trk, | ||
double | cx, | ||
double | cy, | ||
double & | x, | ||
double & | y | ||
) |
Definition at line 27 of file circlegen.cpp.
View newest version in sPHENIX GitHub at line 27 of file circlegen.cpp
References d, Acts::UnitConstants::h, r2, ux, and uy.
Referenced by main().
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 83 of file circlegen.cpp.
View newest version in sPHENIX GitHub at line 83 of file circlegen.cpp
References charge, Acts::VectorHelpers::cross(), d, dx, dy, dz, dzdl, Acts::UnitConstants::e, INPUTHEPMC::filename, intersect_circles(), k, G4TTL::layer, nevents, phi, print_usage(), rand, Acts::UnitConstants::s, tanphi, temp1, temp2, ux, uy, v, x, y, and z.
void print_usage | ( | ) |
Definition at line 77 of file circlegen.cpp.
View newest version in sPHENIX GitHub at line 77 of file circlegen.cpp
Referenced by main().