Class CellHistogramMaker


class CellHistogramMaker
derived from Algorithm

Algorithm which makes debug histograms for Cells


Field Summary
 private std::vectorm_h_energy
          Energy histograms
 private std::vectorm_h_eta
          eta histograms
 private IHistogram1D *m_h_losteta
          lost particles Eta histogram
 private IHistogram1D *m_h_lostpdg
          lost particles pdg histogram
 private IHistogram1D *m_h_lostphi
          lost particles phi histogram
 private IHistogram1D *m_h_lostpt
          lost particles pT histogram
 private std::vectorm_h_multiplicity
           
 private IHistogram1D *m_h_partphi
          lost particles phi histogram
 private std::vectorm_h_phi
          phi histograms
 private std::vectorm_h_pt
          Pt histograms
 private std::vectorm_h_theta
          theta histograms
 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
CellHistogramMaker(const std::string & name, ISvcLocator * pSvcLocator)
          standard Athena-Algorithm constructor

Destructor Summary
~CellHistogramMaker()
          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_energy

private std::vector m_h_energy
Energy histograms

m_h_eta

private std::vector m_h_eta
eta histograms

m_h_losteta

private IHistogram1D * m_h_losteta
lost particles Eta histogram

m_h_lostpdg

private IHistogram1D * m_h_lostpdg
lost particles pdg histogram

m_h_lostphi

private IHistogram1D * m_h_lostphi
lost particles phi histogram

m_h_lostpt

private IHistogram1D * m_h_lostpt
lost particles pT histogram

m_h_multiplicity

private std::vector m_h_multiplicity

m_h_partphi

private IHistogram1D * m_h_partphi
lost particles phi histogram

m_h_phi

private std::vector m_h_phi
phi histograms

m_h_pt

private std::vector m_h_pt
Pt histograms

m_h_theta

private std::vector m_h_theta
theta histograms

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

CellHistogramMaker

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

~CellHistogramMaker

public ~CellHistogramMaker()
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.