EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
circlegen.cpp File Reference
#include <math.h>
#include "TFile.h"
#include "TTree.h"
#include "TRandom3.h"
#include <sstream>
#include <iostream>
#include <vector>
+ Include dependency graph for circlegen.cpp:

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)
 

Function Documentation

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

+ Here is the caller graph for this function:

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.

+ Here is the call graph for this function:

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

+ Here is the caller graph for this function: