#include <BDSAnalysisManager.hh>
Collaboration diagram for BDSAnalysisManager:
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) |
BDSHistogram1D * | GetHistogram (G4int index) |
Access a histogram. | |
void | Fill1DHistogram (G4int histoIndex, G4double value, G4double weight=1.0) |
Fill a histogram. | |
Static Public Member Functions | |
static BDSAnalysisManager * | Instance () |
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 |
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.