Commit ba855951 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

AnalysisDUT: add 2D plot time residuals vs. ToT to show timewalk

parent f7f380b7
Pipeline #1726296 failed with stages
in 7 minutes and 56 seconds
......@@ -273,6 +273,16 @@ void AnalysisDUT::initialise() {
1000,
-1000,
+1000);
residualsTimeVsTot = new TH2F("residualsTimeVsTot",
"residualsTimeVsTot; seed pixel ToT [lsb];ts_{track} - ts_{assoc. cluster} [ns]",
20000,
-5000,
5000,
64,
0,
64);
residualsTimeVsSignal = new TH2F("residualsTimeVsSignal",
"residualsTimeVsSignal;cluster charge [e];time_{track}-time_{hit} [mm];# entries",
20000,
......@@ -460,6 +470,7 @@ StatusCode AnalysisDUT::run(std::shared_ptr<Clipboard> clipboard) {
// Time residuals
residualsTime->Fill(tdistance);
residualsTimeVsTime->Fill(tdistance, track->timestamp());
residualsTimeVsTot->Fill(tdistance, assoc_cluster->getSeedPixel()->raw());
residualsTimeVsSignal->Fill(tdistance, cluster_charge);
clusterSizeAssoc->Fill(static_cast<double>(assoc_cluster->size()));
......
......@@ -69,6 +69,7 @@ namespace corryvreckan {
TH2F* hTrackCorrelationPosVsCorrelationTime;
TH1F* hTrackCorrelationTime;
TH1F* residualsTime;
TH2F* residualsTimeVsTot;
TH2F* residualsTimeVsTime;
TH2F* residualsTimeVsSignal;
......
Markdown is supported
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