1 #ifndef GAUDIKERNEL_IHISTOGRAMSVC_H 2 #define GAUDIKERNEL_IHISTOGRAMSVC_H 25 class IHistogramFactory;
30 using AIDA::IHistogramFactory;
31 using AIDA::IBaseHistogram;
32 using AIDA::IHistogram;
33 using AIDA::IHistogram1D;
34 using AIDA::IProfile1D;
35 using AIDA::IHistogram2D;
36 using AIDA::IProfile2D;
37 using AIDA::IHistogram3D;
39 using AIDA::IAnnotation;
54 virtual AIDA::IHistogramFactory* histogramFactory() = 0;
78 int binsX,
double lowX,
double highX ) = 0;
82 int binsX,
double lowX,
double highX ) = 0;
86 int binsX,
double lowX,
double highX ) = 0;
90 int binsX,
double lowX,
double highX ) = 0;
94 int binsX,
double lowX,
double highX ) = 0;
103 int binsX,
double lowX,
double highX ,
109 int binsX,
double lowX,
double highX ,
115 int binsX,
double lowX,
double highX ,
121 int binsX,
double lowX,
double highX ,
127 int binsX,
double lowX,
double highX ,
138 double lowX ,
double highX ,
139 double lowY ,
double highY ,
146 double lowX ,
double highX ,
147 double lowY ,
double highY ,
154 double lowX ,
double highX ,
155 double lowY ,
double highY ,
162 double lowX ,
double highX ,
163 double lowY ,
double highY ,
170 double lowX ,
double highX ,
171 double lowY ,
double highY ,
228 int binsX,
double lowX,
double highX,
229 int binsY,
double lowY,
double highY ) = 0;
233 int binsX,
double lowX,
double highX,
234 int binsY,
double lowY,
double highY ) = 0;
238 int binsX,
double lowX,
double highX,
239 int binsY,
double lowY,
double highY ) = 0;
243 int binsX,
double lowX,
double highX,
244 int binsY,
double lowY,
double highY ) = 0;
248 int binsX,
double lowX,
double highX,
249 int binsY,
double lowY,
double highY ) = 0;
257 int binsX,
double lowX,
double highX,
258 int binsY,
double lowY,
double highY ) = 0;
262 int binsX,
double lowX,
double highX,
263 int binsY,
double lowY,
double highY ) = 0;
267 int binsX,
double lowX,
double highX,
268 int binsY,
double lowY,
double highY ) = 0;
272 int binsX,
double lowX,
double highX,
273 int binsY,
double lowY,
double highY ) = 0;
277 int binsX,
double lowX,
double highX,
278 int binsY,
double lowY,
double highY ) = 0;
346 int binsX,
double lowX,
double highX,
347 int binsY,
double lowY,
double highY,
348 int binsZ,
double lowZ,
double highZ ) = 0;
352 int binsX,
double lowX,
double highX,
353 int binsY,
double lowY,
double highY,
354 int binsZ,
double lowZ,
double highZ ) = 0;
358 int binsX,
double lowX,
double highX,
359 int binsY,
double lowY,
double highY,
360 int binsZ,
double lowZ,
double highZ ) = 0;
364 int binsX,
double lowX,
double highX,
365 int binsY,
double lowY,
double highY,
366 int binsZ,
double lowZ,
double highZ ) = 0;
370 int binsX,
double lowX,
double highX,
371 int binsY,
double lowY,
double highY,
372 int binsZ,
double lowZ,
double highZ ) = 0;
413 AIDA::IBaseHistogram* hObj ) = 0;
417 AIDA::IBaseHistogram* hObj ) = 0;
420 int item, AIDA::IBaseHistogram* hObj ) = 0;
424 AIDA::IBaseHistogram* hObj ) = 0;
425 virtual StatusCode registerObject( AIDA::IBaseHistogram* parentObj,
427 AIDA::IBaseHistogram* hObj ) = 0;
431 AIDA::IBaseHistogram* hObj ) = 0;
432 virtual StatusCode registerObject( AIDA::IBaseHistogram* parentObj,
434 AIDA::IBaseHistogram* hObj ) = 0;
441 virtual StatusCode unregisterObject( AIDA::IBaseHistogram* hObj ) = 0;
443 virtual StatusCode unregisterObject( AIDA::IBaseHistogram* hObj,
446 virtual StatusCode unregisterObject( AIDA::IBaseHistogram* hObj,
456 AIDA::IHistogram1D*& h1dObj ) = 0;
459 AIDA::IProfile1D*& h1dObj ) = 0;
462 AIDA::IHistogram2D*& h2dObj ) = 0;
465 AIDA::IProfile2D*& h2dObj ) = 0;
468 AIDA::IHistogram3D*& h3dObj ) = 0;
471 AIDA::IHistogram1D*& h1dObj ) = 0;
473 AIDA::IProfile1D*& h1dObj ) = 0;
475 AIDA::IHistogram2D*& h2dObj ) = 0;
477 AIDA::IProfile2D*& h2dObj ) = 0;
479 AIDA::IHistogram3D*& h3dObj ) = 0;
483 AIDA::IHistogram1D*& h1dObj ) = 0;
486 AIDA::IProfile1D*& h1dObj ) = 0;
489 AIDA::IHistogram2D*& h2dObj ) = 0;
492 AIDA::IProfile2D*& h2dObj ) = 0;
495 AIDA::IHistogram3D*& h3dObj ) = 0;
499 AIDA::IHistogram1D*& h1dObj ) = 0;
502 AIDA::IProfile1D*& h1dObj ) = 0;
505 AIDA::IHistogram2D*& h2dObj ) = 0;
508 AIDA::IProfile2D*& h2dObj ) = 0;
511 AIDA::IHistogram3D*& h3dObj ) = 0;
515 AIDA::IHistogram1D*& h1dObj ) = 0;
518 AIDA::IProfile1D*& h1dObj ) = 0;
521 AIDA::IHistogram2D*& h2dObj ) = 0;
524 AIDA::IProfile2D*& h2dObj ) = 0;
527 AIDA::IHistogram3D*& h3dObj ) = 0;
528 virtual StatusCode retrieveObject( AIDA::IBaseHistogram* parentObj,
530 AIDA::IHistogram1D*& h1dObj ) = 0;
531 virtual StatusCode retrieveObject( AIDA::IBaseHistogram* parentObj,
533 AIDA::IProfile1D*& h1dObj ) = 0;
534 virtual StatusCode retrieveObject( AIDA::IBaseHistogram* parentObj,
536 AIDA::IHistogram2D*& h2dObj ) = 0;
537 virtual StatusCode retrieveObject( AIDA::IBaseHistogram* parentObj,
539 AIDA::IProfile2D*& h2dObj ) = 0;
540 virtual StatusCode retrieveObject( AIDA::IBaseHistogram* parentObj,
542 AIDA::IHistogram3D*& h3dObj ) = 0;
546 AIDA::IHistogram1D*& h1dObj ) = 0;
549 AIDA::IProfile1D*& h1dObj ) = 0;
552 AIDA::IHistogram2D*& h2dObj ) = 0;
555 AIDA::IProfile2D*& h2dObj ) = 0;
558 AIDA::IHistogram3D*& h3dObj ) = 0;
559 virtual StatusCode retrieveObject( AIDA::IBaseHistogram* parentObj,
561 AIDA::IHistogram1D*& h1dObj ) = 0;
562 virtual StatusCode retrieveObject( AIDA::IBaseHistogram* parentObj,
564 AIDA::IProfile1D*& h1dObj ) = 0;
565 virtual StatusCode retrieveObject( AIDA::IBaseHistogram* parentObj,
567 AIDA::IHistogram2D*& h2dObj ) = 0;
568 virtual StatusCode retrieveObject( AIDA::IBaseHistogram* parentObj,
570 AIDA::IProfile2D*& h2dObj ) = 0;
571 virtual StatusCode retrieveObject( AIDA::IBaseHistogram* parentObj,
573 AIDA::IHistogram3D*& h3dObj ) = 0;
581 AIDA::IHistogram1D*& h1dObj ) = 0;
583 AIDA::IProfile1D*& h1dObj ) = 0;
585 AIDA::IHistogram2D*& h2dObj ) = 0;
587 AIDA::IProfile2D*& h2dObj ) = 0;
589 AIDA::IHistogram3D*& h3dObj ) = 0;
593 AIDA::IHistogram1D*& h1dObj ) = 0;
596 AIDA::IProfile1D*& h1dObj ) = 0;
599 AIDA::IHistogram2D*& h2dObj ) = 0;
602 AIDA::IProfile2D*& h2dObj ) = 0;
605 AIDA::IHistogram3D*& h2dObj ) = 0;
609 AIDA::IHistogram1D*& h1dObj ) = 0;
612 AIDA::IProfile1D*& h1dObj ) = 0;
615 AIDA::IHistogram2D*& h2dObj ) = 0;
618 AIDA::IProfile2D*& h2dObj ) = 0;
621 AIDA::IHistogram3D*& h3dObj ) = 0;
625 AIDA::IHistogram1D*& h1dObj ) = 0;
628 AIDA::IProfile1D*& h1dObj ) = 0;
631 AIDA::IHistogram2D*& h2dObj ) = 0;
634 AIDA::IProfile2D*& h2dObj ) = 0;
637 AIDA::IHistogram3D*& h3dObj ) = 0;
641 AIDA::IHistogram1D*& h1dObj ) = 0;
644 AIDA::IProfile1D*& h1dObj ) = 0;
647 AIDA::IHistogram2D*& h2dObj ) = 0;
650 AIDA::IProfile2D*& h2dObj ) = 0;
653 AIDA::IHistogram3D*& h3dObj ) = 0;
654 virtual StatusCode findObject( AIDA::IBaseHistogram* parentObj,
656 AIDA::IHistogram1D*& h1dObj ) = 0;
657 virtual StatusCode findObject( AIDA::IBaseHistogram* parentObj,
659 AIDA::IProfile1D*& h1dObj ) = 0;
660 virtual StatusCode findObject( AIDA::IBaseHistogram* parentObj,
662 AIDA::IHistogram2D*& h2dObj ) = 0;
663 virtual StatusCode findObject( AIDA::IBaseHistogram* parentObj,
665 AIDA::IProfile2D*& h2dObj ) = 0;
666 virtual StatusCode findObject( AIDA::IBaseHistogram* parentObj,
668 AIDA::IHistogram3D*& h3dObj ) = 0;
672 AIDA::IHistogram1D*& h1dObj ) = 0;
675 AIDA::IProfile1D*& h1dObj ) = 0;
678 AIDA::IHistogram2D*& h2dObj ) = 0;
681 AIDA::IProfile2D*& h2dObj ) = 0;
684 AIDA::IHistogram3D*& h3dObj ) = 0;
685 virtual StatusCode findObject( AIDA::IBaseHistogram* parentObj,
687 AIDA::IHistogram1D*& h1dObj ) = 0;
688 virtual StatusCode findObject( AIDA::IBaseHistogram* parentObj,
690 AIDA::IProfile1D*& h1dObj ) = 0;
691 virtual StatusCode findObject( AIDA::IBaseHistogram* parentObj,
693 AIDA::IHistogram2D*& h2dObj ) = 0;
694 virtual StatusCode findObject( AIDA::IBaseHistogram* parentObj,
696 AIDA::IProfile2D*& h2dObj ) = 0;
697 virtual StatusCode findObject( AIDA::IBaseHistogram* parentObj,
699 AIDA::IHistogram3D*& h3dObj ) = 0;
720 virtual int write( AIDA::IBaseHistogram* h,
const char* file_name )
const = 0;
746 #endif // INTERFACES_IHISTOGRAMSVC_H
GAUDI_API AIDA::IHistogram1D * book(IHistogramSvc *svc, const std::string &path, const Gaudi::Histo1DDef &hist)
helper function to book 1D-histogram
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Data provider interface definition.
virtual StatusCode findObject(IRegistry *pDirectory, const std::string &path, DataObject *&pObject)=0
Find object identified by its directory entry.
virtual StatusCode unregisterObject(const std::string &fullPath)=0
Unregister object from the data store.
This class is used for returning status codes from appropriate routines.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
Definition of the IHistogramSvc interface class.
def bookProf(args, kwargs)
The trivial function to book 1D&2D profile histograms:
virtual StatusCode registerObject(const std::string &fullPath, DataObject *pObject)=0
Register object with the data store.
A DataObject is the base class of any identifiable object on any data store.
virtual StatusCode retrieveObject(IRegistry *pDirectory, const std::string &path, DataObject *&pObject)=0
Retrieve object identified by its directory entry.