Commit c1ad382d authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Merge branch 'analysis_dut_binning' into 'master'

Extend + improve AnalysisDUT

See merge request !411
parents cc8d673a a75e9266
Pipeline #2539249 passed with stages
in 22 minutes and 20 seconds
This diff is collapsed.
......@@ -14,6 +14,7 @@
#include <TCanvas.h>
#include <TH1F.h>
#include <TH2F.h>
#include <TProfile.h>
#include <TProfile2D.h>
#include <iostream>
#include "core/module/Module.hpp"
......@@ -39,6 +40,9 @@ namespace corryvreckan {
// Histograms
TH2F *hClusterMapAssoc, *hHitMapAssoc;
TProfile2D *hClusterSizeMapAssoc, *hClusterChargeMapAssoc;
TProfile *hClusterSizeVsColAssoc, *hClusterSizeVsRowAssoc;
TProfile *hClusterChargeVsColAssoc, *hClusterChargeVsRowAssoc;
TProfile *hSeedChargeVsColAssoc, *hSeedChargeVsRowAssoc;
TH1F* hPixelRawValueAssoc;
TProfile2D* hPixelRawValueMapAssoc;
......@@ -54,6 +58,7 @@ namespace corryvreckan {
TH1F *residualsXatLeast5pix, *residualsYatLeast5pix;
TH1F* clusterChargeAssoc;
TH1F* seedChargeAssoc;
TH1F* clusterSizeAssoc;
TH1F* clusterSizeAssocNorm;
TH1F* clusterWidthRowAssoc;
......@@ -74,16 +79,27 @@ namespace corryvreckan {
TH1F* hTrackZPosDUT;
TH1F* residualsTime;
TH2F* residualsTimeVsTot;
TH2F* residualsTimeVsCol;
TH2F* residualsTimeVsRow;
TH2F* residualsTimeVsTime;
TH2F* residualsTimeVsSignal;
TH2F* hAssociatedTracksGlobalPosition;
TH2F* hAssociatedTracksLocalPosition;
TH2F* hUnassociatedTracksGlobalPosition;
TH1F* pxTimeMinusSeedTime;
TH2F* pxTimeMinusSeedTime_vs_pxCharge;
TH2F* pxTimeMinusSeedTime_vs_pxCharge_2px;
TH2F* pxTimeMinusSeedTime_vs_pxCharge_3px;
TH2F* pxTimeMinusSeedTime_vs_pxCharge_4px;
// Member variables
double m_timeCutFrameEdge;
double chi2ndofCut;
bool useClosestCluster;
int num_tracks;
double time_cut_frameedge_;
double chi2_ndof_cut_;
bool use_closest_cluster_;
int n_timebins_;
double time_binning_;
int num_tracks_;
} // namespace corryvreckan
......@@ -12,6 +12,8 @@ If a region of interest (ROI) is defined for the detector under investigation, o
* `time_cut_frameedge`: Parameter to discard telescope tracks at the frame edges (start and end of the current CLICpix2 frame). Defaults to `20ns`.
* `chi2ndof_cut`: Acceptance criterion for the maximum telescope tracks chi2/ndf, defaults to a value of `3`.
* `use_closest_cluster`: If `true` the cluster with the smallest distance to the track is used if a track has more than one associated cluster. If `false`, loop over all associated clusters. Defaults to `true`.
* `n_time_bins`: Number of bins in the time residual histograms. Defaults to `20000`.
* `time_binning`: Bin width in the time residual histograms. Defaults to `0.1ns`.
### Plots produced
......@@ -26,6 +28,7 @@ For the DUT, the following plots are produced:
* Histograms of the cluster size of associated clusters in X/Y
* Histogram of the charge/raw values of associated clusters
* Various histograms for track residuals for different cluster sizes
* Histograms of pixel timestamp minus seed pixel timestamp for different cluster sizes
### Usage
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