| # Gaudi Framework, version v22r2 |

Home |  | Generated: Tue May 10 2011

Static Public Member Functions

# GaudiPython::TupleDecorator Class Reference

Simple class which performs the decoration of the standard N-Tuple. More...

`#include <GaudiPython/TupleDecorator.h>`

List of all members.

## Static Public Member Functions
static INTuple * | nTuple (const Tuples::Tuple &tuple)
| accessors to internal
static NTuple::Tuple * | ntuple (const Tuples::Tuple &tuple)
| accessors to internal
static bool | valid (const Tuples::Tuple &tuple)
| status of the tuple
static StatusCode | write (const Tuples::Tuple &tuple)
| commit the row
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const int value)
| more or less simple columns: int
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const int value, const int minv, const int maxv)
| more or less simple columns: int
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const double value)
| more or less simple columns: double
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const bool value)
| more or less simple columns: bool
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, IOpaqueAddress *value)
| more or less simple columns: IOpaqueAddress
static StatusCode | column (const Tuples::Tuple &tuple, IOpaqueAddress *value)
| more or less simple columns: IOpaqueAddress
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::LorentzVector &value)
| Advanced columns: LorentzVector.
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::PtEtaPhiEVector &value)
| Advanced columns: LorentzVector.
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::XYZVector &value)
| Advanced columns: 3D-vector.
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Polar3DVector &value)
| Advanced columns: 3D-vector.
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::RhoEtaPhiVector &value)
| Advanced columns: 3D-vector.
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::RhoZPhiVector &value)
| Advanced columns: 3D-vector.
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::XYZPoint &value)
| Advanced columns: 3D-points.
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Polar3DPoint &value)
| Advanced columns: 3D-points.
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::RhoEtaPhiPoint &value)
| Advanced columns: 3D-points.
static StatusCode | column (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::RhoZPhiPoint &value)
| Advanced columns: 3D-points.
static StatusCode | farray (const Tuples::Tuple &tuple, const std::string &name, const std::vector< double > &data, const std::string &length, const size_t maxv)
| Advanced columns: floating-size arrays.
static StatusCode | farray (const Tuples::Tuple &tuple, const std::string &name, const CLHEP::HepVector &data, const std::string &length, const size_t maxv)
| Advanced columns: floating-size arrays.
static StatusCode | fmatrix (const Tuples::Tuple &tuple, const std::string &name, const GaudiPython::Matrix &data, const Tuples::TupleObj::MIndex cols, const std::string &length, const size_t maxv)
| Advanced columns: floating-size matrices.
static StatusCode | fmatrix (const Tuples::Tuple &tuple, const std::string &name, const CLHEP::HepGenMatrix &data, const Tuples::TupleObj::MIndex cols, const std::string &length, const size_t maxv)
| Advanced columns: floating-size matrices.
static StatusCode | fmatrix (const Tuples::Tuple &tuple, const std::string &name, const GaudiUtils::VectorMap< int, double > &info, const std::string &length, const size_t maxv)
| Advanced columns: floating-size matrices.
static StatusCode | array (const Tuples::Tuple &tuple, const std::string &name, const std::vector< double > &data)
| Advanced columns: fixed size arrays.
static StatusCode | array (const Tuples::Tuple &tuple, const std::string &name, const CLHEP::HepVector &data)
| Advanced columns: fixed size arrays.
static StatusCode | array (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Vector2 &data)
| Advanced columns: fixed size arrays.
static StatusCode | array (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Vector3 &data)
| Advanced columns: fixed size arrays.
static StatusCode | array (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Vector4 &data)
| Advanced columns: fixed size arrays.
static StatusCode | array (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Vector5 &data)
| Advanced columns: fixed size arrays.
static StatusCode | array (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Vector6 &data)
| Advanced columns: fixed size arrays.
static StatusCode | array (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Vector7 &data)
| Advanced columns: fixed size arrays.
static StatusCode | array (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Vector8 &data)
| Advanced columns: fixed size arrays.
static StatusCode | array (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Vector9 &data)
| Advanced columns: fixed size arrays.
static StatusCode | array (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Vector1 &data)
| Advanced columns: fixed size arrays.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const GaudiPython::Matrix &data, const Tuples::TupleObj::MIndex cols)
| Advanced columns: fixed size matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const CLHEP::HepGenMatrix &data)
| Advanced columns: fixed size matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix2x2 &value)
| Advanced columns: fixed size matrices: square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix3x3 &value)
| Advanced columns: fixed size matrices: square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix4x4 &value)
| Advanced columns: fixed size matrices: square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix5x5 &value)
| Advanced columns: fixed size matrices: square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix6x6 &value)
| Advanced columns: fixed size matrices: square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix7x7 &value)
| Advanced columns: fixed size matrices: square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix8x8 &value)
| Advanced columns: fixed size matrices: square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix9x9 &value)
| Advanced columns: fixed size matrices: square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix1x1 &value)
| Advanced columns: fixed size matrices: square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix1x3 &value)
| Advanced columns: fixed size matrices: non-square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix1x5 &value)
| Advanced columns: fixed size matrices: non-square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix1x6 &value)
| Advanced columns: fixed size matrices: non-square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix4x3 &value)
| Advanced columns: fixed size matrices: non-square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix3x4 &value)
| Advanced columns: fixed size matrices: non-square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix3x5 &value)
| Advanced columns: fixed size matrices: non-square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix3x6 &value)
| Advanced columns: fixed size matrices: non-square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix2x3 &value)
| Advanced columns: fixed size matrices: non-square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Matrix3x2 &value)
| Advanced columns: fixed size matrices: non-square matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::SymMatrix1x1 &value)
| Advanced columns: fixed size matrices: symmetric matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::SymMatrix3x3 &value)
| Advanced columns: fixed size matrices: symmetric matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::SymMatrix4x4 &value)
| Advanced columns: fixed size matrices: symmetric matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::SymMatrix5x5 &value)
| Advanced columns: fixed size matrices: symmetric matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::SymMatrix6x6 &value)
| Advanced columns: fixed size matrices: symmetric matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::SymMatrix7x7 &value)
| Advanced columns: fixed size matrices: symmetric matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::SymMatrix8x8 &value)
| Advanced columns: fixed size matrices: symmetric matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::SymMatrix9x9 &value)
| Advanced columns: fixed size matrices: symmetric matrices.
static StatusCode | matrix (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::SymMatrix2x2 &value)
| Advanced columns: fixed size matrices: symmetric matrices.

