Anaphe Home Page Reference Documentation

Main Page     Namespaces     Classes     Source Code    

Anaphe::AIDA_HBook::AIDAHistoFactory Class Reference

#include <AIDAHistoFactory.h>

Inheritance diagram for Anaphe::AIDA_HBook::AIDAHistoFactory:

Anaphe::AIDA_HBook::AIDAHistogramFactory List of all members.

Public Methods

 AIDAHistoFactory (void)
virtual ~AIDAHistoFactory (void)
IHistogram1D * create1D (std::string title="", int nBinsx=10, double xmin=0.0, double xmax=10.0, const int ID=0)
IHistogram2D * create2D (std::string title="", int nBinsx=10, double xmin=0.0, double xmax=10.0, int nBinsy=10, double ymin=0.0, double ymax=10.0, const int ID=0)
IHistogram1D * create1D (const HistoParameters1D &hp)
IHistogram2D * create2D (const HistoParameters2D &hp)
IHistogram1D * create1D (const char *label, const char *title, int nBinsx=10, double xmin=0.0, double xmax=10.0, const char *options=0)
IHistogram2D * create2D (const char *label, const char *title, int nBinsx=10, double xmin=0.0, double xmax=10.0, int nBinsy=10, double ymin=0.0, double ymax=10.0, const char *options=0)
IHistogram3D * create3D (const char *label, const char *title, int nBinsx=10, double xmin=0.0, double xmax=10.0, int nBinsy=10, double ymin=0.0, double ymax=10.0, int nBinsz=10, double zmin=0.0, double zmax=10.0, const char *options=0)
IProfileHistogram * createProfile (const char *label, const char *title, int nBinsx=10, double xmin=0.0, double xmax=10.0, const char *options=0)
IProfileHistogram * createProfile (const char *label, const char *title, int nBinsx=10, double xmin=0.0, double xmax=10.0, double ymin=0.0, double ymax=10.0, const char *options=0)
IHistogram1D * dynamic1D (const char *label, const char *title="", const int nBinsx=100)
IHistogram1D * create1DVar (const char *label, const char *title, std::vector< float > binEdge, const char *options=0)
IHistogram2D * create2DVar (const char *label, const char *title, std::vector< float > binEdgeX, std::vector< float > binEdgeY, const char *options=0)
IHistogram1D * load1D (const char *label)
IHistogram2D * load2D (const char *label)
IHistogram3D * load3D (const char *label)
IProfileHistogram * loadProf (const char *label)
void scratchHisto (const char *label)
bool store1D (IHistogram1D *)
bool store2D (IHistogram2D *)
bool store3D (IHistogram3D *)
bool storeProf (IProfileHistogram *)
void selectStore (const char *, const char *topDir=0)
void mkdir (const char *)
void rmdir (const char *)
void cd (const char *)
void ls (void) const
void pwd (void) const
void setManager (IHistoManager *)
void unregister (IHistogram *h)
void destroy (IHistogram *h)

Private Methods

void notDoneMessage (const char *) const
void notInHBOOKMessage (const char *) const
void notOpenMessage (void) const
void badFileMessage (const char *filename) const
bool getIntFromLabel (const char *label, int &result) const

Private Attributes

IHistoManager * manager
IAnnotationFactory * annFactory
CHBookFileManager * fileManager
CHBookFile * file

Constructor & Destructor Documentation

AIDAHistoFactory::AIDAHistoFactory void   
 

Definition at line 67 of file AIDAHistoFactory.cpp.

References annFactory, and fileManager.

AIDAHistoFactory::~AIDAHistoFactory void    [virtual]
 

Definition at line 78 of file AIDAHistoFactory.cpp.

References annFactory, file, and fileManager.


Member Function Documentation

void AIDAHistoFactory::badFileMessage const char *    filename const [private]
 

Definition at line 509 of file AIDAHistoFactory.cpp.

Referenced by selectStore().

void AIDAHistoFactory::cd const char *   
 

Definition at line 386 of file AIDAHistoFactory.cpp.

References file, and notOpenMessage().

Anaphe::IHistogram1D * AIDAHistoFactory::create1D const char *    label,
const char *    title,
int    nBinsx = 10,
double    xmin = 0.0,
double    xmax = 10.0,
const char *    options = 0
 

Definition at line 113 of file AIDAHistoFactory.cpp.

References annFactory.

Anaphe::IHistogram1D * AIDAHistoFactory::create1D const HistoParameters1D &    hp
 

