Commit fbf88d48 authored by Daniel Hynds's avatar Daniel Hynds
Browse files

added compatibility for CLICpix


Former-commit-id: 28546185751f492eba59786facd1bfc920c85830
parent 96d32d40
......@@ -24,7 +24,7 @@ void Timepix1Clustering::initialise(Parameters* par){
// Check if they are a Timepix1
string detectorID = parameters->detectors[det];
if(parameters->detector[detectorID]->type() != "Timepix1") continue;
if(parameters->detector[detectorID]->type() != "Timepix1" && parameters->detector[detectorID]->type() != "CLICpix") continue;
}
......@@ -39,7 +39,8 @@ StatusCode Timepix1Clustering::run(Clipboard* clipboard){
// Check if they are a Timepix1
string detectorID = parameters->detectors[det];
if(parameters->detector[detectorID]->type() != "Timepix1") continue;
if(parameters->detector[detectorID]->type() != "Timepix1" &&
parameters->detector[detectorID]->type() != "CLICpix") continue;
// Get the pixels
Pixels* pixels = (Pixels*)clipboard->get(detectorID,"pixels");
......
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