The Gaudi Framework  v38r0 (2143aa4c)
TupleDef.h File Reference
#include <utility>
#include "GaudiAlg/Tuple.h"
Include dependency graph for TupleDef.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 TupleExample
 

Typedefs

typedef std::pair< double, double > TupleExample::Dublet
 
typedef std::pair< Dublet, double > TupleExample::Triplet
 

Functions

Tuples::TupleTupleExample::fillNTuple (Tuples::Tuple &t, const std::string &n, const Dublet &p)
 helper function useful for the partial specialization of N-Tuple fills More...
 
Tuples::TupleTupleExample::fillNTuple (Tuples::Tuple &t, const std::string &n, const Triplet &p)
 helper function useful for the partial specialization of N-Tuple fills More...
 
template<>
Tuples::Tupleoperator<< (Tuples::Tuple &tuple, const Tuples::TupleColumn< TupleExample::Dublet > &item)
 
template<>
Tuples::Tupleoperator<< (Tuples::Tuple &tuple, const Tuples::TupleColumn< TupleExample::Triplet > &item)
 

Function Documentation

◆ operator<<() [1/2]

template<>
Tuples::Tuple& operator<< ( Tuples::Tuple tuple,
const Tuples::TupleColumn< TupleExample::Dublet > &  item 
)
inline

Definition at line 73 of file TupleDef.h.

73  {
74  return TupleExample::fillNTuple( tuple, item.name(), item.value() );
75 }

◆ operator<<() [2/2]

template<>
Tuples::Tuple& operator<< ( Tuples::Tuple tuple,
const Tuples::TupleColumn< TupleExample::Triplet > &  item 
)
inline

Definition at line 78 of file TupleDef.h.

78  {
79  return TupleExample::fillNTuple( tuple, item.name(), item.value() );
80 }
TupleExample::fillNTuple
Tuples::Tuple & fillNTuple(Tuples::Tuple &t, const std::string &n, const Dublet &p)
helper function useful for the partial specialization of N-Tuple fills
Definition: TupleDef.cpp:35
Tuples::TupleColumn::name
const std::string & name() const
Return the column name.
Definition: Tuple.h:270
Tuples::TupleColumn::value
const ITEM & value() const
Return the column value.
Definition: Tuple.h:272