|
Gaudi Framework, version v23r2 |
| Home | Generated: Thu Jun 28 2012 |
Simple class which performs the decoration of the standard N-Tuple. More...
#include <GaudiPython/TupleDecorator.h>
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::XYZVector &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 | 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 | 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 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 Gaudi::Vector1 &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 | 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 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::SymMatrix2x2 &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 | column (const Tuples::Tuple &tuple, const std::string &name, const Gaudi::Time &value) |
| advanced column: time | |
| static StatusCode | column (const Tuples::Tuple &tuple, const Gaudi::Time &value) |
| advanced column: time | |
| static StatusCode | array (const Tuples::Tuple &tuple, const std::string &name, const CLHEP::HepVector &data) |
| Advanced columns: fixed 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 | matrix (const Tuples::Tuple &tuple, const std::string &name, const CLHEP::HepGenMatrix &data) |
| Advanced columns: fixed 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. | |
Simple class which performs the decoration of the standard N-Tuple.
Definition at line 48 of file TupleDecorator.h.
| 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 171 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::Vector1 & | data | ||
| ) | [static] |
Advanced columns: fixed size arrays.
Definition at line 180 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::Vector2 & | data | ||
| ) | [static] |
Advanced columns: fixed size arrays.
Definition at line 189 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 198 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 207 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 217 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::Vector6 & | data | ||
| ) | [static] |
Advanced columns: fixed size arrays.
Definition at line 226 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 235 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 244 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 253 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 560 of file TupleDecorator.cpp.
{
if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
return tuple->array( name , data , data.num_row() ) ;
}
| StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple, |
| const std::string & | name, | ||
| IOpaqueAddress * | value | ||
| ) | [static] |
more or less simple columns: IOpaqueAddress
Definition at line 102 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 int | value | ||
| ) | [static] |
more or less simple columns: int
Definition at line 73 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 96 of file TupleDecorator.cpp.
{ return _fill ( tuple , name , value ) ; }
| StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple, |
| IOpaqueAddress * | value | ||
| ) | [static] |
more or less simple columns: IOpaqueAddress
Definition at line 111 of file TupleDecorator.cpp.
{ 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 116 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 79 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::XYZPoint & | value | ||
| ) | [static] |
Advanced columns: 3D-points.
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 Gaudi::Time & | value | ||
| ) | [static] |
advanced column: time
Definition at line 530 of file TupleDecorator.cpp.
{
if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
StatusCode sc = StatusCode::SUCCESS ;
//
sc = tuple->column ( name + "year" , value.year ( true ) , 1970 , 2070 ) ;
if ( sc.isFailure() ) { return sc ; }
sc = tuple->column ( name + "month" , value.month ( true ) + 1 , 1 , 16 ) ;
if ( sc.isFailure() ) { return sc ; }
sc = tuple->column ( name + "day" , value.day ( true ) , 0 , 32 ) ;
if ( sc.isFailure() ) { return sc ; }
sc = tuple->column ( name + "hour" , value.hour ( true ) , 0 , 25 ) ;
if ( sc.isFailure() ) { return sc ; }
sc = tuple->column ( name + "minute" , value.minute ( true ) , 0 , 61 ) ;
if ( sc.isFailure() ) { return sc ; }
sc = tuple->column ( name + "second" , value.second ( true ) , 0 , 61 ) ;
if ( sc.isFailure() ) { return sc ; }
sc = tuple->column ( name + "nsecond" , value.nsecond () ) ;
//
return sc ;
}
| 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 90 of file TupleDecorator.cpp.
{ return _fill ( tuple , name , value ) ; }
| StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple, |
| const Gaudi::Time & | value | ||
| ) | [static] |
advanced column: time
Definition at line 523 of file TupleDecorator.cpp.
{ return column ( tuple , "" , 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 134 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 569 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 GaudiUtils::VectorMap< int, double > & | info, | ||
| const std::string & | length, | ||
| const size_t | maxv | ||
| ) | [static] |
Advanced columns: floating-size matrices.
Definition at line 160 of file TupleDecorator.cpp.
{
if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
return tuple->fmatrix ( name , info , 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 145 of file TupleDecorator.cpp.
| 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 598 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::matrix | ( | const Tuples::Tuple & | tuple, |
| const std::string & | name, | ||
| const Gaudi::Matrix8x8 & | value | ||
| ) | [static] |
Advanced columns: fixed size matrices: square matrices.
Definition at line 341 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 332 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 359 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 314 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 377 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 404 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 467 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 431 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 323 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 503 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 458 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::Matrix3x3 & | value | ||
| ) | [static] |
Advanced columns: fixed size matrices: square matrices.
Definition at line 296 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 422 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 583 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::Matrix4x3 & | value | ||
| ) | [static] |
Advanced columns: fixed size matrices: non-square matrices.
Definition at line 386 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 262 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::Matrix4x4 & | value | ||
| ) | [static] |
Advanced columns: fixed size matrices: square matrices.
Definition at line 305 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 476 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 278 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 368 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 494 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 512 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 485 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::SymMatrix2x2 & | value | ||
| ) | [static] |
Advanced columns: fixed size matrices: symmetric matrices.
Definition at line 449 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 440 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 287 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 350 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 395 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 413 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 56 of file TupleDecorator.cpp.
| INTuple * GaudiPython::TupleDecorator::nTuple | ( | const Tuples::Tuple & | tuple ) | [static] |
accessors to internal
Definition at line 49 of file TupleDecorator.cpp.
| bool GaudiPython::TupleDecorator::valid | ( | const Tuples::Tuple & | tuple ) | [static] |
| StatusCode GaudiPython::TupleDecorator::write | ( | const Tuples::Tuple & | tuple ) | [static] |
commit the row
Definition at line 66 of file TupleDecorator.cpp.
{
if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
return tuple->write();
}