Commit 96d32d40 authored by Daniel Hynds's avatar Daniel Hynds
Browse files

added flag for timepix3 telescope running (no repeated frames)


Former-commit-id: 03500e85925385c328c5cc427905d2429be9e410
parent 9935e416
......@@ -8,6 +8,7 @@ ClicpixAnalysis::ClicpixAnalysis(bool debugging)
debug = debugging;
m_associationCut = 0.1; // 100 um
m_proximityCut = 0.125; // 125 um
timepix3Telescope = false;
}
......@@ -135,7 +136,7 @@ StatusCode ClicpixAnalysis::run(Clipboard* clipboard){
}
// If this is the first or last trigger don't use the data
if( m_triggerNumber == 0 || m_triggerNumber == 19){
if( (m_triggerNumber == 0 || m_triggerNumber == 19) && !timepix3Telescope){
m_eventNumber++;
m_triggerNumber++;
return Success;
......
......@@ -115,6 +115,7 @@ public:
double m_associationCut;
double m_proximityCut;
double m_lostHits;
bool timepix3Telescope;
};
......
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