| # Gaudi Framework, version v21r11 |

Home |  | Generated: 30 Sep 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 ) ; }

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

Advanced columns: LorentzVector.

Definition at line 113 of file TupleDecorator.cpp.

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

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 ) ; }

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

Advanced columns: 3D-vector.

Definition at line 125 of file TupleDecorator.cpp.

    00128 { 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 131 of file TupleDecorator.cpp.

    00134 { return _fill ( tuple , 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 137 of file TupleDecorator.cpp.

    00140 { 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 143 of file TupleDecorator.cpp.

    00146 { 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 149 of file TupleDecorator.cpp.

    00152 { 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 155 of file TupleDecorator.cpp.

    00158 { return _fill ( tuple , name , 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 161 of file TupleDecorator.cpp.

    00164 { 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 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 260 of file TupleDecorator.cpp.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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