Commit 3d389553 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

AnalysisDUT: added histogram that when missing: hClusterChargeMapAssoc

parent 10bec322
......@@ -34,6 +34,16 @@ void AnalysisDUT::initialise() {
m_detector->nPixels().Y(),
0,
100);
hClusterChargeMapAssoc = new TProfile2D("clusterChargeMapAssoc",
"clusterSizeChargeAssoc",
m_detector->nPixels().X(),
0,
m_detector->nPixels().X(),
m_detector->nPixels().Y(),
0,
m_detector->nPixels().Y(),
0,
500);
// Per-pixel histograms
hHitMapAssoc = new TH2F("hitMapAssoc",
......@@ -301,6 +311,8 @@ StatusCode AnalysisDUT::run(std::shared_ptr<Clipboard> clipboard) {
// clusterChargeAssoc->Fill(normalized_charge);
clusterChargeAssoc->Fill(cluster->charge());
hClusterChargeMapAssoc->Fill(
m_detector->getColumn(clusterLocal), m_detector->getRow(clusterLocal), cluster->size());
// Fill per-pixel histograms
for(auto& pixel : (*cluster->pixels())) {
......
......@@ -28,7 +28,7 @@ namespace corryvreckan {
// Histograms
TH2F *hClusterMapAssoc, *hHitMapAssoc, *hHitMapROI;
TProfile2D* hClusterSizeMapAssoc;
TProfile2D *hClusterSizeMapAssoc, *hClusterChargeMapAssoc;
TH1F* hPixelRawValueAssoc;
TProfile2D* hPixelRawValueMapAssoc;
......
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