Commit 22a3f150 authored by Daniel Hynds's avatar Daniel Hynds
Browse files

updated steering file for ntuple generation


Former-commit-id: f25b7792f893130d7cf3646f13b20136f22c8880
parent 5c8f6343
......@@ -15,13 +15,19 @@
// Algorithm list
#include "TestAlgorithm.h"
#include "Timepix3EventLoader.h"
#include "Timepix1EventLoader.h"
#include "Timepix3Clustering.h"
#include "Timepix1Clustering.h"
#include "Timepix3MaskCreator.h"
#include "BasicTracking.h"
#include "SpatialTracking.h"
#include "Alignment.h"
#include "EventDisplay.h"
#include "GUI.h"
#include "DUTAnalysis.h"
#include "FileWriter.h"
#include "FileReader.h"
#include "Timepix1Correlator.h"
//-------------------------------------------------------------------------------
// The Steering is effectively the executable. It reads command line
......@@ -53,22 +59,32 @@ int main(int argc, char *argv[]) {
// Algorithm list
Timepix3EventLoader* tpix3EventLoader = new Timepix3EventLoader(debug);
Timepix1EventLoader* tpix1EventLoader = new Timepix1EventLoader(debug);
Timepix3Clustering* tpix3Clustering = new Timepix3Clustering(debug);
Timepix1Clustering* tpix1Clustering = new Timepix1Clustering(debug);
TestAlgorithm* testAlgorithm = new TestAlgorithm(debug);
Timepix3MaskCreator* tpix3MaskCreator = new Timepix3MaskCreator(debug);
BasicTracking* basicTracking = new BasicTracking(debug);
SpatialTracking* spatialTracking = new SpatialTracking(debug);
Alignment* alignment = new Alignment(debug);
EventDisplay* eventDisplay = new EventDisplay(debug);
GUI* gui = new GUI(debug);
DUTAnalysis* dutAnalysis = new DUTAnalysis(debug);
FileWriter* fileWriter = new FileWriter(debug);
FileReader* fileReader = new FileReader(debug);
Timepix1Correlator* correlator = new Timepix1Correlator(debug);
// =========================================================================
// Steering file begins
// =========================================================================
// General parameters
parameters->reference = "W0013_G03";
parameters->DUT = "W0019_L08";
// parameters->reference = "W0013_G03";
// parameters->DUT = "W0019_L08";
// parameters->DUT = "W0019_F07";
parameters->reference = "Mim-osa03";
parameters->DUT = "CLi-CPix";
parameters->detectorToAlign = parameters->DUT;
parameters->excludedFromTracking["W0005_E02"] = true;
......@@ -79,6 +95,7 @@ int main(int argc, char *argv[]) {
parameters->excludedFromTracking["W0019_L08"] = true;
parameters->excludedFromTracking["W0005_H03"] = true;
spatialTracking->debug = true;
// =========================================================================
// Steering file ends
// =========================================================================
......@@ -91,11 +108,17 @@ int main(int argc, char *argv[]) {
// Initialise the analysis object and add algorithms to run
analysis = new Analysis(parameters);
analysis->add(tpix3EventLoader);
analysis->add(tpix3Clustering);
analysis->add(testAlgorithm);
analysis->add(basicTracking);
analysis->add(dutAnalysis);
analysis->add(tpix1EventLoader);
analysis->add(fileWriter);
// analysis->add(fileReader);
// analysis->add(tpix1Clustering);
// analysis->add(spatialTracking);
// analysis->add(correlator);
// analysis->add(tpix3EventLoader);
// analysis->add(tpix3Clustering);
// analysis->add(testAlgorithm);
// analysis->add(basicTracking);
// analysis->add(dutAnalysis);
if(parameters->align) analysis->add(alignment);
if(parameters->produceMask) analysis->add(tpix3MaskCreator);
......
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