## Detailed Description

Simple class which performs the decoration of the standard N-Tuple.

See also:
  Tuples::Tuple

Author:
  Vanya BELYAEV ibelyaev@physics.syr.edu

Date:
  2005-08-04

Definition at line 47 of file TupleDecorator.h.

## Member Function Documentation

StatusCode GaudiPython::TupleDecorator::array | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const std::vector< double > & | data
| ) |  | `[static]`

Advanced columns: fixed size arrays.

Definition at line 236 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->array ( name , data.begin() , data.end() ) ;
    }

StatusCode GaudiPython::TupleDecorator::array | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Vector6 & | data
| ) |  | `[static]`

Advanced columns: fixed size arrays.

Definition at line 300 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->array( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::array | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Vector7 & | data
| ) |  | `[static]`

Advanced columns: fixed size arrays.

Definition at line 309 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->array( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::array | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Vector8 & | data
| ) |  | `[static]`

Advanced columns: fixed size arrays.

Definition at line 318 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->array( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::array | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Vector9 & | data
| ) |  | `[static]`

Advanced columns: fixed size arrays.

Definition at line 327 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->array( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::array | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Vector1 & | data
| ) |  | `[static]`

Advanced columns: fixed size arrays.

Definition at line 254 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->array( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::array | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const CLHEP::HepVector & | data
| ) |  | `[static]`

Advanced columns: fixed size arrays.

Definition at line 245 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->array( name , data , data.num_row() ) ;
    }

StatusCode GaudiPython::TupleDecorator::array | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Vector2 & | data
| ) |  | `[static]`

Advanced columns: fixed size arrays.

Definition at line 263 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->array( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::array | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Vector3 & | data
| ) |  | `[static]`

Advanced columns: fixed size arrays.

Definition at line 272 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->array( name , data.begin() , data.begin() + 3  ) ;
    }

StatusCode GaudiPython::TupleDecorator::array | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Vector4 & | data
| ) |  | `[static]`

Advanced columns: fixed size arrays.

Definition at line 281 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      // return tuple->array( name , data ) ;
      return tuple->array( name , data.begin() , data.begin()+4 ) ;
    }

