8 #ifndef __SQPRIMARYVERTEXGEN_H__
9 #define __SQPRIMARYVERTEXGEN_H__
13 #include <TGeoManager.h>
14 #include <TGeoMedium.h>
38 void traverse(TGeoNode* node,
double&xvertex,
double&yvertex,
double&zvertex);
52 double getPARatio() {
return interactables[index].protonPerc(); }
65 double accumulatedProbs[100];
68 std::vector<SQBeamlineObject> interactables;
void traverse(TGeoNode *node, double &xvertex, double &yvertex, double &zvertex)
void findInteractingPiece()
void InitRun(PHCompositeNode *topNode)
void generateVtxPerp(double &x, double &y)