diff --git a/Reconstruction/PFlow/PFlowValidation/PFOHistUtils/Changelog b/Reconstruction/PFlow/PFlowValidation/PFOHistUtils/Changelog index e58d5a398b14b06bc3a6967cafd0ebf6002334fc..6f82527914b0546f98979f2c43f3954c75eb631c 100644 --- a/Reconstruction/PFlow/PFlowValidation/PFOHistUtils/Changelog +++ b/Reconstruction/PFlow/PFlowValidation/PFOHistUtils/Changelog @@ -1,3 +1,7 @@ +18 February 2015 Mark Hodgkinson +Add CELL_SIG_SAMPLING plot for topoclusters +Tag as PFOHistUtils-00-00-09 + 4 November 2014 Mark Hodgkinson Add new PFOAttributes class Tag as PFOHistUtils-00-00-08 diff --git a/Reconstruction/PFlow/PFlowValidation/PFOHistUtils/PFOHistUtils/ClusterMomentPlots.h b/Reconstruction/PFlow/PFlowValidation/PFOHistUtils/PFOHistUtils/ClusterMomentPlots.h index fd0032e0e8f6720660e2237279a2969ae979e294..f76b3c03151408c2ce477a58474283ab3bc4ec52 100644 --- a/Reconstruction/PFlow/PFlowValidation/PFOHistUtils/PFOHistUtils/ClusterMomentPlots.h +++ b/Reconstruction/PFlow/PFlowValidation/PFOHistUtils/PFOHistUtils/ClusterMomentPlots.h @@ -34,6 +34,7 @@ namespace PFO { TH1* m_SIGNIFICANCE; TH1* m_AVG_LAR_Q; TH1* m_AVG_TILE_Q; + TH1* m_CELL_SIG_SAMPLING; void initializePlots(); std::string m_sClusterContainerName; diff --git a/Reconstruction/PFlow/PFlowValidation/PFOHistUtils/src/ClusterMomentPlots.cxx b/Reconstruction/PFlow/PFlowValidation/PFOHistUtils/src/ClusterMomentPlots.cxx index 7574db3a1529ad53d6065c3dabed9b24a2427b16..7416aa4191f85964a28b610d00c8e2ba4c9eb071 100644 --- a/Reconstruction/PFlow/PFlowValidation/PFOHistUtils/src/ClusterMomentPlots.cxx +++ b/Reconstruction/PFlow/PFlowValidation/PFOHistUtils/src/ClusterMomentPlots.cxx @@ -24,6 +24,7 @@ namespace PFO { 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_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 { if (true == gotMoment) m_AVG_TILE_Q->Fill(moment_AVG_TILE_Q); 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); + } }