StatusCode GaudiPython::TupleDecorator::array | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Vector5 & | data
| ) |  | `[static]`

Advanced columns: fixed size arrays.

Definition at line 291 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->array( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | IOpaqueAddress * | value
| ) |  | `[static]`

more or less simple columns: IOpaqueAddress

Definition at line 101 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->column( name , value ) ;
    }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::RhoZPhiVector & | value
| ) |  | `[static]`

Advanced columns: 3D-vector.

Definition at line 140 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::XYZPoint & | value
| ) |  | `[static]`

Advanced columns: 3D-points.

Definition at line 146 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const bool | value
| ) |  | `[static]`

more or less simple columns: bool

Definition at line 95 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Polar3DPoint & | value
| ) |  | `[static]`

Advanced columns: 3D-points.

Definition at line 152 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::RhoEtaPhiPoint & | value
| ) |  | `[static]`

Advanced columns: 3D-points.

Definition at line 158 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

static StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | IOpaqueAddress * | value
| ) |  | `[inline, static]`

more or less simple columns: IOpaqueAddress

Definition at line 97 of file TupleDecorator.h.

        { return column ( tuple , "Address" , value ) ; }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::RhoZPhiPoint & | value
| ) |  | `[static]`

Advanced columns: 3D-points.

Definition at line 164 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::LorentzVector & | value
| ) |  | `[static]`

Advanced columns: LorentzVector.

Definition at line 110 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const int | value
| ) |  | `[static]`

more or less simple columns: int

Definition at line 72 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const int | value,
|  | const int | minv,
|  | const int | maxv
| ) |  | `[static]`

more or less simple columns: int

Definition at line 78 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple -> column ( name , value , minv , maxv ) ;
    }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::XYZVector & | value
| ) |  | `[static]`

Advanced columns: 3D-vector.

Definition at line 122 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::PtEtaPhiEVector & | value
| ) |  | `[static]`

Advanced columns: LorentzVector.

Definition at line 116 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Polar3DVector & | value
| ) |  | `[static]`

Advanced columns: 3D-vector.

Definition at line 128 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const double | value
| ) |  | `[static]`

more or less simple columns: double

Definition at line 89 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::RhoEtaPhiVector & | value
| ) |  | `[static]`

Advanced columns: 3D-vector.

Definition at line 134 of file TupleDecorator.cpp.

    { return _fill ( tuple , name , value ) ; }

StatusCode GaudiPython::TupleDecorator::farray | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const std::vector< double > & | data,
|  | const std::string & | length,
|  | const size_t | maxv
| ) |  | `[static]`

Advanced columns: floating-size arrays.

Definition at line 170 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->farray( name , data.begin() , data.end() , length , maxv ) ;
    }

StatusCode GaudiPython::TupleDecorator::farray | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const CLHEP::HepVector & | data,
|  | const std::string & | length,
|  | const size_t | maxv
| ) |  | `[static]`

Advanced columns: floating-size arrays.

Definition at line 181 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      // use the trick!
      const double* begin = &(data[0]);
      const double* end   =   begin + data.num_row() ;
      return tuple->farray ( name , begin , end , length , maxv ) ;
    }

StatusCode GaudiPython::TupleDecorator::fmatrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const GaudiPython::Matrix & | data,
|  | const Tuples::TupleObj::MIndex | cols,
|  | const std::string & | length,
|  | const size_t | maxv
| ) |  | `[static]`

Advanced columns: floating-size matrices.

Definition at line 195 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      if ( !data.empty() && cols != data.front().size() )
      { return tuple ->
          Error  ("GP:fmatrix(1): mismatch in matrix dimensions!" ) ; }
      return tuple->fmatrix( name , data , data.size() , cols , length , maxv ) ;
    }

StatusCode GaudiPython::TupleDecorator::fmatrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const CLHEP::HepGenMatrix & | data,
|  | const Tuples::TupleObj::MIndex | cols,
|  | const std::string & | length,
|  | const size_t | maxv
| ) |  | `[static]`

Advanced columns: floating-size matrices.

Definition at line 210 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      if ( cols != data.num_col() )
      { return tuple ->
          Error  ("GP:fmatrix(2): mismatch in matrix dimensions!" ) ; }
      return tuple->fmatrix( name , data , data.num_row() , cols , length , maxv ) ;
    }

StatusCode GaudiPython::TupleDecorator::fmatrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const GaudiUtils::VectorMap< int, double > & | info,
|  | const std::string & | length,
|  | const size_t | maxv
| ) |  | `[static]`

