| The Gaudi Framework v32r1 (f65d50dc)

Public Member Functions | List of all members
Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >::Operations Struct Reference

`#include <Gaudi/Parsers/Grammars.h>`

## Public Member Functions
void | operator() (ResultT &res, const ScalarT &scalar, const char xyz) const
void | operator() (ResultT &res, const ResultT &xyz) const

## Detailed Description

### template<typename Iterator, typename PointT, typename Skipper>
struct Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >::Operations

Definition at line 457 of file Grammars.h.

## Member Function Documentation

## ◆ operator()() [1/2]

template<typename Iterator , typename PointT , typename Skipper >

void Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >::Operations::operator() | ( | ResultT & | res,
|  | const ScalarT & | scalar,
|  | const char | xyz
| ) |  | const
| inline

Definition at line 459 of file Grammars.h.

459 {
460 switch ( xyz ) {
461 case 'x':
462 res.SetPx( scalar );
463 break;
464 case 'y':
465 res.SetPy( scalar );
466 break;
467 case 'z':
468 res.SetPz( scalar );
469 break;
470 case 'e':
471 res.SetE( scalar );
472 break;
473 default:
474 break;
475 }
476 }
Gaudi::Parsers::Pnt4DGrammar::scalar
Grammar_< Iterator, ScalarT, Skipper >::Grammar scalar
Definition: Grammars.h:499

## ◆ operator()() [2/2]

template<typename Iterator , typename PointT , typename Skipper >

void Gaudi::Parsers::Pnt4DGrammar< Iterator, PointT, Skipper >::Operations::operator() | ( | ResultT & | res,
|  | const ResultT & | xyz
| ) |  | const
| inline

Definition at line 477 of file Grammars.h.

477 {
478 res.SetPx( xyz.Px() );
479 res.SetPy( xyz.Py() );
480 res.SetPz( xyz.Pz() );
481 }

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

- GaudiKernel/Gaudi/Parsers/Grammars.h