Commit 168bdd76 authored by Daniel Hynds's avatar Daniel Hynds
Browse files

stopped error when no input given


Former-commit-id: bf8f6b17a0d45d18865c15fe0994c002b5d7f2ae
parent 61a798d2
......@@ -54,6 +54,9 @@ int BasicTracking::run(Clipboard* clipboard){
}
// If there are no detectors then stop trying to track
if(detectors.size() == 0) return 0;
// Use the first plane as a seeding plane. For something quick, look a cluster in < 100 ns in the next plane, and continue
string reference = parameters->reference;
map<Timepix3Cluster*, bool> used;
......
......@@ -94,7 +94,7 @@ void Analysis::finaliseAll(){
// Display timing statistics for each algorithm, over all events and per event
void Analysis::timing()
{
cout << "===============| Wall-clock timing (seconds) |================" << endl;
cout << endl << "===============| Wall-clock timing (seconds) |================" << endl;
for (int algorithmNumber = 0; algorithmNumber<m_algorithms.size();algorithmNumber++) {
cout.width(25);
cout<<m_algorithms[algorithmNumber]->getName()<<" -- ";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment