![]() |
|
|
Generated: 24 Nov 2008 |
#include <HistogramSvc.h>


Definition at line 47 of file 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 StatusCode | queryInterface (const InterfaceID &iid, void **ppv) |
| Query the interface. | |
| 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) |
| AIDA::ICloud1D * | createCloud1D (CSTR, CSTR, int, CSTR) NOT_IMPLEMENTED AIDA |
| virtual StatusCode | registerObject (CSTR parPath, CSTR rel, DataObject *obj) |
| Register object with the data store. | |
| virtual StatusCode | registerObject (CSTR parPath, int item, DataObject *obj) |
| Register object with the data store. | |
| virtual StatusCode | registerObject (DataObject *pPar, CSTR rel, DataObject *obj) |
| Register object with the data store. | |
| virtual StatusCode | registerObject (DataObject *pPar, int item, DataObject *obj) |
| Register object with the data store. | |
| virtual StatusCode | unregisterObject (CSTR full) |
| Unregister object from the data store. | |
| virtual StatusCode | unregisterObject (CSTR parPath, CSTR objectPath) |
| Unregister object from the data store. | |
| virtual StatusCode | unregisterObject (CSTR parPath, int item) |
| Unregister object from the data store. | |
| virtual StatusCode | unregisterObject (DataObject *obj) |
| Unregister object from the data store. | |
| virtual StatusCode | unregisterObject (DataObject *obj, CSTR objectPath) |
| Unregister object from the data store. | |
| virtual StatusCode | unregisterObject (DataObject *obj, int item) |
| Unregister object from the data store. | |
| virtual StatusCode | retrieveObject (IRegistry *dir, CSTR path, DataObject *&obj) |
| Retrieve object from data store. | |
| virtual StatusCode | retrieveObject (CSTR full, DataObject *&obj) |
| Retrieve object identified by its full path from the data store. | |
| virtual StatusCode | retrieveObject (CSTR parPath, CSTR rel, DataObject *&obj) |
| Retrieve object from data store. | |
| virtual StatusCode | retrieveObject (CSTR parPath, int item, DataObject *&obj) |
| Retrieve object from data store. | |
| virtual StatusCode | retrieveObject (DataObject *pPar, CSTR rel, DataObject *&obj) |
| Retrieve object from data store. | |
| virtual StatusCode | retrieveObject (DataObject *pPar, int item, DataObject *&obj) |
| Retrieve object from data store. | |
| virtual StatusCode | findObject (CSTR full, DataObject *&obj) |
| Find object identified by its full path in the data store. | |
| virtual StatusCode | findObject (IRegistry *dir, CSTR path, DataObject *&obj) |
| Find object identified by its full path in the data store. | |
| virtual StatusCode | findObject (CSTR parPath, CSTR rel, DataObject *&obj) |
| Find object in the data store. | |
| virtual StatusCode | findObject (CSTR parPath, int item, DataObject *&obj) |
| Find object in the data store. | |
| virtual StatusCode | findObject (DataObject *pPar, CSTR rel, DataObject *&obj) |
| Find object in the data store. | |
| virtual StatusCode | findObject (DataObject *pPar, int item, DataObject *&obj) |
| Find object in the data store. | |
| 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 |
typedef const std::pair<std::string,std::string>& HistogramSvc::STRPAIR [private] |
Definition at line 55 of file HistogramSvc.h.
typedef const std::string& HistogramSvc::CSTR [protected] |
Definition at line 61 of file HistogramSvc.h.
typedef std::vector<double> HistogramSvc::Edges [protected] |
Definition at line 62 of file HistogramSvc.h.
typedef std::vector<std::string> HistogramSvc::DBaseEntries [protected] |
Definition at line 63 of file HistogramSvc.h.
typedef AIDA::IHistogram1D HistogramSvc::H1D [protected] |
Definition at line 64 of file HistogramSvc.h.
typedef AIDA::IHistogram2D HistogramSvc::H2D [protected] |
Definition at line 65 of file HistogramSvc.h.
typedef AIDA::IHistogram3D HistogramSvc::H3D [protected] |
Definition at line 66 of file HistogramSvc.h.
typedef AIDA::IProfile1D HistogramSvc::P1D [protected] |
Definition at line 67 of file HistogramSvc.h.
typedef AIDA::IProfile2D HistogramSvc::P2D [protected] |
Definition at line 68 of file HistogramSvc.h.
typedef AIDA::IBaseHistogram HistogramSvc::Base [protected] |
Definition at line 69 of file HistogramSvc.h.
| typedef std::map<std::string,Gaudi::Histo1DDef> HistogramSvc::Histo1DMap |
Definition at line 1002 of file HistogramSvc.h.
| HistogramSvc::HistogramSvc | ( | CSTR | name, | |
| ISvcLocator * | svc | |||
| ) |
Statndard Constructor.
| name | service name | |
| pointer | to service locator interface |
Definition at line 394 of file HistogramSvc.cpp.
00395 : DataSvc(nam, svc) 00396 , m_defs1D () 00397 , m_mods1D () 00398 { 00399 // Properties can be declared here 00400 m_rootName = "/stat"; 00401 m_rootCLID = CLID_DataObject; 00402 declareProperty ( "Input", m_input); 00403 declareProperty ( "Predefined1DHistos" , m_defs1D , 00404 "Histograms with predefined parameters" ) ; 00405 // update handler 00406 Property* p = Gaudi::Utils::getProperty ( this , "Predefined1DHistos" ) ; 00407 p->declareUpdateHandler ( &HistogramSvc::update1Ddefs , this ) ; 00408 00409 }
| HistogramSvc::~HistogramSvc | ( | ) | [virtual] |
Destructor.
Definition at line 201 of file HistogramSvc.cpp.
00201 { 00202 setDataLoader( 0 ).ignore(); 00203 clearStore().ignore(); 00204 }
| void HistogramSvc::not_implemented | ( | ) | const [inline, private] |
Definition at line 56 of file HistogramSvc.h.
00056 { 00057 MsgStream log( msgSvc(), name() ); 00058 log << MSG::ERROR << "Sorry, not yet implemented..." << endreq; 00059 }
| 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 130 of file HistogramSvc.cpp.
00130 { 00131 std::string tmp = full; 00132 if (tmp[0] != SEPARATOR) { 00133 tmp.insert(tmp.begin(), SEPARATOR); 00134 tmp.insert(tmp.begin(), m_rootName.begin(), m_rootName.end()); 00135 } 00136 // Remove trailing "/" from newPath if it exists 00137 if (tmp.rfind(SEPARATOR) == tmp.length()-1) { 00138 tmp.erase(tmp.rfind(SEPARATOR),1); 00139 } 00140 int sep = tmp.rfind(SEPARATOR); 00141 return std::pair<std::string,std::string> 00142 (tmp.substr(0,sep),tmp.substr(sep,tmp.length()-sep)); 00143 }
| StatusCode HistogramSvc::connectInput | ( | CSTR | ident | ) |
Connect input histogram file to the service.
| ident | [IN] Input specification |
Definition at line 206 of file HistogramSvc.cpp.
00206 { 00207 MsgStream log (msgSvc(), name()); 00208 DataObject* pO = 0; 00209 StatusCode status = findObject(m_rootName, pO); 00210 if (status.isSuccess()) { 00211 Tokenizer tok(true); 00212 std::string::size_type loc = ident.find(" "); 00213 std::string filename, auth, svc = "", typ = ""; 00214 std::string logname = ident.substr(0,loc); 00215 tok.analyse(ident.substr(loc+1,ident.length()), " ", "", "", "=", "'", "'"); 00216 for (Tokenizer::Items::iterator i = tok.items().begin(); 00217 i != tok.items().end(); i++) { 00218 CSTR tag = (*i).tag(); 00219 switch(::toupper(tag[0])) { 00220 case 'F': // FILE='<file name>' 00221 case 'D': // DATAFILE='<file name>' 00222 filename = (*i).value(); 00223 break; 00224 case 'T': // TYP='<HBOOK,ROOT,OBJY,...>' 00225 typ = (*i).value(); 00226 break; 00227 default: 00228 break; 00229 } 00230 } 00231 if (typ.length() > 0) { 00232 // Now add the registry entry to the store 00233 std::string entryname = m_rootName; 00234 entryname += '/'; 00235 entryname += logname; 00236 GenericAddress* pA = 0; 00237 switch(::toupper(typ[0])) { 00238 case 'H': 00239 pA=new GenericAddress(HBOOK_StorageType,CLID_StatisticsFile, 00240 filename,entryname,0,'O'); 00241 break; 00242 case 'R': 00243 pA=new GenericAddress(ROOT_StorageType,CLID_StatisticsFile, 00244 filename,entryname,0,'O'); 00245 break; 00246 } 00247 if (0 != pA) { 00248 status = registerAddress(pO, logname, pA); 00249 if (status.isSuccess()) { 00250 log << MSG::INFO << "Added stream file:" << filename 00251 << " as " << logname << endreq; 00252 return status; 00253 } 00254 pA->release(); 00255 } 00256 } 00257 } 00258 log << MSG::ERROR << "Cannot add " << ident << " invalid filename!" << endreq; 00259 return StatusCode::FAILURE; 00260 }
| std::string HistogramSvc::_STR | ( | int | i | ) |
Definition at line 57 of file HistogramSvc.cpp.
00057 { 00058 char txt[32]; 00059 return _itoa(i, txt, 10); 00060 }
| T* HistogramSvc::i_book | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| const std::pair< DataObject *, T * > & | o | |||
| ) | [inline] |
Definition at line 147 of file HistogramSvc.h.
00147 { 00148 if (o.first && registerObject(pPar, rel, (Base*)o.second).isSuccess()) 00149 return o.second; 00150 delete o.first; 00151 throw GaudiException("Cannot book "+System::typeinfoName(typeid(T))+" "+title, 00152 "HistogramSvc",StatusCode::FAILURE); 00153 }
| static DataObject* HistogramSvc::__cast | ( | T * | p | ) | [inline, static] |
Definition at line 154 of file HistogramSvc.h.
00154 { 00155 DataObject* q = dynamic_cast<DataObject*>(p); 00156 if ( 0 == q && 0 != p ) { 00157 throw std::runtime_error("HistogramSvc: Unexpected object type."); 00158 } 00159 return q; 00160 }
Helper for 2D projections.
| StatusCode HistogramSvc::initialize | ( | ) | [virtual] |
Initialise the service.
Reimplemented from DataSvc.
Definition at line 262 of file HistogramSvc.cpp.
00262 { 00263 MsgStream log(msgSvc(), name()); 00264 StatusCode status = DataSvc::initialize(); 00265 // Set root object 00266 if (status.isSuccess()) { 00267 DataObject* rootObj = new DataObject(); 00268 status = setRoot("/stat", rootObj); 00269 if (!status.isSuccess()) { 00270 log << MSG::ERROR << "Unable to set hstogram data store root." << endreq; 00271 delete rootObj; 00272 return status; 00273 } 00274 IConversionSvc* svc = 0; 00275 status = service("HistogramPersistencySvc",svc,true); 00276 if ( status.isSuccess() ) { 00277 setDataLoader( svc ).ignore(); 00278 svc->release(); 00279 } 00280 else { 00281 log << MSG::ERROR << "Could not find HistogramPersistencySvc." << endreq; 00282 return status; 00283 } 00284 // Connect all input streams (if any) 00285 for (DBaseEntries::iterator j = m_input.begin(); j != m_input.end(); j++) { 00286 status = connectInput(*j); 00287 if (!status.isSuccess()) { 00288 return status; 00289 } 00290 } 00291 } 00292 if ( !m_defs1D.empty() ) 00293 { 00294 log << MSG::INFO << " Predefined 1D-Histograms: " << endreq ; 00295 for ( Histo1DMap::const_iterator ih = m_defs1D.begin() ; 00296 m_defs1D.end() != ih ; ++ih ) 00297 { 00298 log << MSG::INFO 00299 << " Path='" << ih->first << "'" 00300 << " Description " << ih->second << endreq ; 00301 } 00302 } 00303 return status; 00304 }
| StatusCode HistogramSvc::reinitialize | ( | ) | [virtual] |
Initialise the service.
Reimplemented from DataSvc.
Definition at line 306 of file HistogramSvc.cpp.
00306 { 00307 return StatusCode::SUCCESS; 00308 }
| StatusCode HistogramSvc::finalize | ( | void | ) | [virtual] |
finalize the service
Reimplemented from DataSvc.
Definition at line 441 of file HistogramSvc.cpp.
00442 { 00443 if ( !m_mods1D.empty() ) 00444 { 00445 MsgStream log ( msgSvc () , name () ) ; 00446 log << MSG::DEBUG 00447 << " Substituted histograms #" << m_mods1D.size() << " : " << endreq ; 00448 for ( std::set<std::string>::const_iterator ih = m_mods1D.begin() ; 00449 m_mods1D.end() != ih ; ++ih ) 00450 { 00451 log << MSG::DEBUG << " Path='" << (*ih) << "'" ; 00452 Histo1DMap::const_iterator im = m_defs1D.find( *ih ) ; 00453 if ( m_defs1D.end() != im ) { log << " " << im->second ; } 00454 } 00455 m_mods1D.clear() ; 00456 } 00457 return DataSvc::finalize () ; 00458 }
| StatusCode HistogramSvc::queryInterface | ( | const InterfaceID & | iid, | |
| void ** | ppv | |||
| ) | [virtual] |
Query the interface.
| iid | requested interface ID | |
| ppv | pointer to requested interface |
Reimplemented from DataSvc.
Definition at line 311 of file HistogramSvc.cpp.
00311 { 00312 if(riid == IID_IHistogramSvc) { 00313 *ppvInterface = static_cast<IHistogramSvc*>(this); 00314 addRef(); 00315 return StatusCode::SUCCESS; 00316 } 00317 // Interface is not directly availible: try out a base class 00318 return DataSvc::queryInterface(riid, ppvInterface); 00319 }
| virtual AIDA::IHistogramFactory* HistogramSvc::histogramFactory | ( | ) | [inline, virtual] |
Retrieve the AIDA HistogramFactory interface.
Implements IHistogramSvc.
Definition at line 179 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 201 of file HistogramSvc.h.
00202 { 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 370 of file HistogramSvc.cpp.
00371 { 00372 if ( m_defs1D.empty () ) 00373 { return i_book(pPar,rel,title,Gaudi::createH1D(title, BINS(x))); } 00374 std::string hn = histoAddr ( pPar , rel ) ; 00375 Histo1DMap::const_iterator ifound = m_defs1D.find( hn ) ; 00376 if ( m_defs1D.end() == ifound ) 00377 { return i_book(pPar,rel,title,Gaudi::createH1D(title, BINS(x))); } 00378 MsgStream log ( msgSvc() , name() ) ; 00379 log << MSG::DEBUG 00380 << " Redefine the parameters for the histogram '" + hn +"' to be " 00381 << ifound->second 00382 << endreq ; 00383 m_mods1D.insert ( hn ) ; 00384 return i_book ( pPar , rel , ifound -> second.title () , 00385 Gaudi::createH1D 00386 ( ifound -> second.title () , 00387 ifound -> second.bins () , 00388 ifound -> second.lowEdge () , 00389 ifound -> second.lowEdge () ) ) ; 00390 }
Definition at line 210 of file HistogramSvc.h.
00211 { 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 232 of file HistogramSvc.h.
00233 { return bookProf(createPath(par), rel, title, BINS(x),opt); }
| virtual P1D* HistogramSvc::bookProf | ( | CSTR | par, | |
| int | hID, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| CSTR | opt | |||
| ) | [inline, virtual] |
| 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 240 of file HistogramSvc.h.
00241 { 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 242 of file HistogramSvc.h.
00243 { 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] |
Definition at line 245 of file HistogramSvc.h.
00246 { return bookProf(createPath(par), rel, title, BINS(x), upper, lower , opt); }
| virtual P1D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| double | upper, | |||
| double | lower, | |||
| CSTR | opt | |||
| ) | [inline, virtual] |
| virtual P1D* HistogramSvc::bookProf | ( | STRPAIR | loc, | |
| 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 253 of file HistogramSvc.h.
00254 { 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 255 of file HistogramSvc.h.
00256 { 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. |
Implements IHistogramSvc.
Definition at line 274 of file HistogramSvc.h.
| virtual H1D* HistogramSvc::book | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | e | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 278 of file HistogramSvc.h.
00279 { return book(createPath(par), rel, title, e); }
Definition at line 280 of file HistogramSvc.h.
00281 { return book(loc.first, loc.second, title, e); }
Implements IHistogramSvc.
Definition at line 282 of file HistogramSvc.h.
00283 { return book(i_splitPath(full), title, e); }
| virtual H1D* HistogramSvc::book | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | e | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 284 of file HistogramSvc.h.
00285 { 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. |
Implements IHistogramSvc.
Definition at line 304 of file HistogramSvc.h.
00305 { return bookProf(i_splitPath(full), title, e); }
Implements IHistogramSvc.
Definition at line 306 of file HistogramSvc.h.
00307 { return bookProf(createPath(par), rel, title, e); }
| virtual P1D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | e | |||
| ) | [inline, virtual] |
Definition at line 312 of file HistogramSvc.h.
00313 { return bookProf(loc.first, loc.second, title, e); }
| virtual P1D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | e | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 314 of file HistogramSvc.h.
00315 { 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 317 of file HistogramSvc.h.
00318 { 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 319 of file HistogramSvc.h.
00320 { return bookProf(createPath(par), rel, title, e, upper, lower); }
| virtual P1D* HistogramSvc::bookProf | ( | CSTR | par, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | e, | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
| 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 327 of file HistogramSvc.h.
00328 { 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 349 of file HistogramSvc.h.
00350 { 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] |
Definition at line 351 of file HistogramSvc.h.
00352 { return book(createPath(par), rel, title, BINS(x),BINS(y)); }
| virtual H2D* HistogramSvc::book | ( | DataObject * | pPar, | |
| int | hID, | |||
| 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 359 of file HistogramSvc.h.
00360 { 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 381 of file HistogramSvc.h.
00382 { return bookProf(i_splitPath(full), title, BINS(x),BINS(y), upper, lower); }
| virtual P2D* HistogramSvc::bookProf | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | , | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
Definition at line 383 of file HistogramSvc.h.
00384 { return bookProf(createPath(par), rel, title, BINS(x),BINS(y), upper, lower); }
| virtual P2D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| int | hID, | |||
| 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] |
Definition at line 391 of file HistogramSvc.h.
00392 { return i_book(pPar,rel,title,Gaudi::createProf2D(title, BINS(x),BINS(y), upper, lower)); }
| virtual P2D* HistogramSvc::bookProf | ( | CSTR | full, | |
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | ||||
| ) | [inline, virtual] |
Definition at line 394 of file HistogramSvc.h.
00395 { 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] |
Definition at line 396 of file HistogramSvc.h.
00397 { return bookProf(createPath(par), rel, title, BINS(x),BINS(y)); }
| virtual P2D* HistogramSvc::bookProf | ( | STRPAIR | loc, | |
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | ||||
| ) | [inline, virtual] |
| virtual P2D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| int | hID, | |||
| 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 404 of file HistogramSvc.h.
00405 { 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. |
Implements IHistogramSvc.
Definition at line 423 of file HistogramSvc.h.
00424 { return book(i_splitPath(full), title, x, y); }
| virtual H2D* HistogramSvc::book | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 425 of file HistogramSvc.h.
00426 { return book(createPath(par), rel, title, x, y); }
| virtual H2D* HistogramSvc::book | ( | CSTR | par, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
Definition at line 429 of file HistogramSvc.h.
00430 { return book(loc.first, loc.second, title, x, y); }
| virtual H2D* HistogramSvc::book | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
| virtual H2D* HistogramSvc::book | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 433 of file HistogramSvc.h.
00434 { 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. |
Implements IHistogramSvc.
Definition at line 452 of file HistogramSvc.h.
00453 { return bookProf(i_splitPath(full), title, x, y); }
| virtual P2D* HistogramSvc::bookProf | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 454 of file HistogramSvc.h.
00455 { return bookProf(createPath(par), rel, title, x, y); }
| virtual P2D* HistogramSvc::bookProf | ( | CSTR | par, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
| virtual P2D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
Definition at line 460 of file HistogramSvc.h.
00461 { return bookProf(loc.first, loc.second, title, x, y); }
| virtual P2D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 462 of file HistogramSvc.h.
00463 { 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 465 of file HistogramSvc.h.
00466 { 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] |
Definition at line 467 of file HistogramSvc.h.
00468 { return bookProf(createPath(par), rel, title, x, y, upper, lower); }
| virtual P2D* HistogramSvc::bookProf | ( | CSTR | par, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
| virtual P2D* HistogramSvc::bookProf | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| double | upper, | |||
| double | lower | |||
| ) | [inline, virtual] |
| virtual P2D* HistogramSvc::bookProf | ( | STRPAIR | loc, | |
| 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 475 of file HistogramSvc.h.
00476 { 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 497 of file HistogramSvc.h.
00498 { return book(i_splitPath(full),title,BINS(x),BINS(y),BINS(z)); }
| virtual H3D* HistogramSvc::book | ( | CSTR | par, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| DBINS(x) | , | |||
| DBINS(y) | , | |||
| DBINS(z) | ||||
| ) | [inline, virtual] |
Definition at line 499 of file HistogramSvc.h.
00500 { return book(createPath(par),rel,title,BINS(x),BINS(y),BINS(z)); }
| virtual H3D* HistogramSvc::book | ( | DataObject * | pPar, | |
| int | hID, | |||
| 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] |
Definition at line 507 of file HistogramSvc.h.
00508 { return i_book(pPar, rel, title, Gaudi::createH3D(title,BINS(x),BINS(y),BINS(z)));}
| 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 |
Implements IHistogramSvc.
Definition at line 528 of file HistogramSvc.h.
00529 { 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] |
Implements IHistogramSvc.
Definition at line 530 of file HistogramSvc.h.
00531 { return book(createPath(par), rel, title, x, y, z); }
| virtual H3D* HistogramSvc::book | ( | CSTR | par, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| Edges | z | |||
| ) | [inline, virtual] |
| virtual H3D* HistogramSvc::book | ( | DataObject * | pPar, | |
| int | hID, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| Edges | z | |||
| ) | [inline, virtual] |
| virtual H3D* HistogramSvc::book | ( | STRPAIR | loc, | |
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| Edges | z | |||
| ) | [inline, virtual] |
Definition at line 536 of file HistogramSvc.h.
00537 { return book(loc.first, loc.second, title, x,y,z); }
| virtual H3D* HistogramSvc::book | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| CSTR | title, | |||
| Edges | x, | |||
| Edges | y, | |||
| Edges | z | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 538 of file HistogramSvc.h.
00539 { return i_book(pPar, rel, title, Gaudi::createH3D(title,x,y,z)); }
| virtual StatusCode HistogramSvc::registerObject | ( | CSTR | parent, | |
| CSTR | rel, | |||
| Base * | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 547 of file HistogramSvc.h.
00548 { return registerObject(createPath(parent), rel, obj); }
| virtual StatusCode HistogramSvc::registerObject | ( | CSTR | parent, | |
| int | item, | |||
| Base * | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 549 of file HistogramSvc.h.
00550 { return registerObject(parent, _STR(item), obj); }
| virtual StatusCode HistogramSvc::registerObject | ( | Base * | pPar, | |
| CSTR | rel, | |||
| Base * | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 551 of file HistogramSvc.h.
00552 { return registerObject(__cast(pPar), rel, obj); }
| virtual StatusCode HistogramSvc::registerObject | ( | DataObject * | pPar, | |
| int | item, | |||
| Base * | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 553 of file HistogramSvc.h.
00554 { return registerObject(pPar, _STR(item), obj); }
| virtual StatusCode HistogramSvc::registerObject | ( | Base * | pPar, | |
| int | item, | |||
| Base * | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 555 of file HistogramSvc.h.
00556 { return registerObject(__cast(pPar), item, obj); }
| virtual StatusCode HistogramSvc::registerObject | ( | CSTR | full, | |
| Base * | obj | |||
| ) | [virtual] |
Implements IHistogramSvc.
| virtual StatusCode HistogramSvc::registerObject | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| Base * | obj | |||
| ) | [virtual] |
Implements IHistogramSvc.
| virtual StatusCode HistogramSvc::unregisterObject | ( | Base * | obj | ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 562 of file HistogramSvc.h.
00563 { return DataSvc::unregisterObject(__cast(obj)); }
| virtual StatusCode HistogramSvc::unregisterObject | ( | Base * | obj, | |
| CSTR | objectPath | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 564 of file HistogramSvc.h.
00565 { return DataSvc::unregisterObject(__cast(obj),objectPath); }
| virtual StatusCode HistogramSvc::unregisterObject | ( | Base * | obj, | |
| int | item | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 566 of file HistogramSvc.h.
00567 { return DataSvc::unregisterObject(__cast(obj),item); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 571 of file HistogramSvc.h.
00572 { return Helper(this).retrieve(pReg,path,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 573 of file HistogramSvc.h.
00574 { return Helper(this).retrieve(pReg,path,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 575 of file HistogramSvc.h.
00576 { return Helper(this).retrieve(pReg,path,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 577 of file HistogramSvc.h.
00578 { return Helper(this).retrieve(pReg,path,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 579 of file HistogramSvc.h.
00580 { return Helper(this).retrieve(pReg,path,obj); }
| 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] |
Implements IHistogramSvc.
Definition at line 637 of file HistogramSvc.h.
00638 { return Helper(this).retrieve(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| int | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 639 of file HistogramSvc.h.
00640 { return Helper(this).retrieve(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| int | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 641 of file HistogramSvc.h.
00642 { return Helper(this).retrieve(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| int | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 643 of file HistogramSvc.h.
00644 { return Helper(this).retrieve(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| int | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 645 of file HistogramSvc.h.
00646 { return Helper(this).retrieve(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| CSTR | item, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 648 of file HistogramSvc.h.
00649 { return Helper(this).retrieve(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| CSTR | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 650 of file HistogramSvc.h.
00651 { return Helper(this).retrieve(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| CSTR | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 652 of file HistogramSvc.h.
00653 { return Helper(this).retrieve(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| CSTR | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 654 of file HistogramSvc.h.
00655 { return Helper(this).retrieve(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | Base * | par, | |
| CSTR | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 656 of file HistogramSvc.h.
00657 { return Helper(this).retrieve(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 666 of file HistogramSvc.h.
00667 { return Helper(this).find(pReg,path,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 668 of file HistogramSvc.h.
00669 { return Helper(this).find(pReg,path,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 670 of file HistogramSvc.h.
00671 { return Helper(this).find(pReg,path,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 672 of file HistogramSvc.h.
00673 { return Helper(this).find(pReg,path,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | IRegistry * | pReg, | |
| CSTR | path, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 674 of file HistogramSvc.h.
00675 { return Helper(this).find(pReg,path,obj); }
| 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] |
Implements IHistogramSvc.
Definition at line 732 of file HistogramSvc.h.
00733 { return Helper(this).find(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| int | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 734 of file HistogramSvc.h.
00735 { return Helper(this).find(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| int | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 736 of file HistogramSvc.h.
00737 { return Helper(this).find(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| int | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 738 of file HistogramSvc.h.
00739 { return Helper(this).find(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| int | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 740 of file HistogramSvc.h.
00741 { return Helper(this).find(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| CSTR | item, | |||
| P1D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 743 of file HistogramSvc.h.
00744 { return Helper(this).find(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| CSTR | item, | |||
| P2D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 745 of file HistogramSvc.h.
00746 { return Helper(this).find(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| CSTR | item, | |||
| H1D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 747 of file HistogramSvc.h.
00748 { return Helper(this).find(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| CSTR | item, | |||
| H2D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 749 of file HistogramSvc.h.
00750 { return Helper(this).find(__cast(par),item,obj); }
| virtual StatusCode HistogramSvc::findObject | ( | Base * | par, | |
| CSTR | item, | |||
| H3D *& | obj | |||
| ) | [inline, virtual] |
Implements IHistogramSvc.
Definition at line 751 of file HistogramSvc.h.
00752 { return Helper(this).find(__cast(par),item,obj); }
| bool HistogramSvc::destroy | ( | IBaseHistogram * | hist | ) |
Definition at line 362 of file HistogramSvc.cpp.
00362 { 00363 StatusCode sc = unregisterObject( dynamic_cast<IHistogram*>(hist) ); 00364 if ( !sc.isSuccess() ) return false; 00365 if ( hist ) delete hist; 00366 return true; 00367 }
Definition at line 770 of file HistogramSvc.h.
00771 { return Helper::act(createCopy(nameAndTitle,a),b,&TH1::Add, 1.); }
Definition at line 772 of file HistogramSvc.h.
00773 { return Helper::act(createCopy(nameAndTitle,a),b,&TH1::Add,-1.); }
Definition at line 774 of file HistogramSvc.h.
00775 { return Helper::act(createCopy(nameAndTitle,a),b,&TH1::Multiply); }
Definition at line 776 of file HistogramSvc.h.
00777 { return Helper::act(createCopy(nameAndTitle,a),b,&TH1::Divide); }
Definition at line 779 of file HistogramSvc.h.
00780 { return Helper::act(createCopy(nameAndTitle,a),b,&TH2D::Add, 1.); }
Definition at line 781 of file HistogramSvc.h.
00782 { return Helper::act(createCopy(nameAndTitle,a),b,&TH2D::Add,-1.); }
Definition at line 783 of file HistogramSvc.h.
00784 { return Helper::act(createCopy(nameAndTitle,a),b,&TH2D::Multiply); }
Definition at line 785 of file HistogramSvc.h.
00786 { return Helper::act(createCopy(nameAndTitle,a),b,&TH2D::Divide); }
Definition at line 788 of file HistogramSvc.h.
00789 { return Helper::act(createCopy(nameAndTitle,a),b,&TH3D::Add, 1.); }
Definition at line 790 of file HistogramSvc.h.
00791 { return Helper::act(createCopy(nameAndTitle,a),b,&TH3D::Add,-1.); }
Definition at line 792 of file HistogramSvc.h.
00793 { return Helper::act(createCopy(nameAndTitle,a),b,&TH3D::Multiply); }
Definition at line 794 of file HistogramSvc.h.
00795 { return Helper::act(createCopy(nameAndTitle,a),b,&TH3D::Divide); }
Definition at line 818 of file HistogramSvc.h.
00819 { return createCopy(createPath(par), rel, h); }
Definition at line 820 of file HistogramSvc.h.
00821 { return createCopy(loc.first, loc.second, h); }
| H1D* HistogramSvc::createCopy | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| const H1D & | h | |||
| ) | [inline] |
Definition at line 822 of file HistogramSvc.h.
00823 { return i_book(pPar, rel, h.title(), Gaudi::createH1D(h)); }
Definition at line 835 of file HistogramSvc.h.
00836 { return createCopy(createPath(par), rel, h); }
Definition at line 837 of file HistogramSvc.h.
00838 { return createCopy(loc.first, loc.second, h); }
| H2D* HistogramSvc::createCopy | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| const H2D & | h | |||
| ) | [inline] |
Definition at line 839 of file HistogramSvc.h.
00840 { return i_book(pPar, rel, h.title(), Gaudi::createH2D(h)); }
Definition at line 852 of file HistogramSvc.h.
00853 { return createCopy(createPath(par), rel, h); }
Definition at line 854 of file HistogramSvc.h.
00855 { return createCopy(loc.first, loc.second, h); }
| H3D* HistogramSvc::createCopy | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| const H3D & | h | |||
| ) | [inline] |
Definition at line 856 of file HistogramSvc.h.
00857 { return i_book(pPar, rel, h.title(), Gaudi::createH3D(h)); }
| P1D* HistogramSvc::createProfile1D | ( | CSTR | name, | |
| CSTR | title, | |||
| const Edges & | x, | |||
| double | upper, | |||
| double | lower, | |||
| CSTR | ||||
| ) | [inline] |
Definition at line 878 of file HistogramSvc.h.
00879 { return createCopy(createPath(par), rel, h); }
Definition at line 880 of file HistogramSvc.h.
00881 { return createCopy(loc.first, loc.second, h); }
| P1D* HistogramSvc::createCopy | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| const P1D & | h | |||
| ) | [inline] |
Definition at line 882 of file HistogramSvc.h.
00883 { return i_book(pPar, rel, h.title(), Gaudi::createProf1D(h)); }
| P2D* HistogramSvc::createProfile2D | ( | CSTR | name, | |
| CSTR | title, | |||
| const Edges & | x, | |||
| const Edges & | y, | |||
| double | upper, | |||
| double | lower, | |||
| CSTR | ||||
| ) | [inline] |
Definition at line 905 of file HistogramSvc.h.
00906 { return createCopy(createPath(par), rel, h); }
Definition at line 907 of file HistogramSvc.h.
00908 { return createCopy(loc.first, loc.second, h); }
| P2D* HistogramSvc::createCopy | ( | DataObject * | pPar, | |
| CSTR | rel, | |||
| const P2D & | h | |||
| ) | [inline] |
Definition at line 909 of file HistogramSvc.h.
00910 { return i_book(pPar, rel, h.title(), Gaudi::createProf2D(h)); }
Definition at line 912 of file HistogramSvc.h.
00927 { return DataSvc::registerObject(full, obj ); }
| virtual StatusCode HistogramSvc::registerObject | ( | CSTR | parentPath, | |
| CSTR | objPath, | |||
| DataObject * | pObject | |||
| ) | [inline, virtual] |
Register object with the data store.
Reimplemented from DataSvc.
Definition at line 928 of file HistogramSvc.h.
00929 { return DataSvc::registerObject(parPath, rel, obj ); }
| virtual StatusCode HistogramSvc::registerObject | ( | CSTR | parentPath, | |
| int | item, | |||
| DataObject * | pObject | |||
| ) | [inline, virtual] |
Register object with the data store.
Reimplemented from DataSvc.
Definition at line 930 of file HistogramSvc.h.
00931 { return DataSvc::registerObject(parPath, item, obj ); }
| virtual StatusCode HistogramSvc::registerObject | ( | DataObject * | parentObj, | |
| CSTR | objPath, | |||
| DataObject * | pObject | |||
| ) | [inline, virtual] |
Register object with the data store.
Reimplemented from DataSvc.
Definition at line 932 of file HistogramSvc.h.
00933 { return DataSvc::registerObject(pPar, rel, obj ); }
| virtual StatusCode HistogramSvc::registerObject | ( | DataObject * | parentObj, | |
| int | item, | |||
| DataObject * | pObject | |||
| ) | [inline, virtual] |
Register object with the data store.
Reimplemented from DataSvc.
Definition at line 934 of file HistogramSvc.h.
00935 { return DataSvc::registerObject(pPar, item, obj ); }
| virtual StatusCode HistogramSvc::unregisterObject | ( | CSTR | full | ) | [inline, virtual] |
Unregister object from the data store.
Reimplemented from DataSvc.
Definition at line 938 of file HistogramSvc.h.
00939 { return DataSvc::unregisterObject(full ); }
| virtual StatusCode HistogramSvc::unregisterObject | ( | CSTR | parentPath, | |
| CSTR | objectPath | |||
| ) | [inline, virtual] |
Unregister object from the data store.
Reimplemented from DataSvc.
Definition at line 940 of file HistogramSvc.h.
00941 { return DataSvc::unregisterObject(parPath, objectPath ); }
| virtual StatusCode HistogramSvc::unregisterObject | ( | CSTR | parentPath, | |
| int | item | |||
| ) | [inline, virtual] |
Unregister object from the data store.
Reimplemented from DataSvc.
Definition at line 942 of file HistogramSvc.h.
00943 { return DataSvc::unregisterObject(parPath, item ); }
| virtual StatusCode HistogramSvc::unregisterObject | ( | DataObject * | pObject | ) | [inline, virtual] |
Unregister object from the data store.
Reimplemented from DataSvc.
Definition at line 944 of file HistogramSvc.h.
00945 { return DataSvc::unregisterObject(obj ); }
| virtual StatusCode HistogramSvc::unregisterObject | ( | DataObject * | pObject, | |
| CSTR | objectPath | |||
| ) | [inline, virtual] |
Unregister object from the data store.
Reimplemented from DataSvc.
Definition at line 946 of file HistogramSvc.h.
00947 { return DataSvc::unregisterObject(obj, objectPath ); }
| virtual StatusCode HistogramSvc::unregisterObject | ( | DataObject * | pObject, | |
| int | item | |||
| ) | [inline, virtual] |
Unregister object from the data store.
Reimplemented from DataSvc.
Definition at line 948 of file HistogramSvc.h.
00949 { return DataSvc::unregisterObject(obj, item ); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | IRegistry * | dir, | |
| CSTR | path, | |||
| DataObject *& | obj | |||
| ) | [inline, virtual] |
Retrieve object from data store.
Reimplemented from DataSvc.
Definition at line 952 of file HistogramSvc.h.
00953 { return DataSvc::retrieveObject(dir, path, obj ); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | fullPath, | |
| DataObject *& | pObject | |||
| ) | [inline, virtual] |
Retrieve object identified by its full path from the data store.
Reimplemented from DataSvc.
Definition at line 954 of file HistogramSvc.h.
00955 { return DataSvc::retrieveObject(full, obj ); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | parentPath, | |
| CSTR | objPath, | |||
| DataObject *& | pObject | |||
| ) | [inline, virtual] |
Retrieve object from data store.
Retrieve object identified by its full path from the data store.
Reimplemented from DataSvc.
Definition at line 956 of file HistogramSvc.h.
00957 { return DataSvc::retrieveObject(parPath, rel, obj ); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | CSTR | parentPath, | |
| int | item, | |||
| DataObject *& | pObject | |||
| ) | [inline, virtual] |
Retrieve object from data store.
Retrieve object identified by its full path from the data store.
Reimplemented from DataSvc.
Definition at line 958 of file HistogramSvc.h.
00959 { return DataSvc::retrieveObject(parPath, item, obj ); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | DataObject * | parentObj, | |
| CSTR | objPath, | |||
| DataObject *& | pObject | |||
| ) | [inline, virtual] |
Retrieve object from data store.
Reimplemented from DataSvc.
Definition at line 960 of file HistogramSvc.h.
00961 { return DataSvc::retrieveObject(pPar, rel, obj ); }
| virtual StatusCode HistogramSvc::retrieveObject | ( | DataObject * | parentObj, | |
| int | item, | |||
| DataObject *& | pObject | |||
| ) | [inline, virtual] |
Retrieve object from data store.
Retrieve registry entry from store.
Reimplemented from DataSvc.
Definition at line 962 of file HistogramSvc.h.
00963 { return DataSvc::retrieveObject(pPar, item, obj ); }
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | full, | |
| DataObject *& | obj | |||
| ) | [inline, virtual] |
Find object identified by its full path in the data store.
Reimplemented from DataSvc.
Definition at line 966 of file HistogramSvc.h.
00967 { return DataSvc::findObject(full, obj ); }
| virtual StatusCode HistogramSvc::findObject | ( | IRegistry * | pDirectory, | |
| CSTR | path, | |||
| DataObject *& | pObject | |||
| ) | [inline, virtual] |
Find object identified by its full path in the data store.
Retrieve object identified by its directory from the data store.
Reimplemented from DataSvc.
Definition at line 968 of file HistogramSvc.h.
00969 { return DataSvc::findObject(dir, path, obj ); }
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | parentPath, | |
| CSTR | objPath, | |||
| DataObject *& | pObject | |||
| ) | [inline, virtual] |
Find object in the data store.
Retrieve object identified by its full path from the data store.
Reimplemented from DataSvc.
Definition at line 970 of file HistogramSvc.h.
00971 { return DataSvc::findObject(parPath, rel, obj ); }
| virtual StatusCode HistogramSvc::findObject | ( | CSTR | parentPath, | |
| int | item, | |||
| DataObject *& | pObject | |||
| ) | [inline, virtual] |
Find object in the data store.
Retrieve object identified by its full path from the data store.
Reimplemented from DataSvc.
Definition at line 972 of file HistogramSvc.h.
00973 { return DataSvc::findObject(parPath, item, obj ); }
| virtual StatusCode HistogramSvc::findObject | ( | DataObject * | parentObj, | |
| CSTR | objPath, | |||
| DataObject *& | pObject | |||
| ) | [inline, virtual] |
Find object in the data store.
Find object identified by its full path in the data store.
Reimplemented from DataSvc.
Definition at line 974 of file HistogramSvc.h.
00975 { return DataSvc::findObject(pPar, rel, obj ); }
| virtual StatusCode HistogramSvc::findObject | ( | DataObject * | parentObj, | |
| int | item, | |||
| DataObject *& | pObject | |||
| ) | [inline, virtual] |
Find object in the data store.
Find object identified by its full path in the data store.
Reimplemented from DataSvc.
Definition at line 976 of file HistogramSvc.h.
00977 { return DataSvc::findObject(pPar, item, obj ); }
| 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.
Implements IHistogramSvc.
Definition at line 145 of file HistogramSvc.cpp.
00145 { 00146 std::string tmpPath = newPath; 00147 if (tmpPath[0] != SEPARATOR) { 00148 tmpPath.insert(tmpPath.begin(), SEPARATOR); 00149 tmpPath.insert(tmpPath.begin(), m_rootName.begin(), m_rootName.end()); 00150 } 00151 // Remove trailing "/" from newPath if it exists 00152 if (tmpPath.rfind(SEPARATOR) == tmpPath.length()-1) { 00153 tmpPath.erase(tmpPath.rfind(SEPARATOR),1); 00154 } 00155 DataObject* pObject = 0; 00156 StatusCode sc = DataSvc::findObject(tmpPath, pObject); 00157 if(sc.isSuccess()) { 00158 return pObject; 00159 } 00160 int sep = tmpPath.rfind(SEPARATOR); 00161 std::string rest(tmpPath, sep+1, tmpPath.length()-sep); 00162 std::string subPath(tmpPath, 0, sep); 00163 if(0 != sep) { 00164 createPath(subPath); 00165 } 00166 else { 00167 MsgStream log(msgSvc(), name()); 00168 log << MSG::ERROR << "Unable to create the histogram path" << endreq; 00169 return 0; 00170 } 00171 pObject = createDirectory(subPath, rest); 00172 return pObject; 00173 }
| 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 |
Implements IHistogramSvc.
Definition at line 175 of file HistogramSvc.cpp.
00175 { 00176 DataObject* directory = new DataObject(); 00177 if (0 != directory) { 00178 DataObject* pnode; 00179 StatusCode status = DataSvc::retrieveObject(parentDir, pnode); 00180 if(status.isSuccess()) { 00181 status = DataSvc::registerObject(pnode, subDir, directory); 00182 if (!status.isSuccess()) { 00183 MsgStream log(msgSvc(), name()); 00184 log << MSG::ERROR << "Unable to create the histogram directory: " 00185 << parentDir << "/" << subDir << endreq; 00186 delete directory; 00187 return 0; 00188 } 00189 } 00190 else { 00191 MsgStream log(msgSvc(), name()); 00192 log << MSG::ERROR << "Unable to create the histogram directory: " 00193 << parentDir << "/" << subDir << endreq; 00194 delete directory; 00195 return 0; 00196 } 00197 } 00198 return directory; 00199 }
| void HistogramSvc::update1Ddefs | ( | Property & | ) |
handler to be invoked for updating property m_defs1D
Definition at line 434 of file HistogramSvc.cpp.
00435 { 00436 // check and remove the leading '/stat/' 00437 removeLeading ( m_defs1D , "/stat/" ) ; 00438 }
friend class SvcFactory< HistogramSvc > [friend] |
Definition at line 54 of file HistogramSvc.h.
DBaseEntries HistogramSvc::m_input [protected] |
| H2D* const H3D HistogramSvc::int |
Definition at line 804 of file HistogramSvc.h.
Definition at line 808 of file HistogramSvc.h.
Histo1DMap HistogramSvc::m_defs1D [private] |
Definition at line 1007 of file HistogramSvc.h.
std::set<std::string> HistogramSvc::m_mods1D [private] |
Definition at line 1010 of file HistogramSvc.h.