Commit 495a35c2 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

AnalysisDUT: add 2 more TProfiles: column/row width vs. row

parent c3c2f87a
......@@ -66,6 +66,22 @@ void AnalysisDUT::initialize() {
m_detector->nPixels().Y() - 0.5,
0,
100);
hClusterWidthColVsRowAssoc =
new TProfile("clusterWidthColVsRowAssoc",
"cluster column width vs. row for assoc clusters;cluster row;mean cluster column width",
m_detector->nPixels().Y(),
-0.5,
m_detector->nPixels().Y() - 0.5,
0,
100);
hClusterWidthRowVsRowAssoc =
new TProfile("clusterWidthRowVsRowAssoc",
"cluster row width vs. row for assoc clusters;cluster row;mean cluster row width",
m_detector->nPixels().Y(),
-0.5,
m_detector->nPixels().Y() - 0.5,
0,
100);
hClusterChargeMapAssoc = new TProfile2D("clusterChargeMapAssoc",
"Charge map for associated clusters; cluster charge [e]; #entries",
m_detector->nPixels().X(),
......@@ -588,6 +604,8 @@ StatusCode AnalysisDUT::run(const std::shared_ptr<Clipboard>& clipboard) {
assoc_cluster->column(), assoc_cluster->row(), static_cast<double>(assoc_cluster->size()));
hClusterSizeVsColAssoc->Fill(assoc_cluster->column(), static_cast<double>(assoc_cluster->size()));
hClusterSizeVsRowAssoc->Fill(assoc_cluster->row(), static_cast<double>(assoc_cluster->size()));
hClusterWidthColVsRowAssoc->Fill(assoc_cluster->row(), static_cast<double>(assoc_cluster->columnWidth()));
hClusterWidthRowVsRowAssoc->Fill(assoc_cluster->row(), static_cast<double>(assoc_cluster->rowWidth()));
// Cluster charge normalized to path length in sensor:
double norm = 1; // FIXME fabs(cos( turn*wt )) * fabs(cos( tilt*wt ));
......
......@@ -41,6 +41,7 @@ namespace corryvreckan {
TH2F *hClusterMapAssoc, *hHitMapAssoc;
TProfile2D *hClusterSizeMapAssoc, *hClusterChargeMapAssoc;
TProfile *hClusterSizeVsColAssoc, *hClusterSizeVsRowAssoc;
TProfile *hClusterWidthColVsRowAssoc, *hClusterWidthRowVsRowAssoc;
TProfile *hClusterChargeVsColAssoc, *hClusterChargeVsRowAssoc;
TProfile *hSeedChargeVsColAssoc, *hSeedChargeVsRowAssoc;
......
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