| # Gaudi Framework, version v21r9 |

Home |  | Generated: 3 May 2010

# 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

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

accessors to internal

Definition at line 45 of file TupleDecorator.cpp.

    00046 {
    00047   if ( !tuple.valid() ) { return 0 ; }
    00048   return tuple->tuple() ;
    00049 }

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

accessors to internal

Definition at line 52 of file TupleDecorator.cpp.

    00053 {
    00054   if ( !tuple.valid() ) { return 0 ; }
    00055   return tuple->tuple() ;
    00056 }

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

status of the tuple

Definition at line 59 of file TupleDecorator.cpp.

    00059 { return tuple.valid() ; }

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

commit the row

Definition at line 62 of file TupleDecorator.cpp.

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

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 69 of file TupleDecorator.cpp.

    00072 { 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 75 of file TupleDecorator.cpp.

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

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 86 of file TupleDecorator.cpp.

    00089 { 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 92 of file TupleDecorator.cpp.

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

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

more or less simple columns: IOpaqueAddress

Definition at line 98 of file TupleDecorator.cpp.

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

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.

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

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

Advanced columns: LorentzVector.

Definition at line 107 of file TupleDecorator.cpp.

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

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

Advanced columns: LorentzVector.

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

Advanced columns: 3D-vector.

Definition at line 119 of file TupleDecorator.cpp.

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

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

Advanced columns: 3D-vector.

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

Advanced columns: 3D-vector.

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

Advanced columns: 3D-vector.

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

Advanced columns: 3D-points.

Definition at line 143 of file TupleDecorator.cpp.

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

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

Advanced columns: 3D-points.

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

Advanced columns: 3D-points.

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

Advanced columns: 3D-points.

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 167 of file TupleDecorator.cpp.

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

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 178 of file TupleDecorator.cpp.

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

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 192 of file TupleDecorator.cpp.

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

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 207 of file TupleDecorator.cpp.

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

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 222 of file TupleDecorator.cpp.

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

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 233 of file TupleDecorator.cpp.

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

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 242 of file TupleDecorator.cpp.

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

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 251 of file TupleDecorator.cpp.

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

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

Advanced columns: fixed size arrays.

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

Advanced columns: fixed size arrays.

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

Advanced columns: fixed size arrays.

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

Advanced columns: fixed size arrays.

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

Advanced columns: fixed size arrays.

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

Advanced columns: fixed size arrays.

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

Advanced columns: fixed size arrays.

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

Advanced columns: fixed size arrays.

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 333 of file TupleDecorator.cpp.

    00337 {
    00338   if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
    00339   if ( data.empty()   )
    00340   { return tuple ->
    00341       Warning ("GP:matrix(1): empty fixed matrix, skip matrix "    ) ; }
    00342   if ( cols != data.front().size() )
    00343   { return tuple ->
    00344       Error  ("GP:matrix(1): mismatch in fixed matrix dimensions!" ) ; }
    00345   return tuple -> matrix ( name , data , data.size() , cols  ) ;
    00346 }

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 349 of file TupleDecorator.cpp.

    00352 {
    00353   if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
    00354   if ( 1 > data.num_col()   )
    00355   { return tuple ->
    00356       Error  ("GP:matrix(2): illegal fixed matrix num_col" ) ; }
    00357   if ( 1 > data.num_row()   )
    00358   { return tuple ->
    00359       Error  ("GP:matrix(2): illegal fixed matrix num_row" ) ; }
    00360   return tuple->matrix( name , data , data.num_row() , data.num_col() ) ;
    00361 }

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 364 of file TupleDecorator.cpp.

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

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

Advanced columns: fixed size matrices: square matrices.

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

Advanced columns: fixed size matrices: square matrices.

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

Advanced columns: fixed size matrices: square matrices.

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

Advanced columns: fixed size matrices: square matrices.

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

Advanced columns: fixed size matrices: square matrices.

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

Advanced columns: fixed size matrices: square matrices.

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

Advanced columns: fixed size matrices: square matrices.

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

Advanced columns: fixed size matrices: square matrices.

static 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.

static 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.

static 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.

static 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.

static 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.

static 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.

static 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.

static 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.

static 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.

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

Advanced columns: fixed size matrices: symmetric matrices.

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

Advanced columns: fixed size matrices: symmetric matrices.

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

Advanced columns: fixed size matrices: symmetric matrices.

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

Advanced columns: fixed size matrices: symmetric matrices.

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

Advanced columns: fixed size matrices: symmetric matrices.

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

Advanced columns: fixed size matrices: symmetric matrices.

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

Advanced columns: fixed size matrices: symmetric matrices.

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

Advanced columns: fixed size matrices: symmetric matrices.

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

Advanced columns: fixed size matrices: symmetric matrices.

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

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