Class CellHistogramMaker2


class CellHistogramMaker2
derived from Algorithm

Algorithm which makes debug histograms for Cells


Field Summary
 private IHistogram1D *m_h_etacell
          cell eta histogram
 private IHistogram1D *m_h_etadiff
          dEta histogram
 private IHistogram1D *m_h_etadiff_Bar
          barrel dEta histogram
 private IHistogram1D *m_h_etadiff_negEC
          negative endcap dEta histogram
 private IHistogram1D *m_h_etadiff_posEC
          positive endcap dEta histogram
 private IHistogram1D *m_h_etapart
          particle eta histogram
 private IHistogram1D *m_h_phicell
          cell phi histogram
 private IHistogram1D *m_h_phidiff_Bar
          barrel dPhi histogram
 private IHistogram1D *m_h_phidiff_negEC
          negative endcap dPhi histogram
 private IHistogram1D *m_h_phidiff_posEC
          positive endcap dPhi histogram
 private IHistogram1D *m_h_phipart
          particle phi histogram
 private intm_histStart
          histogram numbers, start at ...
 private std::stringm_histTitle
          prefix for histogram titles
 private std::stringm_inputLocation
          TES location of entities for histogramming
 private std::stringm_mcTruthLocation
          TES location of entities for histogramming
 private intm_nHist
          current histogram count
 private intm_particleType
          particle type to look at

Constructor Summary
CellHistogramMaker2(const std::string & name, ISvcLocator * pSvcLocator)
          Standard Athena-Algorithm constructor

Destructor Summary
~CellHistogramMaker2()
          Default Destructor

Method Summary
 private voidbook(std::vector & start, const std::string title, const int nbins, const double xmin, double xmax)
          Books histograms using Athena's histogram service.
 StatusCodeexecute()
          standard Athena-Algorithm method
 private voidfill(std::vector & start, const double rec, const double tru)
          Fills histograms with Cell attributes.
 StatusCodefinalize()
          standard Athena-Algorithm method
 StatusCodeinitialize()
          standard Athena-Algorithm method
 private voidsbook(const std::string title, const int nbins, const double xmin, double xmax)
          Books histograms using Athena's histogram service.
 private voidsfill(const double rec)
          Fills histograms with Cell attributes.

Field Detail

m_h_etacell

private IHistogram1D * m_h_etacell
cell eta histogram

m_h_etadiff

private IHistogram1D * m_h_etadiff
dEta histogram

m_h_etadiff_Bar

private IHistogram1D * m_h_etadiff_Bar
barrel dEta histogram

m_h_etadiff_negEC

private IHistogram1D * m_h_etadiff_negEC
negative endcap dEta histogram

m_h_etadiff_posEC

private IHistogram1D * m_h_etadiff_posEC
positive endcap dEta histogram

m_h_etapart

private IHistogram1D * m_h_etapart
particle eta histogram

m_h_phicell

private IHistogram1D * m_h_phicell
cell phi histogram

m_h_phidiff_Bar

private IHistogram1D * m_h_phidiff_Bar
barrel dPhi histogram

m_h_phidiff_negEC

private IHistogram1D * m_h_phidiff_negEC
negative endcap dPhi histogram

m_h_phidiff_posEC

private IHistogram1D * m_h_phidiff_posEC
positive endcap dPhi histogram

m_h_phipart

private IHistogram1D * m_h_phipart
particle phi histogram

m_histStart

private int m_histStart
histogram numbers, start at ...

m_histTitle

private std::string m_histTitle
prefix for histogram titles

m_inputLocation

private std::string m_inputLocation
TES location of entities for histogramming

m_mcTruthLocation

private std::string m_mcTruthLocation
TES location of entities for histogramming

m_nHist

private int m_nHist
current histogram count

m_particleType

private int m_particleType
particle type to look at
Constructor Detail

CellHistogramMaker2

public CellHistogramMaker2(const std::string & name, ISvcLocator * pSvcLocator)
Standard Athena-Algorithm constructor
Method Detail

~CellHistogramMaker2

public ~CellHistogramMaker2()
Default Destructor
Method Detail

book

private void book(std::vector & start, const std::string title, const int nbins, const double xmin, double xmax)
Books histograms using Athena's histogram service.

execute

public StatusCode execute()
standard Athena-Algorithm method

fill

private void fill(std::vector & start, const double rec, const double tru)
Fills histograms with Cell attributes.

finalize

public StatusCode finalize()
standard Athena-Algorithm method

initialize

public StatusCode initialize()
standard Athena-Algorithm method

sbook

private void sbook(const std::string title, const int nbins, const double xmin, double xmax)
Books histograms using Athena's histogram service.

sfill

private void sfill(const double rec)
Fills histograms with Cell attributes.