BDSAnalysisManager Class Reference

Analysis interface class. Create, store and access histograms. More...

#include <BDSAnalysisManager.hh>

Collaboration diagram for BDSAnalysisManager:

Collaboration graph
[legend]

Public Member Functions

 ~BDSAnalysisManager ()
G4int Create1DHistogram (G4String name, G4String title, G4int nbins, G4double xmin, G4double xmax)
 Create a new histogram.
G4int Create1DHistogram (G4String name, G4String title, std::vector< double > &edges)
BDSHistogram1DGetHistogram (G4int index)
 Access a histogram.
void Fill1DHistogram (G4int histoIndex, G4double value, G4double weight=1.0)
 Fill a histogram.

Static Public Member Functions

static BDSAnalysisManagerInstance ()
 singleton accessor

Private Member Functions

 BDSAnalysisManager ()
 private default constructor for singleton pattern
void CheckHistogramIndex (G4int index)
 function to check whether histogram index is valid

Private Attributes

std::vector< BDSHistogram1D * > histograms1d

Static Private Attributes

static BDSAnalysisManager_instance = 0

Detailed Description

Analysis interface class. Create, store and access histograms.

singleton pattern

This is conceptually based on the Geant4 AnalysisManager classes, however this does not inherit it nor adhere strictly to it. The purpose of this class is only to deal with histograms. The Geant4 AnalysisManagers are based on an output format. Here this will be a communal histogram class and storage system and the different output formats will write them appropriately.

Definition at line 22 of file BDSAnalysisManager.hh.


The documentation for this class was generated from the following files:
Generated on 28 Jun 2015 for BDSIM by  doxygen 1.4.7