| The Gaudi Framework v29r0 (ff2e7097)

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

- File List
- File Members

P1D.h
Go to the documentation of this file.
1 #ifndef GAUDISVC_P1D_H
2 #define GAUDISVC_P1D_H
3
4 #include "Generic1D.h"
5 #include <AIDA/IProfile1D.h>
6 #include <GaudiKernel/DataObject.h>
7 #include <TProfile.h>
8
9 /*
10 * Gaudi namespace
11 */
12 namespace Gaudi
13 {
14
21 class GAUDI_API Profile1D : public DataObject, public Generic1D<AIDA::IProfile1D, TProfile>
22 {
23 typedef AIDA::IAnnotation IAnnotation;
24
25 private:
26 void init( const std::string& title, bool initialize_axis = true );
27
28 public:
30 Profile1D();
32 Profile1D( TProfile* rep );
33
35 bool fill( double x, double y, double weight = 1. ) override;
36 virtual bool setBinContents( int i, int entries, double height, double error, double spread, double centre );
38 const CLID& clID() const override { return classID(); }
39 static const CLID& classID() { return CLID_ProfileH; }
40 }; // end class IProfile1D
41 } // end namespace Gaudi
42
43 #endif // GAUDISVC_P1D_H
Gaudi::Profile1D
AIDA implementation for 1 D profiles using ROOT TProfile.
Definition: P1D.h:21
Gaudi::Utils::Histos::fill
GAUDI_API void fill(AIDA::IHistogram1D *histo, const double value, const double weight=1.0)
simple function to fill AIDA::IHistogram1D objects
Definition: Fill.cpp:35
std::string
STL class.
Gaudi::Profile1D::clID
const CLID & clID() const override
Retrieve reference to class defininition identifier.
Definition: P1D.h:38
Generic1D.h
Gaudi::Profile1D::classID
static const CLID & classID()
Definition: P1D.h:39
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
Gaudi::Profile1D::IAnnotation
AIDA::IAnnotation IAnnotation
Definition: P1D.h:23
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
DataObject
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:29
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1
DataObject.h
Gaudi::Generic1D
Common AIDA implementation stuff for histograms and profiles using ROOT implementations.
Definition: Generic1D.h:36