SFrame 3.6
ProofSummedVar< Type > Class Template Reference

Class used in the SSummedVar implementation. More...

#include <plug-ins/include/SSummedVar.h>

List of all members.

Public Member Functions

 ProofSummedVar (const char *name=0, const char *title=0)
 Default constructor.
virtual Int_t Merge (TCollection *coll)
 Function merging the results from the worker nodes.

Public Attributes

Type m_member
 The wrapped variable.

Detailed Description

template<class Type>
class ProofSummedVar< Type >

Class used in the SSummedVar implementation.

This class should not be too useful for the users, it's meant to be used internally by SSummedVar. Unfortunately ROOT goes crazy if I want to declare a templated class inside another templated class... Remember that we need to compile working dictionaries for at least this class, which rootcint can't currently do if it's a private member of SSummedVar.

Version:
Revision:
229

Definition at line 44 of file SSummedVar.h.


Constructor & Destructor Documentation

template<class Type >
ProofSummedVar< Type >::ProofSummedVar ( const char *  name = 0,
const char *  title = 0 
)

Default constructor.

Definition at line 137 of file SSummedVar.icc.


Member Function Documentation

template<class Type >
Int_t ProofSummedVar< Type >::Merge ( TCollection *  coll) [virtual]

Function merging the results from the worker nodes.

This function adds up the values of the variables from the worker nodes. It doesn't do anything fancy, just makes sure that the summation can be done, then does it.

Definition at line 149 of file SSummedVar.icc.

References DEBUG, SLogger::endmsg(), ProofSummedVar< Type >::m_member, and REPORT_ERROR.


Member Data Documentation

template<class Type>
Type ProofSummedVar< Type >::m_member

The wrapped variable.

Definition at line 52 of file SSummedVar.h.

Referenced by ProofSummedVar< Type >::Merge().


The documentation for this class was generated from the following files: