Commit 2bf8e72c authored by Manuel Colocci's avatar Manuel Colocci
Browse files

Histo for more pixels fired added

parent 92611c37
......@@ -52,6 +52,7 @@ Corryvreckan has been developed and is maintained by
The following authors, in alphabetical order, have contributed to Corryvreckan:
* Matthew Daniel Buckland, University of Liverpool, @mbucklan
* Manuel Colocci, CERN, @mcolocci
* Dominik Dannheim, CERN, @dannheim
* Katharina Dort, University of Giessen/CERN, @kdort
* Alexander Ferk, CERN, @aferk
......
......@@ -118,6 +118,18 @@ void AnalysisDUT::initialize() {
new TH1F("residualsX2pix", "Residual for 2-pixel clusters in X;x_{track}-x_{hit} [mm];# entries", 800, -0.1, 0.1);
residualsY2pix =
new TH1F("residualsY2pix", "Residual for 2-pixel clusters in Y;y_{track}-y_{hit} [mm];# entries", 800, -0.1, 0.1);
residualsX3pix =
new TH1F("residualsX3pix", "Residual for 3-pixel clusters in X;x_{track}-x_{hit} [mm];# entries", 800, -0.1, 0.1);
residualsY3pix =
new TH1F("residualsY3pix", "Residual for 3-pixel clusters in Y;y_{track}-y_{hit} [mm];# entries", 800, -0.1, 0.1);
residualsX4pix =
new TH1F("residualsX4pix", "Residual for 4-pixel clusters in X;x_{track}-x_{hit} [mm];# entries", 800, -0.1, 0.1);
residualsY4pix =
new TH1F("residualsY4pix", "Residual for 4-pixel clusters in Y;y_{track}-y_{hit} [mm];# entries", 800, -0.1, 0.1);
residualsXatLeast5pix = new TH1F(
"residualsXatLeast5pix", "Residual for >= 5-pixel clusters in X;x_{track}-x_{hit} [mm];# entries", 800, -0.1, 0.1);
residualsYatLeast5pix = new TH1F(
"residualsYatLeast5pix", "Residual for >= 5-pixel clusters in Y;y_{track}-y_{hit} [mm];# entries", 800, -0.1, 0.1);
clusterChargeAssoc = new TH1F("clusterChargeAssociated",
"Charge distribution of associated clusters;cluster charge [e];# entries",
......@@ -331,9 +343,9 @@ void AnalysisDUT::initialize() {
hAssociatedTracksGlobalPosition =
new TH2F("hAssociatedTracksGlobalPosition",
"Map of associated track positions (global);global intercept x [mm];global intercept y [mm]",
200,
-10,
10,
400,
-20,
20,
200,
-10,
10);
......@@ -499,6 +511,27 @@ StatusCode AnalysisDUT::run(const std::shared_ptr<Clipboard>& clipboard) {
residualsY2pix->Fill(ydistance);
}
if(assoc_cluster->columnWidth() == 3) {
residualsX3pix->Fill(xdistance);
}
if(assoc_cluster->rowWidth() == 3) {
residualsY3pix->Fill(ydistance);
}
if(assoc_cluster->columnWidth() == 4) {
residualsX4pix->Fill(xdistance);
}
if(assoc_cluster->rowWidth() == 4) {
residualsY4pix->Fill(ydistance);
}
if(assoc_cluster->columnWidth() >= 5) {
residualsXatLeast5pix->Fill(xdistance);
}
if(assoc_cluster->rowWidth() >= 5) {
residualsYatLeast5pix->Fill(ydistance);
}
// Time residuals
residualsTime->Fill(tdistance);
residualsTimeVsTime->Fill(tdistance, track->timestamp());
......
......@@ -49,6 +49,9 @@ namespace corryvreckan {
TH1F *residualsX1pix, *residualsY1pix;
TH1F *residualsX2pix, *residualsY2pix;
TH1F *residualsX3pix, *residualsY3pix;
TH1F *residualsX4pix, *residualsY4pix;
TH1F *residualsXatLeast5pix, *residualsYatLeast5pix;
TH1F* clusterChargeAssoc;
TH1F* clusterSizeAssoc;
......
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