| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
P1D.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_P1D_H
2 #define GAUDISVC_P1D_H
3
4 #include "GaudiKernel/DataObject.h"
5 #include "GaudiPI.h"
6 #include "Generic1D.h"
7 #include "TProfile.h"
8
9 /*
10 * Gaudi namespace
11 */
12 namespace Gaudi {
13
20 class GAUDI_API Profile1D : public DataObject, public Generic1D<AIDA::IProfile1D,TProfile> {
21 typedef AIDA::IAnnotation IAnnotation;
22 private:
23 void init(const std::string& title, bool initialize_axis=true);
24 public:
26 Profile1D();
28 Profile1D(TProfile* rep);
30 virtual ~Profile1D() { }
32 virtual bool fill(double x, double y, double weight = 1.);
33 virtual bool setBinContents(int i, int entries,double height,double error, double spread, double centre);
35 virtual const CLID& clID() const { return classID(); }
36 static const CLID& classID() { return CLID_ProfileH; }
37 }; // end class IProfile1D
38 } // end namespace Gaudi
39
40 #endif // GAUDISVC_P1D_H