|
Gaudi Framework, version v23r4 |
| Home | Generated: Mon Sep 17 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: long | |
| 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: long | |
| 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_ll (const Tuples::Tuple &tuple, const std::string &name, const long long value) |
| more or less simple columns: long long | |
| static StatusCode | column_ull (const Tuples::Tuple &tuple, const std::string &name, const unsigned long long value) |
| more or less simple columns: unsigned long long | |
| 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 183 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 192 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 201 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 210 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 219 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 229 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 238 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 247 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 256 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 265 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 572 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 Gaudi::Time & | value | ||
| ) | [static] |
advanced column: time
Definition at line 535 of file TupleDecorator.cpp.
{ return column ( tuple , "" , 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 108 of file TupleDecorator.cpp.
{ return _fill ( tuple , name , value ) ; }
| StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple, |
| const std::string & | name, | ||
| const int | value | ||
| ) | [static] |
more or less simple columns: long
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, | ||
| IOpaqueAddress * | value | ||
| ) | [static] |
more or less simple columns: IOpaqueAddress
Definition at line 114 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, | ||
| const int | minv, | ||
| const int | maxv | ||
| ) | [static] |
more or less simple columns: long
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, |
| IOpaqueAddress * | value | ||
| ) | [static] |
more or less simple columns: IOpaqueAddress
Definition at line 123 of file TupleDecorator.cpp.
{ return column ( tuple , "Address" , value ) ; }
| StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple, |
| const std::string & | name, | ||
| const Gaudi::Time & | value | ||
| ) | [static] |
advanced column: time
Definition at line 542 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 Gaudi::LorentzVector & | value | ||
| ) | [static] |
Advanced columns: LorentzVector.
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::XYZVector & | value | ||
| ) | [static] |
Advanced columns: 3D-vector.
Definition at line 134 of file TupleDecorator.cpp.
{ return _fill ( tuple , name , value ) ; }
| StatusCode GaudiPython::TupleDecorator::column | ( | const Tuples::Tuple & | tuple, |
| const std::string & | name, | ||
| const double | value | ||
| ) | [static] |
more or less simple columns: double
Definition at line 90 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 140 of file TupleDecorator.cpp.
{ return _fill ( tuple , name , value ) ; }
| StatusCode GaudiPython::TupleDecorator::column_ll | ( | const Tuples::Tuple & | tuple, |
| const std::string & | name, | ||
| const long long | value | ||
| ) | [static] |
more or less simple columns: long long
Definition at line 96 of file TupleDecorator.cpp.
{ return _fill ( tuple , name , value ) ; }
| StatusCode GaudiPython::TupleDecorator::column_ull | ( | const Tuples::Tuple & | tuple, |
| const std::string & | name, | ||
| const unsigned long long | value | ||
| ) | [static] |
more or less simple columns: unsigned long long
Definition at line 102 of file TupleDecorator.cpp.
{ return _fill ( tuple , name , value ) ; }
| StatusCode GaudiPython::TupleDecorator::farray | ( | const Tuples::Tuple & | tuple, |
| const std::string & | name, | ||
| const std::vector< double > & | data, | ||
| const std::string & | length, | ||
| const size_t | maxv | ||
| ) | [static] |
Advanced columns: floating-size arrays.
Definition at line 146 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 581 of file TupleDecorator.cpp.
{
if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
// use the trick!
const double* begin = &(data[0]);
const double* end = begin + data.num_row() ;
return tuple->farray ( name , begin , end , length , maxv ) ;
}
| StatusCode GaudiPython::TupleDecorator::fmatrix | ( | const Tuples::Tuple & | tuple, |
| const std::string & | name, | ||
| const GaudiPython::Matrix & | data, | ||
| const Tuples::TupleObj::MIndex | cols, | ||
| const std::string & | length, | ||
| const size_t | maxv | ||
| ) | [static] |
Advanced columns: floating-size matrices.
Definition at line 157 of file TupleDecorator.cpp.
{
if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
if ( !data.empty() && cols != data.front().size() )
{ return tuple ->
Error ("GP:fmatrix(1): mismatch in matrix dimensions!" ) ; }
return tuple->fmatrix( name , data , data.size() , cols , length , maxv ) ;
}
| StatusCode GaudiPython::TupleDecorator::fmatrix | ( | const Tuples::Tuple & | tuple, |
| const std::string & | name, | ||
| const GaudiUtils::VectorMap< int, double > & | info, | ||
| const std::string & | length, | ||
| const size_t | maxv | ||
| ) | [static] |
Advanced columns: floating-size matrices.
Definition at line 172 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 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 610 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::Matrix6x6 & | value | ||
| ) | [static] |
Advanced columns: fixed size matrices: square matrices.
Definition at line 335 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 362 of file TupleDecorator.cpp.
{
if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
return tuple->matrix ( name , data ) ;
}
| StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple, |
| const std::string & | name, | ||
| const Gaudi::Matrix4x4 & | value | ||
| ) | [static] |
Advanced columns: fixed size matrices: square matrices.
Definition at line 317 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 407 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 416 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 506 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 515 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 274 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::Matrix5x5 & | value | ||
| ) | [static] |
Advanced columns: fixed size matrices: square matrices.
Definition at line 326 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 524 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 452 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 308 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 595 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::Matrix2x2 & | value | ||
| ) | [static] |
Advanced columns: fixed size matrices: square matrices.
Definition at line 299 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 380 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 488 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 461 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 371 of file TupleDecorator.cpp.
{
if ( !tuple.valid() ) { return StatusCode::FAILURE ; }
return tuple->matrix ( name , data ) ;
}
| StatusCode GaudiPython::TupleDecorator::matrix | ( | const Tuples::Tuple & | tuple, |
| const std::string & | name, | ||
| const Gaudi::Matrix8x8 & | value | ||
| ) | [static] |
Advanced columns: fixed size matrices: square matrices.
Definition at line 353 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::Matrix4x3 & | value | ||
| ) | [static] |
Advanced columns: fixed size matrices: non-square matrices.
Definition at line 398 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 425 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 443 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 497 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 470 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 389 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 479 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 344 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 290 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 434 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();
}