Class ExampleAnalysis


class ExampleAnalysis
derived from Algorithm

This is an example Algorithm designed to show new users of Athena/Atlfast how to access and use Atlfast objects from the TES.


Field Summary
 private std::stringm_cellLocation
          location within the TES to find collections of Atlfast output objects
 private std::stringm_clusterLocation
          location within the TES to find collections of Atlfast output objects
 private IHistogram2D *m_hist_cellFlow
          2-D histograms for energy flow.
 private IHistogram2D *m_hist_clusterFlow
           
 private IHistogram1D *m_hist_isolation
          A histogram for isolation energy.
 private IHistogram1D *m_hist_pT
          A histogram for pT
 private intm_histStart
          Number to start histograms at
 private KinematicHelperm_kinehelp
          helper class for oft used kinematic operations
 private std::stringm_particleLocation
          location within the TES to find collections of Atlfast output objects
 private doublem_rCellIsolation
          used to define the cone to sum energy within for checking on isolation of particles

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

Destructor Summary
 virtual ~ExampleAnalysis()
          Default Constructor

Method Summary
 private voiddumpParticles(MsgStream & , ReconstructedParticleCollection * )
           
 StatusCodeexecute()
          Standard Athena-Algorithm method
 StatusCodefinalize()
          Standard Athena-Algorithm method
 StatusCodeinitialize()
          Standard Athena-Algorithm method
 private voidplotEnergyFlow(MsgStream & , ClusterCollection * , CellCollection * )
          Plot some energy flows in 2-d histograms
 private voidplotIsolation(MsgStream & , ReconstructedParticleCollection * , CellCollection * )
          To re-calculate and plot an isolation quantitiy

Field Detail

m_cellLocation

private std::string m_cellLocation
location within the TES to find collections of Atlfast output objects

m_clusterLocation

private std::string m_clusterLocation
location within the TES to find collections of Atlfast output objects

m_hist_cellFlow

private IHistogram2D * m_hist_cellFlow
2-D histograms for energy flow.

m_hist_clusterFlow

private IHistogram2D * m_hist_clusterFlow

m_hist_isolation

private IHistogram1D * m_hist_isolation
A histogram for isolation energy.

m_hist_pT

private IHistogram1D * m_hist_pT
A histogram for pT

m_histStart

private int m_histStart
Number to start histograms at

m_kinehelp

private KinematicHelper m_kinehelp
helper class for oft used kinematic operations

m_particleLocation

private std::string m_particleLocation
location within the TES to find collections of Atlfast output objects

m_rCellIsolation

private double m_rCellIsolation
used to define the cone to sum energy within for checking on isolation of particles
Constructor Detail

ExampleAnalysis

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

~ExampleAnalysis

public virtual ~ExampleAnalysis()
Default Constructor
Method Detail

dumpParticles

private void dumpParticles(MsgStream & , ReconstructedParticleCollection * )

execute

public StatusCode execute()
Standard Athena-Algorithm method

finalize

public StatusCode finalize()
Standard Athena-Algorithm method

initialize

public StatusCode initialize()
Standard Athena-Algorithm method

plotEnergyFlow

private void plotEnergyFlow(MsgStream & , ClusterCollection * , CellCollection * )
Plot some energy flows in 2-d histograms

plotIsolation

private void plotIsolation(MsgStream & , ReconstructedParticleCollection * , CellCollection * )
To re-calculate and plot an isolation quantitiy

Association Links

to Class Atlfast::KinematicHelper

helper class for oft used kinematic operations