Skip to content
Snippets Groups Projects

Track Finding: Number of proto-tracks

Merged Whitney Armstrong requested to merge finder_test into master
2 files
+ 39
34
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -5,7 +5,7 @@
#include "TProfile.h"
#include <iostream>
R__LOAD_LIBRARY(libJugBase.so)
R__LOAD_LIBRARY(libeicd.so)
R__LOAD_LIBRARY(libDD4pod.so)
#include "dd4pod/Geant4ParticleCollection.h"
@@ -77,6 +77,9 @@ auto delta_p_over_p = [](const std::vector<double>& tracks, const std::vector<do
}
return res;
};
//gInterpreter->GenerateDictionary("vector<vector<float> >", "vector")
//gInterpreter->GenerateDictionary("vector<unsigned long>", "vector")
//gInterpreter->GenerateDictionary("vector<vector<unsigned long> >", "vector")
int rec_multiple_tracks(const char* fname = "topside/rec_multiple_tracks.root")
{
@@ -109,7 +112,7 @@ int rec_multiple_tracks(const char* fname = "topside/rec_multiple_tracks.root")
auto h_delta_p0 = df0.Histo1D({"h_delta_p0", "Truth Track Init; GeV/c ", 100, -10, 10}, "delta_p0");
auto h_nProtoTracks = df0.Histo1D({"h_nProtoTracks", "; n ", 10, 0, 10}, "nProto");
auto h_nProtoTracks2 = df0.Histo1D({"h_nProtoTracks2", "; n ", 10, 0, 10}, "nProtoTrakcs");
auto h_nProtoTracks2 = df0.Histo1D({"h_nProtoTracks2", "; n ", 10, 0, 10}, "nProtoTracks");
auto h_nThrown = df0.Histo1D({"h_nThrown", "; n ", 10, 0, 10}, "nThrown");
auto h_delta_p0_over_p = df0.Histo1D({"h_delta_p0_over_p", "Truth Track Init; delta p/p ", 100, -0.1, 0.1}, "delta_p_over_p0");
Loading