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

added histograms of associated cluster size and tot

parent a02e4018
......@@ -19,6 +19,9 @@ void DUTAnalysis::initialise() {
associatedTracksVersusTime = new TH1F("associatedTracksVersusTime", "associatedTracksVersusTime", 300000, 0, 300);
residualsX = new TH1F("residualsX", "residualsX", 400, -0.2, 0.2);
residualsY = new TH1F("residualsY", "residualsY", 400, -0.2, 0.2);
clusterTotAssociated = new TH1F("clusterTotAssociated","clusterTotAssociated",250,0,10000);
clusterSizeAssociated = new TH1F("clusterSizeAssociated","clusterSizeAssociated",30,0,30);
residualsTime = new TH1F("residualsTime", "residualsTime", 2000, -0.000001, 0.000001);
hTrackCorrelationX = new TH1F("hTrackCorrelationX", "hTrackCorrelationX", 4000, -10., 10.);
......@@ -229,6 +232,8 @@ StatusCode DUTAnalysis::run(Clipboard* clipboard) {
associatedTracksVersusTime->Fill((double)track->timestamp() / (4096. * 40000000.));
residualsX->Fill(xdistance);
residualsY->Fill(ydistance);
clusterTotAssociated->Fill(cluster->tot());
clusterSizeAssociated->Fill(cluster->size());
track->addAssociatedCluster(cluster);
m_nAlignmentClusters++;
hAssociatedTracksGlobalPosition->Fill(globalIntercept.X(), globalIntercept.Y());
......
......@@ -25,6 +25,8 @@ namespace corryvreckan {
TH1F* associatedTracksVersusTime;
TH1F* residualsX;
TH1F* residualsY;
TH1F* clusterTotAssociated;
TH1F* clusterSizeAssociated;
TH1F* hTrackCorrelationX;
TH1F* hTrackCorrelationY;
TH1F* hTrackCorrelationTime;
......
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