Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
c2_function_transformation< float_type > Class Template Reference

a transformation of a function in and out of a coordinate space, using 2 c2_transformations More...

#include <c2_function.hh>

Inheritance diagram for c2_function_transformation< float_type >:

Public Member Functions

 c2_function_transformation (const c2_transformation< float_type > &xx, const c2_transformation< float_type > &yy)
 construct this from two c2_transformation instances More...
 
virtual ~c2_function_transformation ()
 destructor More...
 
virtual float_type evaluate (float_type xraw, float_type y, float_type yp0, float_type ypp0, float_type *yprime, float_type *yprime2) const
 

Public Attributes

const bool isIdentity
 
const c2_transformation
< float_type > & 
X
 the X axis transform More...
 
const c2_transformation
< float_type > & 
Y
 the Y axis transform More...
 

Detailed Description

template<typename float_type>
class c2_function_transformation< float_type >

a transformation of a function in and out of a coordinate space, using 2 c2_transformations

This class is a container for two axis transforms, but also provides the critical evaluate() function which converts a result in internal coordinates (with derivatives) into the external representation

Definition at line 1379 of file c2_function.hh.

Constructor & Destructor Documentation

template<typename float_type>
c2_function_transformation< float_type >::c2_function_transformation ( const c2_transformation< float_type > &  xx,
const c2_transformation< float_type > &  yy 
)
inline

construct this from two c2_transformation instances

Parameters
xxthe X axis transform
yythe Y axis transform

Definition at line 1384 of file c2_function.hh.

1386  :
1387  isIdentity(!(xx.fTransformed || yy.fTransformed)), X(xx), Y(yy) { }
const bool fTransformed
flag to indicate if this transform is not the identity
const c2_transformation< float_type > & Y
the Y axis transform
const c2_transformation< float_type > & X
the X axis transform
template<typename float_type>
virtual c2_function_transformation< float_type >::~c2_function_transformation ( )
inlinevirtual

destructor

Definition at line 1389 of file c2_function.hh.

1389 { delete &X; delete &Y; }
const c2_transformation< float_type > & Y
the Y axis transform
const c2_transformation< float_type > & X
the X axis transform

Member Function Documentation

template<typename float_type>
virtual float_type c2_function_transformation< float_type >::evaluate ( float_type  xraw,
float_type  y,
float_type  yp0,
float_type  ypp0,
float_type *  yprime,
float_type *  yprime2 
) const
virtual

Member Data Documentation

template<typename float_type>
const bool c2_function_transformation< float_type >::isIdentity

Definition at line 1394 of file c2_function.hh.

template<typename float_type>
const c2_transformation<float_type>& c2_function_transformation< float_type >::X

the X axis transform

Definition at line 1396 of file c2_function.hh.

template<typename float_type>
const c2_transformation<float_type>& c2_function_transformation< float_type >::Y

the Y axis transform

Definition at line 1398 of file c2_function.hh.


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