Definition at line 92 of file AIDAHistoFactory.cpp.

References annFactory.

Anaphe::IHistogram1D * AIDAHistoFactory::create1D std::string    title = "",
int    nBinsx = 10,
double    xmin = 0.0,
double    xmax = 10.0,
const int    ID = 0
 

Definition at line 431 of file AIDAHistoFactory.cpp.

Anaphe::IHistogram1D * AIDAHistoFactory::create1DVar const char *    label,
const char *    title,
std::vector< float >    binEdge,
const char *    options = 0
 

Definition at line 195 of file AIDAHistoFactory.cpp.

References annFactory.

Anaphe::IHistogram2D * AIDAHistoFactory::create2D const char *    label,
const char *    title,
int    nBinsx = 10,
double    xmin = 0.0,
double    xmax = 10.0,
int    nBinsy = 10,
double    ymin = 0.0,
double    ymax = 10.0,
const char *    options = 0
 

Definition at line 129 of file AIDAHistoFactory.cpp.

References annFactory.

Anaphe::IHistogram2D * AIDAHistoFactory::create2D const HistoParameters2D &    hp
 

Definition at line 102 of file AIDAHistoFactory.cpp.

References annFactory.

Anaphe::IHistogram2D * AIDAHistoFactory::create2D std::string    title = "",
int    nBinsx = 10,
double    xmin = 0.0,
double    xmax = 10.0,
int    nBinsy = 10,
double    ymin = 0.0,
double    ymax = 10.0,
const int    ID = 0
 

Definition at line 442 of file AIDAHistoFactory.cpp.

Anaphe::IHistogram2D * AIDAHistoFactory::create2DVar const char *    label,
const char *    title,
std::vector< float >    binEdgeX,
std::vector< float >    binEdgeY,
const char *    options = 0
 

Definition at line 210 of file AIDAHistoFactory.cpp.

References notInHBOOKMessage().

Anaphe::IHistogram3D * AIDAHistoFactory::create3D const char *    label,
const char *    title,
int    nBinsx = 10,
double    xmin = 0.0,
double    xmax = 10.0,
int    nBinsy = 10,
double    ymin = 0.0,
double    ymax = 10.0,
int    nBinsz = 10,
double    zmin = 0.0,
double    zmax = 10.0,
const char *    options = 0
 

Definition at line 148 of file AIDAHistoFactory.cpp.

References notInHBOOKMessage().

IProfileHistogram* Anaphe::AIDA_HBook::AIDAHistoFactory::createProfile const char *    label,
const char *    title,
int    nBinsx = 10,
double    xmin = 0.0,
double    xmax = 10.0,
double    ymin = 0.0,
double    ymax = 10.0,
const char *    options = 0
 

Anaphe::IProfileHistogram * AIDAHistoFactory::createProfile const char *    label,
const char *    title,
int    nBinsx = 10,
double    xmin = 0.0,
double    xmax = 10.0,
const char *    options = 0
 

Definition at line 162 of file AIDAHistoFactory.cpp.

References annFactory.

void AIDAHistoFactory::destroy IHistogram *    h [virtual]
 

Reimplemented from Anaphe::AIDA_HBook::AIDAHistogramFactory.

Definition at line 462 of file AIDAHistoFactory.cpp.

Anaphe::IHistogram1D * AIDAHistoFactory::dynamic1D const char *    label,
const char *    title = "",
const int    nBinsx = 100
 

Definition at line 181 of file AIDAHistoFactory.cpp.

References annFactory.

bool AIDAHistoFactory::getIntFromLabel const char *    label,
int &    result
const [private]
 

Definition at line 521 of file AIDAHistoFactory.cpp.

Referenced by load1D(), load2D(), loadProf(), and scratchHisto().

Anaphe::IHistogram1D * AIDAHistoFactory::load1D const char *    label
 

Definition at line 222 of file AIDAHistoFactory.cpp.

References file, getIntFromLabel(), and notOpenMessage().

Anaphe::IHistogram2D * AIDAHistoFactory::load2D const char *    label
 

Definition at line 237 of file AIDAHistoFactory.cpp.

References file, getIntFromLabel(), and notOpenMessage().

Anaphe::IHistogram3D * AIDAHistoFactory::load3D const char *    label
 

Definition at line 252 of file AIDAHistoFactory.cpp.

References notInHBOOKMessage().

Anaphe::IProfileHistogram * AIDAHistoFactory::loadProf const char *    label
 

Definition at line 261 of file AIDAHistoFactory.cpp.

