|
Gaudi Framework, version v21r8 |
| Home | Generated: 17 Mar 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 383 of file HistogramSvc.cpp.
00384 : base_class(nam, svc) 00385 , m_defs1D () 00386 , m_mods1D () 00387 { 00388 // Properties can be declared here 00389 m_rootName = "/stat"; 00390 m_rootCLID = CLID_DataObject; 00391 declareProperty ( "Input", m_input); 00392 declareProperty ( "Predefined1DHistos" , m_defs1D , 00393 "Histograms with predefined parameters" ) ; 00394 // update handler 00395 Property* p = Gaudi::Utils::getProperty ( this , "Predefined1DHistos" ) ; 00396 p->declareUpdateHandler ( &HistogramSvc::update1Ddefs , this ) ; 00397 00398 }
| 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 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 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 = this->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 << endmsg; 00252 return status; 00253 } 00254 pA->release(); 00255 } 00256 } 00257 } 00258 log << MSG::ERROR << "Cannot add " << ident << " invalid filename!" << endmsg; 00259 return StatusCode::FAILURE; 00260 }
| 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 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." << endmsg; 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." << endmsg; 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: " << endmsg ; 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 << endmsg ; 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 430 of file HistogramSvc.cpp.
00431 { 00432 if ( !m_mods1D.empty() ) 00433 { 00434 MsgStream log ( msgSvc () , name () ) ; 00435 log << MSG::DEBUG 00436 << " Substituted histograms #" << m_mods1D.size() << " : " << endmsg ; 00437 for ( std::set<std::string>::const_iterator ih = m_mods1D.begin() ; 00438 m_mods1D.end() != ih ; ++ih ) 00439 { 00440 log << MSG::DEBUG << " Path='" << (*ih) << "'" ; 00441 Histo1DMap::const_iterator im = m_defs1D.find( *ih ) ; 00442 if ( m_defs1D.end() != im ) { log << " " << im->second ; } 00443 } 00444 m_mods1D.clear() ; 00445 } 00446 return DataSvc::finalize () ; 00447 }
| 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 359 of file HistogramSvc.cpp.
00360 { 00361 if ( m_defs1D.empty () ) 00362 { return i_book(pPar,rel,title,Gaudi::createH1D(title, BINS(x))); } 00363 std::string hn = histoAddr ( pPar , rel ) ; 00364 Histo1DMap::const_iterator ifound = m_defs1D.find( hn ) ; 00365 if ( m_defs1D.end() == ifound ) 00366 { return i_book(pPar,rel,title,Gaudi::createH1D(title, BINS(x))); } 00367 MsgStream log ( msgSvc() , name() ) ; 00368 log << MSG::DEBUG 00369 << " Redefine the parameters for the histogram '" + hn +"' to be " 00370 << ifound->second 00371 << endmsg ; 00372 m_mods1D.insert ( hn ) ; 00373 return i_book ( pPar , rel , ifound -> second.title () , 00374 Gaudi::createH1D 00375 ( ifound -> second.title () , 00376 ifound -> second.bins () , 00377 ifound -> second.lowEdge () , 00378 ifound -> second.lowEdge () ) ) ; 00379 }
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 351 of file HistogramSvc.cpp.
00351 { 00352 StatusCode sc = unregisterObject( dynamic_cast<IHistogram*>(hist) ); 00353 if ( !sc.isSuccess() ) return false; 00354 if ( hist ) delete hist; 00355 return true; 00356 }
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 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" << endmsg; 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 |
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 << endmsg; 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 << endmsg; 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 423 of file HistogramSvc.cpp.
00424 { 00425 // check and remove the leading '/stat/' 00426 removeLeading ( m_defs1D , "/stat/" ) ; 00427 }
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.