Functions
CLHEP Namespace Reference

Functions

void decode (std::any const &a, Hep2Vector &result)
 
void decode (std::any const &a, Hep3Vector &result)
 
void decode (std::any const &a, HepLorentzVector &result)
 

Function Documentation

void CLHEP::decode ( std::any const &  a,
Hep2Vector &  result 
)
inline

Definition at line 12 of file CLHEP_ps.h.

13  {
14  std::array<double, 2> tmp = {{0.}};
16  result.setX(tmp.at(0));
17  result.setY(tmp.at(1));
18  }
static QCString result
void decode(std::any const &, std::string &)
const double a
string tmp
Definition: languages.py:63
void CLHEP::decode ( std::any const &  a,
Hep3Vector &  result 
)
inline

Definition at line 21 of file CLHEP_ps.h.

22  {
23  std::array<double, 3> tmp = {{0.}};
25  result.setX(tmp.at(0));
26  result.setY(tmp.at(1));
27  result.setZ(tmp.at(2));
28  }
static QCString result
void decode(std::any const &, std::string &)
const double a
string tmp
Definition: languages.py:63
void CLHEP::decode ( std::any const &  a,
HepLorentzVector &  result 
)
inline

Definition at line 31 of file CLHEP_ps.h.

32  {
33  std::array<double, 4> tmp = {{0.}};
35  result.setX(tmp.at(0));
36  result.setY(tmp.at(1));
37  result.setZ(tmp.at(2));
38  result.setT(tmp.at(3));
39  }
static QCString result
void decode(std::any const &, std::string &)
const double a
string tmp
Definition: languages.py:63