ECCE @ 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 a, d, d2, 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(), d, dx, dy, dz, dzdl, e, INPUTHEPMC::filename, int(), intersect_circles(), k, G4TTL::layer, ofile, phi, print_usage(), tanphi, temp1, temp2, track, ux, uy, v, x, y, z, and G4InuclParticleNames::z0.

+ 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: