|
Gaudi Framework, version v21r9 |
| Home | Generated: 3 May 2010 |
#include <HistogramSvc.h>


Public Types | |
| typedef std::map< std::string, Gaudi::Histo1DDef > | Histo1DMap |
Public Member Functions | |
| HistogramSvc (CSTR name, ISvcLocator *svc) | |
| Statndard Constructor. | |
| virtual | ~HistogramSvc () |
| Destructor. | |
| std::pair< std::string, std::string > | i_splitPath (CSTR full) |
| Split full path into its components. | |
| StatusCode | connectInput (CSTR ident) |
| Connect input histogram file to the service. | |
| std::string | _STR (int i) |
| template<class T> | |
| T * | i_book (DataObject *pPar, CSTR rel, CSTR title, const std::pair< DataObject *, T * > &o) |
| H2D * | i_project (CSTR nameAndTitle, const H3D &h, CSTR dir) |
| Helper for 2D projections. | |
| virtual StatusCode | initialize () |
| Initialise the service. | |
| virtual StatusCode | reinitialize () |
| Initialise the service. | |
| virtual StatusCode | finalize () |
| finalize the service | |
| virtual AIDA::IHistogramFactory * | histogramFactory () |
| Retrieve the AIDA HistogramFactory interface. | |
| virtual H1D * | book (CSTR par, CSTR rel, CSTR title, DBINS(x)) |
| Book histogram and register it with the histogram data store. | |
| virtual H1D * | book (CSTR par, int hID, CSTR title, DBINS(x)) |
| virtual H1D * | book (DataObject *pPar, int hID, CSTR title, DBINS(x)) |
| virtual H1D * | book (DataObject *pPar, CSTR rel, CSTR title, DBINS(x)) |
| virtual H1D * | book (STRPAIR loc, CSTR title, DBINS(x)) |
| virtual H1D * | book (CSTR full, CSTR title, DBINS(x)) |
| virtual P1D * | bookProf (CSTR par, CSTR rel, CSTR title, DBINS(x), CSTR opt) |
| Book histogram and register it with the histogram data store. | |
| virtual P1D * | bookProf (CSTR par, int hID, CSTR title, DBINS(x), CSTR opt) |
| virtual P1D * | bookProf (DataObject *pPar, int hID, CSTR title, DBINS(x), CSTR opt) |
| virtual P1D * | bookProf (STRPAIR loc, CSTR title, DBINS(x), CSTR opt) |
| virtual P1D * | bookProf (CSTR full, CSTR title, DBINS(x), CSTR opt) |
| virtual P1D * | bookProf (DataObject *pPar, CSTR rel, CSTR title, DBINS(x), CSTR opt) |
| virtual P1D * | bookProf (CSTR par, CSTR rel, CSTR title, DBINS(x), double upper, double lower, CSTR opt) |
| virtual P1D * | bookProf (CSTR par, int hID, CSTR title, DBINS(x), double upper, double lower, CSTR opt) |
| virtual P1D * | bookProf (DataObject *pPar, int hID, CSTR title, DBINS(x), double upper, double lower, CSTR opt) |
| virtual P1D * | bookProf (STRPAIR loc, CSTR title, DBINS(x), double upper, double lower, CSTR opt) |
| virtual P1D * | bookProf (CSTR full, CSTR title, DBINS(x), double upper, double lower, CSTR opt) |
| virtual P1D * | bookProf (DataObject *pPar, CSTR rel, CSTR title, DBINS(x), double upper, double lower, CSTR opt) |
| virtual H1D * | book (CSTR par, int hID, CSTR title, Edges e) |
| Book histogram and register it with the histogram data store. | |
| virtual H1D * | book (DataObject *pPar, int hID, CSTR title, Edges e) |
| virtual H1D * | book (CSTR par, CSTR rel, CSTR title, Edges e) |
| virtual H1D * | book (STRPAIR loc, CSTR title, Edges e) |
| virtual H1D * | book (CSTR full, CSTR title, Edges e) |
| virtual H1D * | book (DataObject *pPar, CSTR rel, CSTR title, Edges e) |
| virtual P1D * | bookProf (CSTR full, CSTR title, Edges e) |
| Book histogram and register it with the histogram data store. | |
| virtual P1D * | bookProf (CSTR par, CSTR rel, CSTR title, Edges e) |
| virtual P1D * | bookProf (CSTR par, int hID, CSTR title, Edges e) |
| virtual P1D * | bookProf (DataObject *pPar, int hID, CSTR title, Edges e) |
| virtual P1D * | bookProf (STRPAIR loc, CSTR title, Edges e) |
| virtual P1D * | bookProf (DataObject *pPar, CSTR rel, CSTR title, Edges e) |
| virtual P1D * | bookProf (CSTR full, CSTR title, Edges e, double upper, double lower) |
| virtual P1D * | bookProf (CSTR par, CSTR rel, CSTR title, Edges e, double upper, double lower) |
| virtual P1D * | bookProf (CSTR par, int hID, CSTR title, Edges e, double upper, double lower) |
| virtual P1D * | bookProf (DataObject *pPar, int hID, CSTR title, Edges e, double upper, double lower) |
| virtual P1D * | bookProf (STRPAIR loc, CSTR title, Edges e, double upper, double lower) |
| virtual P1D * | bookProf (DataObject *pPar, CSTR rel, CSTR title, Edges e, double upper, double lower) |
| virtual H2D * | book (CSTR full, CSTR title, DBINS(x), DBINS(y)) |
| Book histogram and register it with the histogram data store. | |
| virtual H2D * | book (CSTR par, CSTR rel, CSTR title, DBINS(x), DBINS(y)) |
| virtual H2D * | book (CSTR par, int hID, CSTR title, DBINS(x), DBINS(y)) |
| virtual H2D * | book (STRPAIR loc, CSTR title, DBINS(x), DBINS(y)) |
| virtual H2D * | book (DataObject *pPar, int hID, CSTR title, DBINS(x), DBINS(y)) |
| virtual H2D * | book (DataObject *pPar, CSTR rel, CSTR title, DBINS(x), DBINS(y)) |
| virtual P2D * | bookProf (CSTR full, CSTR title, DBINS(x), DBINS(y), double upper, double lower) |
| Book histogram and register it with the histogram data store. | |
| virtual P2D * | bookProf (CSTR par, CSTR rel, CSTR title, DBINS(x), DBINS(y), double upper, double lower) |
| virtual P2D * | bookProf (STRPAIR loc, CSTR title, DBINS(x), DBINS(y), double upper, double lower) |
| virtual P2D * | bookProf (CSTR par, int hID, CSTR title, DBINS(x), DBINS(y), double upper, double lower) |
| virtual P2D * | bookProf (DataObject *pPar, int hID, CSTR title, DBINS(x), DBINS(y), double upper, double lower) |
| virtual P2D * | bookProf (DataObject *pPar, CSTR rel, CSTR title, DBINS(x), DBINS(y), double upper, double lower) |
| virtual P2D * | bookProf (CSTR full, CSTR title, DBINS(x), DBINS(y)) |
| virtual P2D * | bookProf (CSTR par, CSTR rel, CSTR title, DBINS(x), DBINS(y)) |
| virtual P2D * | bookProf (STRPAIR loc, CSTR title, DBINS(x), DBINS(y)) |
| virtual P2D * | bookProf (CSTR par, int hID, CSTR title, DBINS(x), DBINS(y)) |
| virtual P2D * | bookProf (DataObject *pPar, int hID, CSTR title, DBINS(x), DBINS(y)) |
| virtual P2D * | bookProf (DataObject *pPar, CSTR rel, CSTR title, DBINS(x), DBINS(y)) |
| virtual H2D * | book (CSTR full, CSTR title, Edges x, Edges y) |
| Book histogram and register it with the histogram data store. | |
| virtual H2D * | book (CSTR par, CSTR rel, CSTR title, Edges x, Edges y) |
| virtual H2D * | book (CSTR par, int hID, CSTR title, Edges x, Edges y) |
| virtual H2D * | book (STRPAIR loc, CSTR title, Edges x, Edges y) |
| virtual H2D * | book (DataObject *pPar, int hID, CSTR title, Edges x, Edges y) |
| virtual H2D * | book (DataObject *pPar, CSTR rel, CSTR title, Edges x, Edges y) |
| virtual P2D * | bookProf (CSTR full, CSTR title, Edges x, Edges y) |
| Book histogram and register it with the histogram data store. | |
| virtual P2D * | bookProf (CSTR par, CSTR rel, CSTR title, Edges x, Edges y) |
| virtual P2D * | bookProf (CSTR par, int hID, CSTR title, Edges x, Edges y) |
| virtual P2D * | bookProf (DataObject *pPar, int hID, CSTR title, Edges x, Edges y) |
| virtual P2D * | bookProf (STRPAIR loc, CSTR title, Edges x, Edges y) |
| virtual P2D * | bookProf (DataObject *pPar, CSTR rel, CSTR title, Edges x, Edges y) |
| virtual P2D * | bookProf (CSTR full, CSTR title, Edges x, Edges y, double upper, double lower) |
| virtual P2D * | bookProf (CSTR par, CSTR rel, CSTR title, Edges x, Edges y, double upper, double lower) |
| virtual P2D * | bookProf (CSTR par, int hID, CSTR title, Edges x, Edges y, double upper, double lower) |
| virtual P2D * | bookProf (DataObject *pPar, int hID, CSTR title, Edges x, Edges y, double upper, double lower) |
| virtual P2D * | bookProf (STRPAIR loc, CSTR title, Edges x, Edges y, double upper, double lower) |
| virtual P2D * | bookProf (DataObject *pPar, CSTR rel, CSTR title, Edges x, Edges y, double upper, double lower) |
| virtual H3D * | book (CSTR full, CSTR title, DBINS(x), DBINS(y), DBINS(z)) |
| Book histogram and register it with the histogram data store. | |
| virtual H3D * | book (CSTR par, CSTR rel, CSTR title, DBINS(x), DBINS(y), DBINS(z)) |
| virtual H3D * | book (CSTR par, int hID, CSTR title, DBINS(x), DBINS(y), DBINS(z)) |
| virtual H3D * | book (DataObject *pPar, int hID, CSTR title, DBINS(x), DBINS(y), DBINS(z)) |
| virtual H3D * | book (STRPAIR loc, CSTR title, DBINS(x), DBINS(y), DBINS(z)) |
| virtual H3D * | book (DataObject *pPar, CSTR rel, CSTR title, DBINS(x), DBINS(y), DBINS(z)) |
| virtual H3D * | book (CSTR full, CSTR title, Edges x, Edges y, Edges z) |
| Book histogram and register it with the histogram data store. | |
| virtual H3D * | book (CSTR par, CSTR rel, CSTR title, Edges x, Edges y, Edges z) |
| virtual H3D * | book (CSTR par, int hID, CSTR title, Edges x, Edges y, Edges z) |
| virtual H3D * | book (DataObject *pPar, int hID, CSTR title, Edges x, Edges y, Edges z) |
| virtual H3D * | book (STRPAIR loc, CSTR title, Edges x, Edges y, Edges z) |
| virtual H3D * | book (DataObject *pPar, CSTR rel, CSTR title, Edges x, Edges y, Edges z) |
| virtual StatusCode | registerObject (CSTR parent, CSTR rel, Base *obj) |
| virtual StatusCode | registerObject (CSTR parent, int item, Base *obj) |
| virtual StatusCode | registerObject (Base *pPar, CSTR rel, Base *obj) |
| virtual StatusCode | registerObject (DataObject *pPar, int item, Base *obj) |
| virtual StatusCode | registerObject (Base *pPar, int item, Base *obj) |
| virtual StatusCode | registerObject (CSTR full, Base *obj) |
| virtual StatusCode | registerObject (DataObject *pPar, CSTR rel, Base *obj) |
| virtual StatusCode | unregisterObject (Base *obj) |
| virtual StatusCode | unregisterObject (Base *obj, CSTR objectPath) |
| virtual StatusCode | unregisterObject (Base *obj, int item) |
| virtual StatusCode | retrieveObject (IRegistry *pReg, CSTR path, H1D *&obj) |
| virtual StatusCode | retrieveObject (IRegistry *pReg, CSTR path, P1D *&obj) |
| virtual StatusCode | retrieveObject (IRegistry *pReg, CSTR path, H2D *&obj) |
| virtual StatusCode | retrieveObject (IRegistry *pReg, CSTR path, P2D *&obj) |
| virtual StatusCode | retrieveObject (IRegistry *pReg, CSTR path, H3D *&obj) |
| virtual StatusCode | retrieveObject (CSTR full, P1D *&obj) |
| virtual StatusCode | retrieveObject (CSTR full, P2D *&obj) |
| virtual StatusCode | retrieveObject (CSTR full, H1D *&obj) |
| virtual StatusCode | retrieveObject (CSTR full, H2D *&obj) |
| virtual StatusCode | retrieveObject (CSTR full, H3D *&obj) |
| virtual StatusCode | retrieveObject (CSTR parent, CSTR rel, P1D *&obj) |
| virtual StatusCode | retrieveObject (CSTR parent, CSTR rel, P2D *&obj) |
| virtual StatusCode | retrieveObject (CSTR parent, CSTR rel, H1D *&obj) |
| virtual StatusCode | retrieveObject (CSTR parent, CSTR rel, H2D *&obj) |
| virtual StatusCode | retrieveObject (CSTR parent, CSTR rel, H3D *&obj) |
| virtual StatusCode | retrieveObject (CSTR parent, int item, P1D *&obj) |
| virtual StatusCode | retrieveObject (CSTR parent, int item, P2D *&obj) |
| virtual StatusCode | retrieveObject (CSTR parent, int item, H1D *&obj) |
| virtual StatusCode | retrieveObject (CSTR parent, int item, H2D *&obj) |
| virtual StatusCode | retrieveObject (CSTR parent, int item, H3D *&obj) |
| virtual StatusCode | retrieveObject (DataObject *par, CSTR item, P1D *&obj) |
| virtual StatusCode | retrieveObject (DataObject *par, CSTR item, P2D *&obj) |
| virtual StatusCode | retrieveObject (DataObject *par, CSTR item, H1D *&obj) |
| virtual StatusCode | retrieveObject (DataObject *par, CSTR item, H2D *&obj) |
| virtual StatusCode | retrieveObject (DataObject *par, CSTR item, H3D *&obj) |
| virtual StatusCode | retrieveObject (DataObject *par, int item, P1D *&obj) |
| virtual StatusCode | retrieveObject (DataObject *par, int item, P2D *&obj) |
| virtual StatusCode | retrieveObject (DataObject *par, int item, H1D *&obj) |
| virtual StatusCode | retrieveObject (DataObject *par, int item, H2D *&obj) |
| virtual StatusCode | retrieveObject (DataObject *par, int item, H3D *&obj) |
| virtual StatusCode | retrieveObject (Base *par, int item, P1D *&obj) |
| virtual StatusCode | retrieveObject (Base *par, int item, P2D *&obj) |
| virtual StatusCode | retrieveObject (Base *par, int item, H1D *&obj) |
| virtual StatusCode | retrieveObject (Base *par, int item, H2D *&obj) |
| virtual StatusCode | retrieveObject (Base *par, int item, H3D *&obj) |
| virtual StatusCode | retrieveObject (Base *par, CSTR item, P1D *&obj) |
| virtual StatusCode | retrieveObject (Base *par, CSTR item, P2D *&obj) |
| virtual StatusCode | retrieveObject (Base *par, CSTR item, H1D *&obj) |
| virtual StatusCode | retrieveObject (Base *par, CSTR item, H2D *&obj) |
| virtual StatusCode | retrieveObject (Base *par, CSTR item, H3D *&obj) |
| virtual StatusCode | findObject (IRegistry *pReg, CSTR path, P1D *&obj) |
| virtual StatusCode | findObject (IRegistry *pReg, CSTR path, P2D *&obj) |
| virtual StatusCode | findObject (IRegistry *pReg, CSTR path, H1D *&obj) |
| virtual StatusCode | findObject (IRegistry *pReg, CSTR path, H2D *&obj) |
| virtual StatusCode | findObject (IRegistry *pReg, CSTR path, H3D *&obj) |
| virtual StatusCode | findObject (CSTR full, P1D *&obj) |
| virtual StatusCode | findObject (CSTR full, P2D *&obj) |
| virtual StatusCode | findObject (CSTR full, H1D *&obj) |
| virtual StatusCode | findObject (CSTR full, H2D *&obj) |
| virtual StatusCode | findObject (CSTR full, H3D *&obj) |
| virtual StatusCode | findObject (CSTR par, CSTR rel, P1D *&obj) |
| virtual StatusCode | findObject (CSTR par, CSTR rel, P2D *&obj) |
| virtual StatusCode | findObject (CSTR par, CSTR rel, H1D *&obj) |
| virtual StatusCode | findObject (CSTR par, CSTR rel, H2D *&obj) |
| virtual StatusCode | findObject (CSTR par, CSTR rel, H3D *&obj) |
| virtual StatusCode | findObject (CSTR par, int item, P1D *&obj) |
| virtual StatusCode | findObject (CSTR par, int item, P2D *&obj) |
| virtual StatusCode | findObject (CSTR par, int item, H1D *&obj) |
| virtual StatusCode | findObject (CSTR par, int item, H2D *&obj) |
| virtual StatusCode | findObject (CSTR par, int item, H3D *&obj) |
| virtual StatusCode | findObject (DataObject *par, int item, P1D *&obj) |
| virtual StatusCode | findObject (DataObject *par, int item, P2D *&obj) |
| virtual StatusCode | findObject (DataObject *par, int item, H1D *&obj) |
| virtual StatusCode | findObject (DataObject *par, int item, H2D *&obj) |
| virtual StatusCode | findObject (DataObject *par, int item, H3D *&obj) |
| virtual StatusCode | findObject (DataObject *par, CSTR item, P1D *&obj) |
| virtual StatusCode | findObject (DataObject *par, CSTR item, P2D *&obj) |
| virtual StatusCode | findObject (DataObject *par, CSTR item, H1D *&obj) |
| virtual StatusCode | findObject (DataObject *par, CSTR item, H2D *&obj) |
| virtual StatusCode | findObject (DataObject *par, CSTR item, H3D *&obj) |
| virtual StatusCode | findObject (Base *par, int item, P1D *&obj) |
| virtual StatusCode | findObject (Base *par, int item, P2D *&obj) |
| virtual StatusCode | findObject (Base *par, int item, H1D *&obj) |
| virtual StatusCode | findObject (Base *par, int item, H2D *&obj) |
| virtual StatusCode | findObject (Base *par, int item, H3D *&obj) |
| virtual StatusCode | findObject (Base *par, CSTR item, P1D *&obj) |
| virtual StatusCode | findObject (Base *par, CSTR item, P2D *&obj) |
| virtual StatusCode | findObject (Base *par, CSTR item, H1D *&obj) |
| virtual StatusCode | findObject (Base *par, CSTR item, H2D *&obj) |
| virtual StatusCode | findObject (Base *par, CSTR item, H3D *&obj) |
| virtual H1D * | projectionX (CSTR name, const H2D &h) |
| virtual H1D * | projectionY (CSTR name, const H2D &h) |
| virtual H1D * | sliceX (CSTR name, const H2D &h, int indexY) |
| virtual H1D * | sliceY (CSTR name, const H2D &h, int indexX) |
| virtual H1D * | sliceX (CSTR name, const H2D &h, int indexY1, int indexY2) |
| virtual H1D * | sliceY (CSTR name, const H2D &h, int indexX1, int indexX2) |
| bool | destroy (IBaseHistogram *hist) |
| H1D * | add (CSTR nameAndTitle, const H1D &a, const H1D &b) |
| H1D * | subtract (CSTR nameAndTitle, const H1D &a, const H1D &b) |
| H1D * | multiply (CSTR nameAndTitle, const H1D &a, const H1D &b) |
| H1D * | divide (CSTR nameAndTitle, const H1D &a, const H1D &b) |
| H2D * | add (CSTR nameAndTitle, const H2D &a, const H2D &b) |
| H2D * | subtract (CSTR nameAndTitle, const H2D &a, const H2D &b) |
| H2D * | multiply (CSTR nameAndTitle, const H2D &a, const H2D &b) |
| H2D * | divide (CSTR nameAndTitle, const H2D &a, const H2D &b) |
| H3D * | add (CSTR nameAndTitle, const H3D &a, const H3D &b) |
| H3D * | subtract (CSTR nameAndTitle, const H3D &a, const H3D &b) |
| H3D * | multiply (CSTR nameAndTitle, const H3D &a, const H3D &b) |
| H3D * | divide (CSTR nameAndTitle, const H3D &a, const H3D &b) |
| H2D * | projectionXY (CSTR nameAndTitle, const H3D &h) |
| H2D * | projectionXZ (CSTR nameAndTitle, const H3D &h) |
| H2D * | projectionYZ (CSTR nameAndTitle, const H3D &h) |
| H2D * | sliceXY (CSTR, const H3D &, int, int) NOT_IMPLEMENTED H2D *sliceXZ(CSTR |
| H2D *const H3D int NOT_IMPLEMENTED H2D * | sliceYZ (CSTR, const H3D &, int, int) NOT_IMPLEMENTEDH1D *createHistogram1D(CSTR name |
| H2D *const H3D int NOT_IMPLEMENTED H2D *CSTR | DBINS (x)) |
| H1D * | createHistogram1D (CSTR name, CSTR tit, DBINS(x), CSTR) |
| H1D * | createHistogram1D (CSTR name, CSTR title, const Edges &x, CSTR) |
| H1D * | createHistogram1D (CSTR nameAndTitle, DBINS(x)) |
| H1D * | createCopy (CSTR full, const H1D &h) |
| H1D * | createCopy (CSTR par, CSTR rel, const H1D &h) |
| H1D * | createCopy (STRPAIR loc, const H1D &h) |
| H1D * | createCopy (DataObject *pPar, CSTR rel, const H1D &h) |
| H2D * | createHistogram2D (CSTR name, CSTR tit, DBINS(x), DBINS(y)) |
| H2D * | createHistogram2D (CSTR name, CSTR tit, DBINS(x), DBINS(y), CSTR) |
| H2D * | createHistogram2D (CSTR name, CSTR title, const Edges &x, const Edges &y, CSTR) |
| H2D * | createHistogram2D (CSTR nameAndTitle, DBINS(x), DBINS(y)) |
| H2D * | createCopy (CSTR full, const H2D &h) |
| H2D * | createCopy (CSTR par, CSTR rel, const H2D &h) |
| H2D * | createCopy (STRPAIR loc, const H2D &h) |
| H2D * | createCopy (DataObject *pPar, CSTR rel, const H2D &h) |
| H3D * | createHistogram3D (CSTR name, CSTR tit, DBINS(x), DBINS(y), DBINS(z)) |
| H3D * | createHistogram3D (CSTR name, CSTR tit, DBINS(x), DBINS(y), DBINS(z), CSTR) |
| H3D * | createHistogram3D (CSTR name, CSTR title, const Edges &x, const Edges &y, const Edges &z, CSTR) |
| H3D * | createHistogram3D (CSTR nameAndTitle, DBINS(x), DBINS(y), DBINS(z)) |
| H3D * | createCopy (CSTR full, const H3D &h) |
| H3D * | createCopy (CSTR par, CSTR rel, const H3D &h) |
| H3D * | createCopy (STRPAIR loc, const H3D &h) |
| H3D * | createCopy (DataObject *pPar, CSTR rel, const H3D &h) |
| P1D * | createProfile1D (CSTR name, CSTR tit, DBINS(x), CSTR opt) |
| P1D * | createProfile1D (CSTR name, CSTR tit, DBINS(x), double upper, double lower, CSTR opt) |
| P1D * | createProfile1D (CSTR name, CSTR title, const Edges &x, CSTR) |
| P1D * | createProfile1D (CSTR name, CSTR title, const Edges &x, double upper, double lower, CSTR) |
| P1D * | createProfile1D (CSTR nametit, DBINS(x)) |
| P1D * | createProfile1D (CSTR nametit, DBINS(x), double upper, double lower) |
| P1D * | createCopy (CSTR full, const P1D &h) |
| P1D * | createCopy (CSTR par, CSTR rel, const P1D &h) |
| P1D * | createCopy (STRPAIR loc, const P1D &h) |
| P1D * | createCopy (DataObject *pPar, CSTR rel, const P1D &h) |
| P2D * | createProfile2D (CSTR name, CSTR tit, DBINS(x), DBINS(y)) |
| P2D * | createProfile2D (CSTR name, CSTR tit, DBINS(x), DBINS(y), CSTR) |
| P2D * | createProfile2D (CSTR name, CSTR title, const Edges &x, const Edges &y, CSTR) |
| P2D * | createProfile2D (CSTR nameAndTitle, DBINS(x), DBINS(y)) |
| P2D * | createProfile2D (CSTR name, CSTR tit, DBINS(x), DBINS(y), double upper, double lower) |
| P2D * | createProfile2D (CSTR name, CSTR tit, DBINS(x), DBINS(y), double upper, double lower, CSTR) |
| P2D * | createProfile2D (CSTR name, CSTR title, const Edges &x, const Edges &y, double upper, double lower, CSTR) |
| P2D * | createProfile2D (CSTR nameAndTitle, DBINS(x), DBINS(y), double upper, double lower) |
| P2D * | createCopy (CSTR full, const P2D &h) |
| P2D * | createCopy (CSTR par, CSTR rel, const P2D &h) |
| P2D * | createCopy (STRPAIR loc, const P2D &h) |
| P2D * | createCopy (DataObject *pPar, CSTR rel, const P2D &h) |
| virtual std::ostream & | print (Base *h, std::ostream &s=std::cout) const |
| Print (ASCII) the 1D histogram into the output stream. | |
| virtual std::ostream & | write (Base *h, std::ostream &s=std::cout) const |
| Write (ASCII) the 1D histogram table into the output stream. | |
| virtual int | write (Base *h, const char *file_name) const |
| Write (ASCII) the 1D histogram table into a file. | |
| virtual DataObject * | createPath (CSTR newPath) |
| Create all directories in a given full path. | |
| virtual DataObject * | createDirectory (CSTR parentDir, CSTR subDir) |
| Create a sub-directory in a directory. | |
| void | update1Ddefs (Property &) |
| handler to be invoked for updating property m_defs1D | |
Static Public Member Functions | |
| template<class T> | |
| static DataObject * | __cast (T *p) |
Public Attributes | |
| H2D *const H3D | int |
| H2D *const H3D int NOT_IMPLEMENTED H2D *CSTR | tit |
Protected Types | |
| typedef const std::string & | CSTR |
| typedef std::vector< double > | Edges |
| typedef std::vector< std::string > | DBaseEntries |
| typedef AIDA::IHistogram1D | H1D |
| typedef AIDA::IHistogram2D | H2D |
| typedef AIDA::IHistogram3D | H3D |
| typedef AIDA::IProfile1D | P1D |
| typedef AIDA::IProfile2D | P2D |
| typedef AIDA::IBaseHistogram | Base |
Protected Attributes | |
| DBaseEntries | m_input |
| Input streams. | |
Private Types | |
| typedef const std::pair < std::string, std::string > & | STRPAIR |
Private Member Functions | |
| void | not_implemented () const |
Private Attributes | |
| Histo1DMap | m_defs1D |
| std::set< std::string > | m_mods1D |
Friends | |
| class | SvcFactory< HistogramSvc > |
Classes | |
| struct | Helper |
Definition at line 49 of file HistogramSvc.h.
typedef const std::pair<std::string,std::string>& HistogramSvc::STRPAIR [private] |
Definition at line 56 of file HistogramSvc.h.
typedef const std::string& HistogramSvc::CSTR [protected] |
Definition at line 62 of file HistogramSvc.h.
typedef std::vector<double> HistogramSvc::Edges [protected] |
Definition at line 63 of file HistogramSvc.h.
typedef std::vector<std::string> HistogramSvc::DBaseEntries [protected] |
Definition at line 64 of file HistogramSvc.h.
typedef AIDA::IHistogram1D HistogramSvc::H1D [protected] |
Definition at line 65 of file HistogramSvc.h.
typedef AIDA::IHistogram2D HistogramSvc::H2D [protected] |
Definition at line 66 of file HistogramSvc.h.
typedef AIDA::IHistogram3D HistogramSvc::H3D [protected] |
Definition at line 67 of file HistogramSvc.h.
typedef AIDA::IProfile1D HistogramSvc::P1D [protected] |
Definition at line 68 of file HistogramSvc.h.
typedef AIDA::IProfile2D HistogramSvc::P2D [protected] |
Definition at line 69 of file HistogramSvc.h.
typedef AIDA::IBaseHistogram HistogramSvc::Base [protected] |
Definition at line 70 of file HistogramSvc.h.
| typedef std::map<std::string,Gaudi::Histo1DDef> HistogramSvc::Histo1DMap |
Definition at line 946 of file HistogramSvc.h.
| HistogramSvc::HistogramSvc | ( | CSTR | name, | |
| ISvcLocator * | svc | |||
| ) |
Statndard Constructor.
| name | service name | |
| pointer | to service locator interface |
Definition at line 388 of file HistogramSvc.cpp.
00389 : base_class(nam, svc) 00390 , m_defs1D () 00391 , m_mods1D () 00392 { 00393 // Properties can be declared here 00394 m_rootName = "/stat"; 00395 m_rootCLID = CLID_DataObject; 00396 declareProperty ( "Input", m_input); 00397 declareProperty ( "Predefined1DHistos" , m_defs1D , 00398 "Histograms with predefined parameters" ) ; 00399 // update handler 00400 Property* p = Gaudi::Utils::getProperty ( this , "Predefined1DHistos" ) ; 00401 p->declareUpdateHandler ( &HistogramSvc::update1Ddefs , this ) ; 00402 00403 }
| HistogramSvc::~HistogramSvc | ( | ) | [virtual] |
Destructor.
Definition at line 206 of file HistogramSvc.cpp.
00206 { 00207 setDataLoader( 0 ).ignore(); 00208 clearStore().ignore(); 00209 }
| void HistogramSvc::not_implemented | ( | ) | const [inline, private] |
Definition at line 57 of file HistogramSvc.h.
00057 { 00058 MsgStream log( msgSvc(), name() ); 00059 log << MSG::ERROR << "Sorry, not yet implemented..." << endmsg; 00060 }
| std::pair< std::string, std::string > HistogramSvc::i_splitPath | ( | CSTR | full | ) |
Split full path into its components.
| full | Full path of the object | |
| dir | Resulting directory path | |
| obj | Resulting object path |
Definition at line 135 of file HistogramSvc.cpp.
00135 { 00136 std::string tmp = full; 00137 if (tmp[0] != SEPARATOR) { 00138 tmp.insert(tmp.begin(), SEPARATOR); 00139 tmp.insert(tmp.begin(), m_rootName.begin(), m_rootName.end()); 00140 } 00141 // Remove trailing "/" from newPath if it exists 00142 if (tmp.rfind(SEPARATOR) == tmp.length()-1) { 00143 tmp.erase(tmp.rfind(SEPARATOR),1); 00144 } 00145 int sep = tmp.rfind(SEPARATOR); 00146 return std::pair<std::string,std::string> 00147 (tmp.substr(0,sep),tmp.substr(sep,tmp.length()-sep)); 00148 }
| StatusCode HistogramSvc::connectInput | ( | CSTR | ident | ) |
Connect input histogram file to the service.
| ident | [IN] Input specification |
Definition at line 211 of file HistogramSvc.cpp.
00211 { 00212 MsgStream log (msgSvc(), name()); 00213 DataObject* pO = 0; 00214 StatusCode status = this->findObject(m_rootName, pO); 00215 if (status.isSuccess()) { 00216 Tokenizer tok(true); 00217 std::string::size_type loc = ident.find(" "); 00218 std::string filename, auth, svc = "", typ = ""; 00219 std::string logname = ident.substr(0,loc); 00220 tok.analyse(ident.substr(loc+1,ident.length()), " ", "", "", "=", "'", "'"); 00221 for (Tokenizer::Items::iterator i = tok.items().begin(); 00222 i != tok.items().end(); i++) { 00223 CSTR tag = (*i).tag(); 00224 switch(::toupper(tag[0])) { 00225 case 'F': // FILE='<file name>' 00226 case 'D': // DATAFILE='<file name>' 00227 filename = (*i).value(); 00228 break; 00229 case 'T': // TYP='<HBOOK,ROOT,OBJY,...>' 00230 typ = (*i).value(); 00231 break; 00232 default: 00233 break; 00234 } 00235 } 00236 if (typ.length() > 0) { 00237 // Now add the registry entry to the store 00238 std::string entryname = m_rootName; 00239 entryname += '/'; 00240 entryname += logname; 00241 GenericAddress* pA = 0; 00242 switch(::toupper(typ[0])) { 00243 case 'H': 00244 pA=new GenericAddress(HBOOK_StorageType,CLID_StatisticsFile, 00245 filename,entryname,0,'O'); 00246 break; 00247 case 'R': 00248 pA=new GenericAddress(ROOT_StorageType,CLID_StatisticsFile, 00249 filename,entryname,0,'O'); 00250 break; 00251 } 00252 if (0 != pA) { 00253 status = registerAddress(pO, logname, pA); 00254 if (status.isSuccess()) { 00255 log << MSG::INFO << "Added stream file:" << filename 00256 << " as " << logname << endmsg; 00257 return status; 00258 } 00259 pA->release(); 00260 } 00261 } 00262 } 00263 log << MSG::ERROR << "Cannot add " << ident << " invalid filename!" << endmsg; 00264 return StatusCode::FAILURE; 00265 }
| std::string HistogramSvc::_STR | ( | int | i | ) |
| T* HistogramSvc::i_book | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| const std::pair< DataObject *, T * > & | o | |||
| ) | [inline] |
Definition at line 148 of file HistogramSvc.h.
00148 { 00149 if (o.first && registerObject(pPar, rel, (Base*)o.second).isSuccess()) 00150 return o.second; 00151 delete o.first; 00152 throw GaudiException("Cannot book "+System::typeinfoName(typeid(T))+" "+title, 00153 "HistogramSvc",StatusCode::FAILURE); 00154 }
| static DataObject* HistogramSvc::__cast | ( | T * | p | ) | [inline, static] |
Definition at line 155 of file HistogramSvc.h.
00155 { 00156 DataObject* q = dynamic_cast<DataObject*>(p); 00157 if ( 0 == q && 0 != p ) { 00158 throw std::runtime_error("HistogramSvc: Unexpected object type."); 00159 } 00160 return q; 00161 }
Helper for 2D projections.
| StatusCode HistogramSvc::initialize | ( | ) | [virtual] |
Initialise the service.
Reimplemented from DataSvc.
Definition at line 267 of file HistogramSvc.cpp.
00267 { 00268 MsgStream log(msgSvc(), name()); 00269 StatusCode status = DataSvc::initialize(); 00270 // Set root object 00271 if (status.isSuccess()) { 00272 DataObject* rootObj = new DataObject(); 00273 status = setRoot("/stat", rootObj); 00274 if (!status.isSuccess()) { 00275 log << MSG::ERROR << "Unable to set hstogram data store root." << endmsg; 00276 delete rootObj; 00277 return status; 00278 } 00279 IConversionSvc* svc = 0; 00280 status = service("HistogramPersistencySvc",svc,true); 00281 if ( status.isSuccess() ) { 00282 setDataLoader( svc ).ignore(); 00283 svc->release(); 00284 } 00285 else { 00286 log << MSG::ERROR << "Could not find HistogramPersistencySvc." << endmsg; 00287 return status; 00288 } 00289 // Connect all input streams (if any) 00290 for (DBaseEntries::iterator j = m_input.begin(); j != m_input.end(); j++) { 00291 status = connectInput(*j); 00292 if (!status.isSuccess()) { 00293 return status; 00294 } 00295 } 00296 } 00297 if ( !m_defs1D.empty() ) 00298 { 00299 log << MSG::INFO << " Predefined 1D-Histograms: " << endmsg ; 00300 for ( Histo1DMap::const_iterator ih = m_defs1D.begin() ; 00301 m_defs1D.end() != ih ; ++ih ) 00302 { 00303 log << MSG::INFO 00304 << " Path='" << ih->first << "'" 00305 << " Description " << ih->second << endmsg ; 00306 } 00307 } 00308 return status; 00309 }
| StatusCode HistogramSvc::reinitialize | ( | ) | [virtual] |
Initialise the service.
Reimplemented from DataSvc.
Definition at line 311 of file HistogramSvc.cpp.
00311 { 00312 return StatusCode::SUCCESS; 00313 }
| StatusCode HistogramSvc::finalize | ( | void | ) | [virtual] |
finalize the service
Reimplemented from DataSvc.
Definition at line 435 of file HistogramSvc.cpp.
00436 { 00437 if ( !m_mods1D.empty() ) 00438 { 00439 MsgStream log ( msgSvc () , name () ) ; 00440 log << MSG::DEBUG 00441 << " Substituted histograms #" << m_mods1D.size() << " : " << endmsg ; 00442 for ( std::set<std::string>::const_iterator ih = m_mods1D.begin() ; 00443 m_mods1D.end() != ih ; ++ih ) 00444 { 00445 log << MSG::DEBUG << " Path='" << (*ih) << "'" ; 00446 Histo1DMap::const_iterator im = m_defs1D.find( *ih ) ; 00447 if ( m_defs1D.end() != im ) { log << " " << im->second ; } 00448 } 00449 m_mods1D.clear() ; 00450 } 00451 return DataSvc::finalize () ; 00452 }
| virtual AIDA::IHistogramFactory* HistogramSvc::histogramFactory | ( | ) | [inline, virtual] |
Retrieve the AIDA HistogramFactory interface.
Implements IHistogramSvc.
Definition at line 174 of file HistogramSvc.h.
Book histogram and register it with the histogram data store.
| full | Full path to the node of the object. The basename (last part of the fullpath) has to be an integer number otherwise conversion to HBOOK is not possible) | |
| par | Path to parent node of the object, the directory the histogram will be stored in. | |
| pPar | Pointer to parent node | |
| rel | Histogram identifier (std::string), the relative path to the object with respect to the parent node | |
| hID | Histogram identifier (int) of the histogram | |
| title | Title property of the histogram | |
| DBINS(x) | Macro for bin definition. Expands to: int nx: Number of bins on the axis X/Y double lx: Lower histogram edge on the axis X/Y double ux: Upper histogram edge on the axis X/Y |
Definition at line 196 of file HistogramSvc.h.
00197 { return book(createPath(par), rel, title, BINS(x)); }
| virtual H1D* HistogramSvc::book | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| DBINS(x) | ||||
| ) | [inline, virtual] |
| AIDA::IHistogram1D * HistogramSvc::book | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | ||||
| ) | [virtual] |
Definition at line 364 of file HistogramSvc.cpp.
00365 { 00366 if ( m_defs1D.empty () ) 00367 { return i_book(pPar,rel,title,Gaudi::createH1D(title, BINS(x))); } 00368 std::string hn = histoAddr ( pPar , rel ) ; 00369 Histo1DMap::const_iterator ifound = m_defs1D.find( hn ) ; 00370 if ( m_defs1D.end() == ifound ) 00371 { return i_book(pPar,rel,title,Gaudi::createH1D(title, BINS(x))); } 00372 MsgStream log ( msgSvc() , name() ) ; 00373 log << MSG::DEBUG 00374 << " Redefine the parameters for the histogram '" + hn +"' to be " 00375 << ifound->second 00376 << endmsg ; 00377 m_mods1D.insert ( hn ) ; 00378 return i_book ( pPar , rel , ifound -> second.title () , 00379 Gaudi::createH1D 00380 ( ifound -> second.title () , 00381 ifound -> second.bins () , 00382 ifound -> second.lowEdge () , 00383 ifound -> second.lowEdge () ) ) ; 00384 }
Definition at line 205 of file HistogramSvc.h.
00206 { return book(i_splitPath(full), title, BINS(x)); }
| virtual P1D* HistogramSvc::bookProf | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| CSTR | opt | |||
| ) | [inline, virtual] |
Book histogram and register it with the histogram data store.
| full | Full path to the node of the object. The basename (last part of the fullpath) has to be an integer number (otherwise conversion to HBOOK is not possible) | |
| par | Path to parent node of the object, the directory the histogram will be stored in. | |
| pPar | Pointer to parent node | |
| rel | Histogram identifier (std::string), the relative path to the object with respect to the parent node | |
| hID | Histogram identifier (int) of the histogram | |
| title | Title property of the histogram | |
| DBINS(x) | Macro for bin definition. Expands to: int nx: Number of bins on the axis X/Y double lx: Lower histogram edge on the axis X/Y double ux: Upper histogram edge on the axis X/Y |
Definition at line 227 of file HistogramSvc.h.
00228 { return bookProf(createPath(par), rel, title, BINS(x),opt); }
| virtual P1D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| CSTR | opt | |||
| ) | [inline, virtual] |
| virtual P1D* HistogramSvc::bookProf | ( | STRPAIR | loc, | |
| CSTR | title, | |||
| DBINS(x) | , | |||
| CSTR | opt | |||
| ) | [inline, virtual] |
| virtual P1D* HistogramSvc::bookProf | ( | CSTR | full, | |
| CSTR | title, | |||
| DBINS(x) | , | |||
| CSTR | opt | |||
| ) | [inline, virtual] |
Definition at line 235 of file HistogramSvc.h.
00236 { return bookProf(i_splitPath(full), title, BINS(x),opt); }
| virtual P1D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| CSTR | opt | |||
| ) | [inline, virtual] |
Definition at line 237 of file HistogramSvc.h.
00238 { return i_book(pPar,rel,title,Gaudi::createProf1D(title, BINS(x),0,0,opt)); }
| virtual P1D* HistogramSvc::bookProf | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| double | upper, | |||
| double | lower, | |||
| CSTR | opt | |||
| ) | [inline, virtual] |
| virtual P1D* HistogramSvc::bookProf | ( | CSTR | full, | |
| CSTR | title, | |||
| DBINS(x) | , | |||
| double | upper, | |||
| double | lower, | |||
| CSTR | opt | |||
| ) | [inline, virtual] |
Definition at line 248 of file HistogramSvc.h.
00249 { return bookProf(i_splitPath(full), title, BINS(x), upper, lower , opt ); }
| virtual P1D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| double | upper, | |||
| double | lower, | |||
| CSTR | opt | |||
| ) | [inline, virtual] |
Definition at line 250 of file HistogramSvc.h.
00251 { return i_book(pPar,rel,title,Gaudi::createProf1D(title, BINS(x), upper, lower, opt)); }
Book histogram and register it with the histogram data store.
| full | Full path to the node of the object. The basename (last part of the fullpath) has to be an integer number (otherwise conversion to HBOOK is not possible) | |
| par | Path to parent node of the object, the directory the histogram will be stored in. | |
| pPar | Pointer to parent node | |
| rel | Histogram identifier (std::string), the relative path to the object with respect to the parent node | |
| hID | Histogram identifier (int) of the histogram | |
| title | Title property of the histogram | |
| e | Bin edges for variable binned histogram. |
Definition at line 269 of file HistogramSvc.h.
| virtual H1D* HistogramSvc::book | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | e | |||
| ) | [inline, virtual] |
Definition at line 273 of file HistogramSvc.h.
00274 { return book(createPath(par), rel, title, e); }
Definition at line 275 of file HistogramSvc.h.
00276 { return book(loc.first, loc.second, title, e); }
| virtual H1D* HistogramSvc::book | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | e | |||
| ) | [inline, virtual] |
Definition at line 279 of file HistogramSvc.h.
00280 { return i_book(pPar, rel, title, Gaudi::createH1D(title, e)); }
Book histogram and register it with the histogram data store.
| full | Full path to the node of the object. The basename (last part of the full) has to be an integer number (otherwise conversion to HBOOK is not possible) | |
| par | Path to parent node of the object, the directory the histogram will be stored in. | |
| pPar | Pointer to parent node | |
| rel | Histogram identifier (std::string), the relative path to the object with respect to the parent node | |
| hID | Histogram identifier (int) of the histogram | |
| title | Title property of the histogram | |
| e | Bin edges for variable binned histogram. |
Definition at line 299 of file HistogramSvc.h.
00300 { return bookProf(i_splitPath(full), title, e); }
Definition at line 301 of file HistogramSvc.h.
00302 { return bookProf(createPath(par), rel, title, e); }
| virtual P1D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | e | |||
| ) | [inline, virtual] |
Definition at line 307 of file HistogramSvc.h.
00308 { return bookProf(loc.first, loc.second, title, e); }
| virtual P1D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | e | |||
| ) | [inline, virtual] |
Definition at line 309 of file HistogramSvc.h.
00310 { return i_book(pPar,rel,title,Gaudi::createProf1D(title, e, 0, 0)); }
| virtual P1D* HistogramSvc::bookProf | ( | CSTR | full, | |
| CSTR | title, | |||
| Edges | e, | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
Definition at line 312 of file HistogramSvc.h.
00313 { return bookProf(i_splitPath(full), title, e, upper, lower); }
| virtual P1D* HistogramSvc::bookProf | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | e, | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
Definition at line 314 of file HistogramSvc.h.
00315 { return bookProf(createPath(par), rel, title, e, upper, lower); }
| virtual P1D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | e, | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
| virtual P1D* HistogramSvc::bookProf | ( | STRPAIR | loc, | |
| CSTR | title, | |||
| Edges | e, | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
| virtual P1D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | e, | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
Definition at line 322 of file HistogramSvc.h.
00323 { return i_book(pPar,rel,title,Gaudi::createProf1D(title, e, upper, lower));}
Book histogram and register it with the histogram data store.
| full | Full path to the node of the object. The basename (last part of the full) has to be an integer number (otherwise conversion to HBOOK is not possible) | |
| par | Path to parent node of the object, the directory the histogram will be stored in. | |
| pPar | Pointer to parent node | |
| rel | Histogram identifier (std::string), the relative path to the object with respect to the parent node | |
| hID | Histogram identifier (int) of the histogram | |
| title | Title property of the histogram | |
| DBINS(x/y) | Macro for bin definition in X/Y. Expands to: int nx: Number of bins on the axis X/Y double lx: Lower histogram edge on the axis X/Y double ux: Upper histogram edge on the axis X/Y |
Definition at line 344 of file HistogramSvc.h.
00345 { return book(i_splitPath(full), title, BINS(x),BINS(y)); }
| virtual H2D* HistogramSvc::book | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | ||||
| ) | [inline, virtual] |
| virtual H2D* HistogramSvc::book | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | ||||
| ) | [inline, virtual] |
Definition at line 354 of file HistogramSvc.h.
00355 { return i_book(pPar,rel,title,Gaudi::createH2D(title, BINS(x),BINS(y)));}
| virtual P2D* HistogramSvc::bookProf | ( | CSTR | full, | |
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | , | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
Book histogram and register it with the histogram data store.
| full | Full path to the node of the object. The basename (last part of the full) has to be an integer number (otherwise conversion to HBOOK is not possible) | |
| par | Path to parent node of the object, the directory the histogram will be stored in. | |
| pPar | Pointer to parent node | |
| rel | Histogram identifier (std::string), the relative path to the object with respect to the parent node | |
| hID | Histogram identifier (int) of the histogram | |
| title | Title property of the histogram | |
| DBINS(x/y) | Macro for bin definition in X/Y. Expands to: int nx: Number of bins on the axis X/Y double lx: Lower histogram edge on the axis X/Y double ux: Upper histogram edge on the axis X/Y |
Definition at line 376 of file HistogramSvc.h.
| virtual P2D* HistogramSvc::bookProf | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | , | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
| virtual P2D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | , | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
| virtual P2D* HistogramSvc::bookProf | ( | CSTR | full, | |
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | ||||
| ) | [inline, virtual] |
Definition at line 389 of file HistogramSvc.h.
00390 { return bookProf(i_splitPath(full), title, BINS(x),BINS(y)); }
| virtual P2D* HistogramSvc::bookProf | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | ||||
| ) | [inline, virtual] |
| virtual P2D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | ||||
| ) | [inline, virtual] |
Definition at line 399 of file HistogramSvc.h.
00400 { return i_book(pPar,rel,title,Gaudi::createProf2D(title, BINS(x),BINS(y),0,0));}
Book histogram and register it with the histogram data store.
| full | Full path to the node of the object. The basename (last part of the full) has to be an integer number (otherwise conversion to HBOOK is not possible) | |
| par | Path to parent node of the object, the directory the histogram will be stored in. | |
| pPar | Pointer to parent node | |
| rel | Histogram identifier (std::string), the relative path to the object with respect to the parent node | |
| hID | Histogram identifier (int) of the histogram | |
| title | Title property of the histogram | |
| x/y | Bin edges for variable binned histogram in X/Y. |
Definition at line 418 of file HistogramSvc.h.
00419 { return book(i_splitPath(full), title, x, y); }
| virtual H2D* HistogramSvc::book | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
Definition at line 420 of file HistogramSvc.h.
00421 { return book(createPath(par), rel, title, x, y); }
| virtual H2D* HistogramSvc::book | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
Definition at line 428 of file HistogramSvc.h.
00429 { return i_book(pPar, rel, title, Gaudi::createH2D(title, x,y)); }
Book histogram and register it with the histogram data store.
| full | Full path to the node of the object. The basename (last part of the full) has to be an integer number (otherwise conversion to HBOOK is not possible) | |
| par | Path to parent node of the object, the directory the histogram will be stored in. | |
| pPar | Pointer to parent node | |
| rel | Histogram identifier (std::string), the relative path to the object with respect to the parent node | |
| hID | Histogram identifier (int) of the histogram | |
| title | Title property of the histogram | |
| x/y | Bin edges for variable binned histogram in X/Y. |
Definition at line 447 of file HistogramSvc.h.
00448 { return bookProf(i_splitPath(full), title, x, y); }
| virtual P2D* HistogramSvc::bookProf | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
Definition at line 449 of file HistogramSvc.h.
00450 { return bookProf(createPath(par), rel, title, x, y); }
| virtual P2D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
| virtual P2D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
Definition at line 457 of file HistogramSvc.h.
00458 { return i_book(pPar, rel, title, Gaudi::createProf2D(title,x,y,0,0)); }
| virtual P2D* HistogramSvc::bookProf | ( | CSTR | full, | |
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
Definition at line 460 of file HistogramSvc.h.
00461 { return bookProf(i_splitPath(full), title, x, y, upper, lower); }
| virtual P2D* HistogramSvc::bookProf | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
| virtual P2D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
Definition at line 470 of file HistogramSvc.h.
00471 { return i_book(pPar, rel, title, Gaudi::createProf2D(title,x,y, upper, lower)); }
| virtual H3D* HistogramSvc::book | ( | CSTR | full, | |
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | , | |||
| DBINS(z) | ||||
| ) | [inline, virtual] |
Book histogram and register it with the histogram data store.
| full | Full path to the node of the object. The basename (last part of the full) has to be an integer number (otherwise conversion to HBOOK is not possible) | |
| par | Path to parent node of the object, the directory the histogram will be stored in. | |
| pPar | Pointer to parent node | |
| rel | Histogram identifier (std::string), the relative path to the object with respect to the parent node | |
| hID | Histogram identifier (int) of the histogram | |
| title | Title property of the histogram | |
| DBINS(x/y/z) | Macro for bin definition in X/Y/Z. Expands to: int nx: Number of bins on the axis X/Y/Z double lx: Lower histogram edge on the axis X/Y/Z double ux: Upper histogram edge on the axis X/Y/Z |
Definition at line 492 of file HistogramSvc.h.
| virtual H3D* HistogramSvc::book | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | , | |||
| DBINS(z) | ||||
| ) | [inline, virtual] |
| virtual H3D* HistogramSvc::book | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | , | |||
| DBINS(z) | ||||
| ) | [inline, virtual] |
| virtual H3D* HistogramSvc::book | ( | CSTR | full, | |
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| Edges | z | |||
| ) | [inline, virtual] |
Book histogram and register it with the histogram data store.
| full | Full path to the node of the object. The basename (last part of the full) has to be an integer number (otherwise conversion to HBOOK is not possible) | |
| par | Path to parent node of the object, the directory the histogram will be stored in. | |
| pPar | Pointer to parent node | |
| rel | Histogram identifier (std::string), the relative path to the object with respect to the parent node | |
| hID | Histogram identifier (int) of the histogram | |
| title | Title property of the histogram | |
| binsX/Y/Z | Number of bins on the axis X/Y/Z | |
| lowX/Y/Z | Lower histogram edge on the axis X/Y/Z | |
| highX/Y/Z | Upper histogram edge on the axis X/Y/Z |
Definition at line 523 of file HistogramSvc.h.
00524 { return book(i_splitPath(full), title, x, y, z); }
| virtual H3D* HistogramSvc::book | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| Edges | z | |||
| ) | [inline, virtual] |
Definition at line 525 of file HistogramSvc.h.
00526 { return book(createPath(par), rel, title, x, y, z); }
| virtual H3D* HistogramSvc::book | ( | STRPAIR | loc, | |
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| Edges | z | |||
| ) | [inline, virtual] |
| virtual H3D* HistogramSvc::book | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| Edges | z | |||
| ) | [inline, virtual] |
Definition at line 533 of file HistogramSvc.h.
00534 { return i_book(pPar, rel, title, Gaudi::createH3D(title,x,y,z)); }
| virtual StatusCode HistogramSvc::registerObject | ( | CSTR | parent, | |
| CSTR | rel, | |||
| Base * | obj | |||
| ) | [inline, virtual] |
Definition at line 542 of file HistogramSvc.h.
00543 { return registerObject(createPath(parent), rel, obj); }
| virtual StatusCode HistogramSvc::registerObject | ( | CSTR | parent, | |
| int | item, | |||
| Base * | obj | |||
| ) | [inline, virtual] |
Definition at line 544 of file HistogramSvc.h.
00545 { return registerObject(parent, _STR(item), obj); }
| virtual StatusCode HistogramSvc::registerObject | ( | Base * | pPar, | |
| CSTR | rel, | |||
| Base * | obj | |||
| ) | [inline, virtual] |
Definition at line 546 of file HistogramSvc.h.
00547 { return registerObject(__cast(pPar), rel, obj); }
| virtual StatusCode HistogramSvc::registerObject | ( | DataObject * | pPar, | |
| int | item, | |||
| Base * | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 548 of file HistogramSvc.h.
00549 { return registerObject(pPar, _STR(item), obj); }
| virtual StatusCode HistogramSvc::registerObject | ( | Base * | pPar, | |
| int | item, | |||
| Base * | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 550 of file HistogramSvc.h.
00551 { return registerObject(__cast(pPar), item, obj); }
| virtual StatusCode HistogramSvc::registerObject | ( | CSTR | full, | |
| Base * | obj | |||
| ) | [virtual] |
| virtual StatusCode HistogramSvc::registerObject | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| Base * | obj | |||
| ) | [virtual] |
| virtual StatusCode HistogramSvc::unregisterObject | ( | Base * | obj | ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 557 of file HistogramSvc.h.
00558 { return DataSvc::unregisterObject(__cast(obj)); }
| virtual StatusCode HistogramSvc::unregisterObject | ( | Base * | obj, | |
| CSTR | objectPath | |||
| ) | [inline, virtual] |
Definition at line 559 of file HistogramSvc.h.
00560 { return DataSvc::unregisterObject(__cast(obj),objectPath); }
| virtual StatusCode HistogramSvc::unregisterObject | ( | Base * | obj, | |
| int | item | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 561 of file HistogramSvc.h.
00562 { return DataSvc::unregisterObject(__cast(obj),item); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | full, | |
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | full, | |
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | full, | |
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | full, | |
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | full, | |
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | parent, | |
| CSTR | rel, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | parent, | |
| CSTR | rel, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | parent, | |
| CSTR | rel, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | parent, | |
| CSTR | rel, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | parent, | |
| CSTR | rel, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | parent, | |
| int | item, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | parent, | |
| int | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | parent, | |
| int | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | parent, | |
| int | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | parent, | |
| int | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | DataObject * | par, | |
| CSTR | item, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | DataObject * | par, | |
| CSTR | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | DataObject * | par, | |
| CSTR | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | DataObject * | par, | |
| CSTR | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | DataObject * | par, | |
| CSTR | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | DataObject * | par, | |
| int | item, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | DataObject * | par, | |
| int | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | DataObject * | par, | |
| int | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | DataObject * | par, | |
| int | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | DataObject * | par, | |
| int | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| int | item, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| int | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| int | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| int | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| int | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| CSTR | item, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| CSTR | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| CSTR | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| CSTR | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| CSTR | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | full, | |
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | full, | |
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | full, | |
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | full, | |
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | full, | |
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | par, | |
| CSTR | rel, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | par, | |
| CSTR | rel, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | par, | |
| CSTR | rel, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | par, | |
| CSTR | rel, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | par, | |
| CSTR | rel, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | par, | |
| int | item, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | par, | |
| int | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | par, | |
| int | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | par, | |
| int | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | par, | |
| int | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | DataObject * | par, | |
| int | item, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | DataObject * | par, | |
| int | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | DataObject * | par, | |
| int | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | DataObject * | par, | |
| int | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | DataObject * | par, | |
| int | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | DataObject * | par, | |
| CSTR | item, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | DataObject * | par, | |
| CSTR | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | DataObject * | par, | |
| CSTR | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | DataObject * | par, | |
| CSTR | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | DataObject * | par, | |
| CSTR | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| int | item, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| int | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| int | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| int | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| int | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| CSTR | item, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| CSTR | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| CSTR | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| CSTR | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| CSTR | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
| bool HistogramSvc::destroy | ( | IBaseHistogram * | hist | ) |
Definition at line 356 of file HistogramSvc.cpp.
00356 { 00357 StatusCode sc = unregisterObject( dynamic_cast<IHistogram*>(hist) ); 00358 if ( !sc.isSuccess() ) return false; 00359 if ( hist ) delete hist; 00360 return true; 00361 }
Definition at line 765 of file HistogramSvc.h.
00766 { return Helper::act(createCopy(nameAndTitle,a),b,&TH1::Add, 1.); }
Definition at line 767 of file HistogramSvc.h.
00768 { return Helper::act(createCopy(nameAndTitle,a),b,&TH1::Add,-1.); }
Definition at line 769 of file HistogramSvc.h.
00770 { return Helper::act(createCopy(nameAndTitle,a),b,&TH1::Multiply); }
Definition at line 771 of file HistogramSvc.h.
00772 { return Helper::act(createCopy(nameAndTitle,a),b,&TH1::Divide); }
Definition at line 774 of file HistogramSvc.h.
00775 { return Helper::act(createCopy(nameAndTitle,a),b,&TH2D::Add, 1.); }
Definition at line 776 of file HistogramSvc.h.
00777 { return Helper::act(createCopy(nameAndTitle,a),b,&TH2D::Add,-1.); }
Definition at line 778 of file HistogramSvc.h.
00779 { return Helper::act(createCopy(nameAndTitle,a),b,&TH2D::Multiply); }
Definition at line 780 of file HistogramSvc.h.
00781 { return Helper::act(createCopy(nameAndTitle,a),b,&TH2D::Divide); }
Definition at line 783 of file HistogramSvc.h.
00784 { return Helper::act(createCopy(nameAndTitle,a),b,&TH3D::Add, 1.); }
Definition at line 785 of file HistogramSvc.h.
00786 { return Helper::act(createCopy(nameAndTitle,a),b,&TH3D::Add,-1.); }
Definition at line 787 of file HistogramSvc.h.
00788 { return Helper::act(createCopy(nameAndTitle,a),b,&TH3D::Multiply); }
Definition at line 789 of file HistogramSvc.h.
00790 { return Helper::act(createCopy(nameAndTitle,a),b,&TH3D::Divide); }
Definition at line 813 of file HistogramSvc.h.
00814 { return createCopy(createPath(par), rel, h); }
Definition at line 815 of file HistogramSvc.h.
00816 { return createCopy(loc.first, loc.second, h); }
| H1D* HistogramSvc::createCopy | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| const H1D & | h | |||
| ) | [inline] |
Definition at line 817 of file HistogramSvc.h.
00818 { return i_book(pPar, rel, h.title(), Gaudi::createH1D(h)); }
Definition at line 830 of file HistogramSvc.h.
00831 { return createCopy(createPath(par), rel, h); }
Definition at line 832 of file HistogramSvc.h.
00833 { return createCopy(loc.first, loc.second, h); }
| H2D* HistogramSvc::createCopy | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| const H2D & | h | |||
| ) | [inline] |
Definition at line 834 of file HistogramSvc.h.
00835 { return i_book(pPar, rel, h.title(), Gaudi::createH2D(h)); }
Definition at line 847 of file HistogramSvc.h.
00848 { return createCopy(createPath(par), rel, h); }
Definition at line 849 of file HistogramSvc.h.
00850 { return createCopy(loc.first, loc.second, h); }
| H3D* HistogramSvc::createCopy | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| const H3D & | h | |||
| ) | [inline] |
Definition at line 851 of file HistogramSvc.h.
00852 { return i_book(pPar, rel, h.title(), Gaudi::createH3D(h)); }
Definition at line 873 of file HistogramSvc.h.
00874 { return createCopy(createPath(par), rel, h); }
Definition at line 875 of file HistogramSvc.h.
00876 { return createCopy(loc.first, loc.second, h); }
| P1D* HistogramSvc::createCopy | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| const P1D & | h | |||
| ) | [inline] |
Definition at line 877 of file HistogramSvc.h.
00878 { return i_book(pPar, rel, h.title(), Gaudi::createProf1D(h)); }
Definition at line 900 of file HistogramSvc.h.
00901 { return createCopy(createPath(par), rel, h); }
Definition at line 902 of file HistogramSvc.h.
00903 { return createCopy(loc.first, loc.second, h); }
| P2D* HistogramSvc::createCopy | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| const P2D & | h | |||
| ) | [inline] |
Definition at line 904 of file HistogramSvc.h.
00905 { return i_book(pPar, rel, h.title(), Gaudi::createProf2D(h)); }
| virtual std::ostream& HistogramSvc::print | ( | Base * | h, | |
| std::ostream & | s = std::cout | |||
| ) | const [virtual] |
| virtual std::ostream& HistogramSvc::write | ( | Base * | h, | |
| std::ostream & | s = std::cout | |||
| ) | const [virtual] |
| DataObject * HistogramSvc::createPath | ( | CSTR | newPath | ) | [virtual] |
Create all directories in a given full path.
Definition at line 150 of file HistogramSvc.cpp.
00150 { 00151 std::string tmpPath = newPath; 00152 if (tmpPath[0] != SEPARATOR) { 00153 tmpPath.insert(tmpPath.begin(), SEPARATOR); 00154 tmpPath.insert(tmpPath.begin(), m_rootName.begin(), m_rootName.end()); 00155 } 00156 // Remove trailing "/" from newPath if it exists 00157 if (tmpPath.rfind(SEPARATOR) == tmpPath.length()-1) { 00158 tmpPath.erase(tmpPath.rfind(SEPARATOR),1); 00159 } 00160 DataObject* pObject = 0; 00161 StatusCode sc = DataSvc::findObject(tmpPath, pObject); 00162 if(sc.isSuccess()) { 00163 return pObject; 00164 } 00165 int sep = tmpPath.rfind(SEPARATOR); 00166 std::string rest(tmpPath, sep+1, tmpPath.length()-sep); 00167 std::string subPath(tmpPath, 0, sep); 00168 if(0 != sep) { 00169 createPath(subPath); 00170 } 00171 else { 00172 MsgStream log(msgSvc(), name()); 00173 log << MSG::ERROR << "Unable to create the histogram path" << endmsg; 00174 return 0; 00175 } 00176 pObject = createDirectory(subPath, rest); 00177 return pObject; 00178 }
| DataObject * HistogramSvc::createDirectory | ( | CSTR | parentDir, | |
| CSTR | subDir | |||
| ) | [virtual] |
Create a sub-directory in a directory.
| parentDir | name of the parent directory | |
| subDir | to identify the histogram object in the store |
Definition at line 180 of file HistogramSvc.cpp.
00180 { 00181 DataObject* directory = new DataObject(); 00182 if (0 != directory) { 00183 DataObject* pnode; 00184 StatusCode status = DataSvc::retrieveObject(parentDir, pnode); 00185 if(status.isSuccess()) { 00186 status = DataSvc::registerObject(pnode, subDir, directory); 00187 if (!status.isSuccess()) { 00188 MsgStream log(msgSvc(), name()); 00189 log << MSG::ERROR << "Unable to create the histogram directory: " 00190 << parentDir << "/" << subDir << endmsg; 00191 delete directory; 00192 return 0; 00193 } 00194 } 00195 else { 00196 MsgStream log(msgSvc(), name()); 00197 log << MSG::ERROR << "Unable to create the histogram directory: " 00198 << parentDir << "/" << subDir << endmsg; 00199 delete directory; 00200 return 0; 00201 } 00202 } 00203 return directory; 00204 }
| void HistogramSvc::update1Ddefs | ( | Property & | ) |
handler to be invoked for updating property m_defs1D
Definition at line 428 of file HistogramSvc.cpp.
00429 { 00430 // check and remove the leading '/stat/' 00431 removeLeading ( m_defs1D , "/stat/" ) ; 00432 }
friend class SvcFactory< HistogramSvc > [friend] |
Definition at line 55 of file HistogramSvc.h.
DBaseEntries HistogramSvc::m_input [protected] |
| H2D* const H3D HistogramSvc::int |
Definition at line 799 of file HistogramSvc.h.
Definition at line 803 of file HistogramSvc.h.
Histo1DMap HistogramSvc::m_defs1D [private] |
Definition at line 951 of file HistogramSvc.h.
std::set<std::string> HistogramSvc::m_mods1D [private] |
Definition at line 954 of file HistogramSvc.h.