The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
VectorsAsProperty.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #pragma once
12 
15 #include <GaudiKernel/StatusCode.h>
18 #include <map>
19 #include <string>
20 #include <vector>
21 
32 namespace Gaudi {
33  namespace Parsers {
69  GAUDI_API StatusCode parse( Gaudi::XYZPoint& result, std::string_view input );
105  GAUDI_API StatusCode parse( Gaudi::XYZVector& result, std::string_view input );
174  GAUDI_API StatusCode parse( Gaudi::LorentzVector& result, std::string_view input );
181  GAUDI_API StatusCode parse( std::vector<Gaudi::XYZPoint>& result, std::string_view input );
188  GAUDI_API StatusCode parse( std::vector<Gaudi::XYZVector>& result, std::string_view input );
195  GAUDI_API StatusCode parse( std::vector<Gaudi::LorentzVector>& result, std::string_view input );
196  } // namespace Parsers
197 } // namespace Gaudi
198 namespace Gaudi {
199  namespace Utils {
201  GAUDI_API std::ostream& toStream( const Gaudi::XYZPoint& obj, std::ostream& s );
203  GAUDI_API std::ostream& toStream( const Gaudi::XYZVector& obj, std::ostream& s );
205  GAUDI_API std::ostream& toStream( const Gaudi::LorentzVector& obj, std::ostream& s );
206  } // namespace Utils
207 } // namespace Gaudi
Gaudi::Parsers::parse
StatusCode parse(GaudiUtils::HashMap< K, V > &result, std::string_view input)
Basic parser for the types of HashMap used in DODBasicMapper.
Definition: DODBasicMapper.cpp:21
gaudirun.s
string s
Definition: gaudirun.py:346
Gaudi::XYZVector
ROOT::Math::XYZVector XYZVector
Cartesian 3D vector (double)
Definition: Vector3DTypes.h:26
StatusCode.h
Vector3DTypes.h
StatusCode
Definition: StatusCode.h:64
Point3DTypes.h
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
Gaudi::Utils::toStream
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
Definition: ToStream.h:304
Vector4DTypes.h
Point4DTypes.h
Gaudi::LorentzVector
ROOT::Math::PxPyPzEVector LorentzVector
Cartesian 4 Vector.
Definition: Vector4DTypes.h:27
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:49
Gaudi::XYZPoint
ROOT::Math::XYZPoint XYZPoint
3D cartesian point (double)
Definition: Point3DTypes.h:37