Skip to content
Snippets Groups Projects
Commit a666f7a6 authored by Mark Hodgkinson's avatar Mark Hodgkinson Committed by Graeme Stewart
Browse files

18 February 2015 Mark Hodgkinson

Add CELL_SIG_SAMPLING plot for topoclusters
Tag as PFOHistUtils-00-00-09 (PFOHistUtils-00-00-09)
parent b08b6e7b
No related merge requests found
18 February 2015 Mark Hodgkinson
Add CELL_SIG_SAMPLING plot for topoclusters
Tag as PFOHistUtils-00-00-09
4 November 2014 Mark Hodgkinson 4 November 2014 Mark Hodgkinson
Add new PFOAttributes class Add new PFOAttributes class
Tag as PFOHistUtils-00-00-08 Tag as PFOHistUtils-00-00-08
......
...@@ -34,6 +34,7 @@ namespace PFO { ...@@ -34,6 +34,7 @@ namespace PFO {
TH1* m_SIGNIFICANCE; TH1* m_SIGNIFICANCE;
TH1* m_AVG_LAR_Q; TH1* m_AVG_LAR_Q;
TH1* m_AVG_TILE_Q; TH1* m_AVG_TILE_Q;
TH1* m_CELL_SIG_SAMPLING;
void initializePlots(); void initializePlots();
std::string m_sClusterContainerName; std::string m_sClusterContainerName;
......
...@@ -24,6 +24,7 @@ namespace PFO { ...@@ -24,6 +24,7 @@ namespace PFO {
m_SIGNIFICANCE = Book1D("PFO_SIGNIFICANCE",m_sClusterContainerName + "_SIGNIFICANCE",300,-20.0,20.0); m_SIGNIFICANCE = Book1D("PFO_SIGNIFICANCE",m_sClusterContainerName + "_SIGNIFICANCE",300,-20.0,20.0);
m_AVG_LAR_Q = Book1D("PFO_AVG_LAR_Q",m_sClusterContainerName + "_AVG_LAR_Q",240,-1.0,200.0); m_AVG_LAR_Q = Book1D("PFO_AVG_LAR_Q",m_sClusterContainerName + "_AVG_LAR_Q",240,-1.0,200.0);
m_AVG_TILE_Q = Book1D("PFO_AVG_TILE_Q",m_sClusterContainerName + "_AVG_TILE_Q",240,-1.0,200.0); m_AVG_TILE_Q = Book1D("PFO_AVG_TILE_Q",m_sClusterContainerName + "_AVG_TILE_Q",240,-1.0,200.0);
m_CELL_SIG_SAMPLING = Book1D("PFO_CELL_SIG_SAMPLING",m_sClusterContainerName + "_CELL_SIG_SAMPLING",31,-1.0,30);
} }
...@@ -99,6 +100,11 @@ namespace PFO { ...@@ -99,6 +100,11 @@ namespace PFO {
if (true == gotMoment) m_AVG_TILE_Q->Fill(moment_AVG_TILE_Q); if (true == gotMoment) m_AVG_TILE_Q->Fill(moment_AVG_TILE_Q);
else m_AVG_TILE_Q->Fill(-1.0); else m_AVG_TILE_Q->Fill(-1.0);
double moment_CELL_SIG_SAMPLING = 0;
gotMoment = cluster.retrieveMoment(xAOD::CaloCluster::CELL_SIG_SAMPLING,moment_CELL_SIG_SAMPLING);
if (true == gotMoment) m_CELL_SIG_SAMPLING->Fill(moment_CELL_SIG_SAMPLING);
else m_CELL_SIG_SAMPLING->Fill(-1.0);
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment