26 #include <g4hough/SvtxVertexMap.h>
27 #include <g4hough/SvtxVertex.h>
28 #include <g4hough/SvtxTrackMap.h>
29 #include <g4hough/SvtxTrack.h>
30 #include <g4hough/SvtxClusterMap.h>
31 #include <g4hough/SvtxCluster.h>
32 #include <g4hough/SvtxHitMap.h>
33 #include <g4hough/SvtxHit.h>
56 _svtxevalstack( NULL )
60 _outfile =
"AnaSvtxTracksForGenFit.root";
74 _tracks =
new TTree(
"tracks",
"Svtx Tracks");
93 _tracks->Branch(
"x", &
x,
"x[nhits]/F");
94 _tracks->Branch(
"y", &
y,
"y[nhits]/F");
95 _tracks->Branch(
"z", &
z,
"z[nhits]/F");
166 iter != range.second;
201 unsigned int cluster_id = *iter;
202 SvtxCluster* cluster =
_clustermap->get(cluster_id);
203 unsigned int l = cluster->get_layer();
206 layer[iclus] = (int)l;
207 x[iclus] = cluster->get_x();
208 y[iclus] = cluster->get_y();
209 z[iclus] = cluster->get_z();
210 size_dphi[iclus] = cluster->get_phi_size();
211 size_dz[iclus] = cluster->get_z_size();
254 for (
int i = 0;
i < 7;
i++)
275 _truth_container = findNode::getClass<PHG4TruthInfoContainer>(topNode,
"G4TruthInfo");
279 <<
" PHG4TruthInfoContainer node not found on node tree"
284 _clustermap = findNode::getClass<SvtxClusterMap>(topNode,
"SvtxClusterMap");
288 <<
" SvtxClusterMap node not found on node tree"