References file, getIntFromLabel(), and notOpenMessage().

void AIDAHistoFactory::ls void    const
 

Definition at line 396 of file AIDAHistoFactory.cpp.

References file, and notOpenMessage().

void AIDAHistoFactory::mkdir const char *   
 

Definition at line 366 of file AIDAHistoFactory.cpp.

References file, and notOpenMessage().

void AIDAHistoFactory::notDoneMessage const char *    const [private]
 

Definition at line 476 of file AIDAHistoFactory.cpp.

void AIDAHistoFactory::notInHBOOKMessage const char *    const [private]
 

Definition at line 487 of file AIDAHistoFactory.cpp.

Referenced by create2DVar(), create3D(), load3D(), and store3D().

void AIDAHistoFactory::notOpenMessage void    const [private]
 

Definition at line 499 of file AIDAHistoFactory.cpp.

Referenced by cd(), load1D(), load2D(), loadProf(), ls(), mkdir(), pwd(), rmdir(), scratchHisto(), store1D(), store2D(), and storeProf().

void AIDAHistoFactory::pwd void    const
 

Definition at line 406 of file AIDAHistoFactory.cpp.

References file, and notOpenMessage().

void AIDAHistoFactory::rmdir const char *   
 

Definition at line 376 of file AIDAHistoFactory.cpp.

References file, and notOpenMessage().

void AIDAHistoFactory::scratchHisto const char *    label
 

Definition at line 276 of file AIDAHistoFactory.cpp.

References file, getIntFromLabel(), and notOpenMessage().

void AIDAHistoFactory::selectStore const char *   ,
const char *    topDir = 0
 

Definition at line 351 of file AIDAHistoFactory.cpp.

References badFileMessage(), file, and fileManager.

void AIDAHistoFactory::setManager IHistoManager *   
 

Definition at line 416 of file AIDAHistoFactory.cpp.

References manager.

bool AIDAHistoFactory::store1D IHistogram1D *   
 

Definition at line 288 of file AIDAHistoFactory.cpp.

References file, notOpenMessage(), Anaphe::AIDA_HBook::AIDADynHist1D::representation(), Anaphe::AIDA_HBook::AIDAHist1DVar::representation(), and Anaphe::AIDA_HBook::AIDAHistogram1D::representation().

bool AIDAHistoFactory::store2D IHistogram2D *   
 

Definition at line 314 of file AIDAHistoFactory.cpp.

References file, notOpenMessage(), and Anaphe::AIDA_HBook::AIDAHistogram2D::representation().

bool AIDAHistoFactory::store3D IHistogram3D *   
 

Definition at line 328 of file AIDAHistoFactory.cpp.

References notInHBOOKMessage().

bool AIDAHistoFactory::storeProf IProfileHistogram *   
 

Definition at line 337 of file AIDAHistoFactory.cpp.

References file, notOpenMessage(), and Anaphe::AIDA_HBook::AIDAProfileHist::representation().

void AIDAHistoFactory::unregister IHistogram *    h [virtual]
 

Reimplemented from Anaphe::AIDA_HBook::AIDAHistogramFactory.

Definition at line 454 of file AIDAHistoFactory.cpp.


Member Data Documentation

IAnnotationFactory* Anaphe::AIDA_HBook::AIDAHistoFactory::annFactory [private]
 

Definition at line 122 of file AIDAHistoFactory.h.

Referenced by AIDAHistoFactory(), create1D(), create1DVar(), create2D(), createProfile(), dynamic1D(), and ~AIDAHistoFactory().

CHBookFile* Anaphe::AIDA_HBook::AIDAHistoFactory::file [private]
 

Definition at line 124 of file AIDAHistoFactory.h.

Referenced by cd(), load1D(), load2D(), loadProf(), ls(), mkdir(), pwd(), rmdir(), scratchHisto(), selectStore(), store1D(), store2D(), storeProf(), and ~AIDAHistoFactory().

CHBookFileManager* Anaphe::AIDA_HBook::AIDAHistoFactory::fileManager [private]
 

Definition at line 123 of file AIDAHistoFactory.h.

Referenced by AIDAHistoFactory(), selectStore(), and ~AIDAHistoFactory().

IHistoManager* Anaphe::AIDA_HBook::AIDAHistoFactory::manager [private]
 

Definition at line 121 of file AIDAHistoFactory.h.

Referenced by setManager().


The documentation for this class was generated from the following files:

Anaphe documentation generated by Doxygen (www.doxygen.org)