Gaudi Framework, version v23r6

Home   Generated: Wed Jan 30 2013
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
HistogramSvc::Helper Struct Reference

#include <HistogramSvc.h>

Collaboration diagram for HistogramSvc::Helper:
Collaboration graph
[legend]

Public Member Functions

 Helper (HistogramSvc *p)
 
template<class A1 , class A3 >
StatusCode retrieve (A1 a1, A3 *&a3)
 
template<class A1 , class A2 , class A3 >
StatusCode retrieve (A1 a1, A2 a2, A3 *&a3)
 
template<class A1 , class A3 >
StatusCode find (A1 a1, A3 *&a3)
 
template<class A1 , class A2 , class A3 >
StatusCode find (A1 a1, A2 a2, A3 *&a3)
 

Static Public Member Functions

template<class R , class S , class T1 , class T2 >
static R * act (R *res, const S &b, void(T1::*pmf)(const T2 *, Double_t), Double_t scale)
 
template<class R , class S , class T1 , class T2 >
static R * act (R *res, const S &b, Bool_t(T1::*pmf)(const T2 *, Double_t), Double_t scale)
 
template<class R , class S , class T1 , class T2 >
static R * act (R *res, const S &b, void(T1::*pmf)(const T2 *))
 
template<class R , class S , class T1 , class T2 >
static R * act (R *res, const S &b, Bool_t(T1::*pmf)(const T2 *))
 

Public Attributes

HistogramSvcm_svc
 

Detailed Description

Definition at line 71 of file HistogramSvc.h.

Constructor & Destructor Documentation

HistogramSvc::Helper::Helper ( HistogramSvc p)
inline

Definition at line 73 of file HistogramSvc.h.

: m_svc(p) {}

Member Function Documentation

template<class R , class S , class T1 , class T2 >
static R* HistogramSvc::Helper::act ( R *  res,
const S b,
void(T1::*)(const T2 *, Double_t)  pmf,
Double_t  scale 
)
inlinestatic

Definition at line 99 of file HistogramSvc.h.

{
T1 *h1 = Gaudi::getRepresentation<R,T1>(*res);
T1 *h2 = Gaudi::getRepresentation<R,T1>(b);
if ( h1 && h2 ) {
(h1->*pmf)(h2,scale);
return res;
}
return 0;
}
template<class R , class S , class T1 , class T2 >
static R* HistogramSvc::Helper::act ( R *  res,
const S b,
Bool_t(T1::*)(const T2 *, Double_t)  pmf,
Double_t  scale 
)
inlinestatic

Definition at line 109 of file HistogramSvc.h.

{
T1 *h1 = Gaudi::getRepresentation<R,T1>(*res);
T1 *h2 = Gaudi::getRepresentation<R,T1>(b);
if ( h1 && h2 ) {
(h1->*pmf)(h2,scale);
return res;
}
return 0;
}
template<class R , class S , class T1 , class T2 >
static R* HistogramSvc::Helper::act ( R *  res,
const S b,
void(T1::*)(const T2 *)  pmf 
)
inlinestatic

Definition at line 119 of file HistogramSvc.h.

{
T1 *h1 = Gaudi::getRepresentation<R,T1>(*res);
T1 *h2 = Gaudi::getRepresentation<R,T1>(b);
if ( h1 && h2 ) {
(h1->*pmf)(h2);
return res;
}
return 0;
}
template<class R , class S , class T1 , class T2 >
static R* HistogramSvc::Helper::act ( R *  res,
const S b,
Bool_t(T1::*)(const T2 *)  pmf 
)
inlinestatic

Definition at line 129 of file HistogramSvc.h.

{
T1 *h1 = Gaudi::getRepresentation<R,T1>(*res);
T1 *h2 = Gaudi::getRepresentation<R,T1>(b);
if ( h1 && h2 ) {
(h1->*pmf)(h2);
return res;
}
return 0;
}
template<class A1 , class A3 >
StatusCode HistogramSvc::Helper::find ( A1  a1,
A3 *&  a3 
)
inline

Definition at line 86 of file HistogramSvc.h.

{
DataObject* pObject = 0;
StatusCode sc = m_svc->DataSvc::findObject(a1,pObject);
a3 = dynamic_cast<A3*>(pObject);
return sc;
}
template<class A1 , class A2 , class A3 >
StatusCode HistogramSvc::Helper::find ( A1  a1,
A2  a2,
A3 *&  a3 
)
inline

Definition at line 92 of file HistogramSvc.h.

{
DataObject* pObject = 0;
StatusCode sc = m_svc->DataSvc::findObject(a1,a2,pObject);
a3 = dynamic_cast<A3*>(pObject);
return sc;
}
template<class A1 , class A3 >
StatusCode HistogramSvc::Helper::retrieve ( A1  a1,
A3 *&  a3 
)
inline

Definition at line 74 of file HistogramSvc.h.

{
DataObject* pObject = 0;
StatusCode sc = m_svc->DataSvc::retrieveObject(a1,pObject);
a3 = dynamic_cast<A3*>(pObject);
return sc;
}
template<class A1 , class A2 , class A3 >
StatusCode HistogramSvc::Helper::retrieve ( A1  a1,
A2  a2,
A3 *&  a3 
)
inline

Definition at line 80 of file HistogramSvc.h.

{
DataObject* pObject = 0;
StatusCode sc = m_svc->DataSvc::retrieveObject(a1,a2,pObject);
a3 = dynamic_cast<A3*>(pObject);
return sc;
}

Member Data Documentation

HistogramSvc* HistogramSvc::Helper::m_svc

Definition at line 72 of file HistogramSvc.h.


The documentation for this struct was generated from the following file:

Generated at Wed Jan 30 2013 17:13:46 for Gaudi Framework, version v23r6 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004