Advanced columns: floating-size matrices.

Definition at line 225 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->fmatrix ( name , info , length , maxv ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::SymMatrix2x2 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: symmetric matrices.

Definition at line 538 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const GaudiPython::Matrix & | data,
|  | const Tuples::TupleObj::MIndex | cols
| ) |  | `[static]`

Advanced columns: fixed size matrices.

Definition at line 336 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      if ( data.empty()   )
      { return tuple ->
          Warning ("GP:matrix(1): empty fixed matrix, skip matrix "    ) ; }
      if ( cols != data.front().size() )
      { return tuple ->
          Error  ("GP:matrix(1): mismatch in fixed matrix dimensions!" ) ; }
      return tuple -> matrix ( name , data , data.size() , cols  ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix4x3 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: non-square matrices.

Definition at line 475 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::SymMatrix4x4 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: symmetric matrices.

Definition at line 556 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::SymMatrix3x3 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: symmetric matrices.

Definition at line 547 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::SymMatrix1x1 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: symmetric matrices.

Definition at line 529 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix3x6 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: non-square matrices.

Definition at line 502 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix9x9 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: square matrices.

Definition at line 439 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix3x2 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: non-square matrices.

Definition at line 520 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::SymMatrix7x7 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: symmetric matrices.

Definition at line 583 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::SymMatrix9x9 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: symmetric matrices.

Definition at line 601 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix1x1 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: square matrices.

Definition at line 367 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix1x5 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: non-square matrices.

Definition at line 457 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix1x6 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: non-square matrices.

Definition at line 466 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix4x4 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: square matrices.

Definition at line 394 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix3x5 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: non-square matrices.

Definition at line 493 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix2x3 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: non-square matrices.

Definition at line 511 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix3x4 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: non-square matrices.

Definition at line 484 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::SymMatrix8x8 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: symmetric matrices.

Definition at line 592 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix5x5 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: square matrices.

Definition at line 403 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::SymMatrix5x5 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: symmetric matrices.

Definition at line 565 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix8x8 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: square matrices.

Definition at line 430 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix7x7 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: square matrices.

Definition at line 421 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix2x2 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: square matrices.

Definition at line 376 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const CLHEP::HepGenMatrix & | data
| ) |  | `[static]`

Advanced columns: fixed size matrices.

Definition at line 352 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      if ( 1 > data.num_col()   )
      { return tuple ->
          Error  ("GP:matrix(2): illegal fixed matrix num_col" ) ; }
      if ( 1 > data.num_row()   )
      { return tuple ->
          Error  ("GP:matrix(2): illegal fixed matrix num_row" ) ; }
      return tuple->matrix( name , data , data.num_row() , data.num_col() ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix3x3 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: square matrices.

Definition at line 385 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::SymMatrix6x6 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: symmetric matrices.

Definition at line 574 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix6x6 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: square matrices.

Definition at line 412 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple,
|  | const std::string & | name,
|  | const Gaudi::Matrix1x3 & | value
| ) |  | `[static]`

Advanced columns: fixed size matrices: non-square matrices.

Definition at line 448 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->matrix ( name , data ) ;
    }

NTuple::Tuple * GaudiPython::TupleDecorator::ntuple | ( | const Tuples::Tuple & | tuple ) | `[static]`

accessors to internal

Definition at line 55 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return 0 ; }
      return tuple->tuple() ;
    }

INTuple * GaudiPython::TupleDecorator::nTuple | ( | const Tuples::Tuple & | tuple ) | `[static]`

accessors to internal

Definition at line 48 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return 0 ; }
      return tuple->tuple() ;
    }

bool GaudiPython::TupleDecorator::valid | ( | const Tuples::Tuple & | tuple ) | `[static]`

status of the tuple

Definition at line 62 of file TupleDecorator.cpp.

    { return tuple.valid() ; }

StatusCode GaudiPython::TupleDecorator::write | ( | const Tuples::Tuple & | tuple ) | `[static]`

commit the row

Definition at line 65 of file TupleDecorator.cpp.

    {
      if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
      return tuple->write();
    }

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

- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r2/GaudiPython/GaudiPython/TupleDecorator.h
- /afs/.cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v22r2/GaudiPython/src/Lib/TupleDecorator.cpp

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines