14 template <
unsigned int N>
15 inline MAP::const_iterator
find 19 for (
unsigned int i = 0 ; i <
N ; ++ i )
21 auto found = m.find ( keys[i] ) ;
22 if ( m.end() != found ) {
return found ; }
27 const std::string s_X[] = {
"x" ,
"X" ,
"px" ,
"pX" ,
"Px" ,
"PX" } ;
28 const std::string s_Y[] = {
"y" ,
"Y" ,
"py" ,
"pY" ,
"Py" ,
"PY" } ;
29 const std::string s_Z[] = {
"z" ,
"Z" ,
"pz" ,
"pZ" ,
"Pz" ,
"PZ" } ;
30 const std::string s_E[] = {
"t" ,
"T" ,
"e" ,
"E" } ;
34 namespace Gaudi {
namespace Parsers {
35 template<
typename T1,
typename T2>
41 if (qi::phrase_parse( iter,
end, g, skipper, result)){
51 return parse_(result, input);
75 return parse_(result, input);
91 return parse_(result, input);
106 return parse_(result, input);
122 return parse_(result, input);
std::ostream & toStream(ITERATOR first, ITERATOR last, std::ostream &s, const std::string &open, const std::string &close, const std::string &delim)
the helper function to print the sequence
StatusCode parse_(ResultT &result, const std::string &input)
StatusCode parse(GaudiUtils::HashMap< K, V > &result, const std::string &input)
Basic parser for the types of HashMap used in DODBasicMapper.
bool isFailure() const
Test for a status code of FAILURE.
std::string::const_iterator IteratorT
This class is used for returning status codes from appropriate routines.
auto end(reverse_wrapper< T > &w)
ROOT::Math::PxPyPzEVector LorentzVector
Cartesian 4 Vector.
implementation of various functions for streaming.
Declaration of parsing functions for various ROOT::Math objects to allow their usage as properties fo...
Helper functions to set/get the application return code.