CMS 3D CMS Logo

DDTypes.h
Go to the documentation of this file.
1 #ifndef DD_DDTYPES_H
2 #define DD_DDTYPES_H
3 
4 #include <string>
5 #include <vector>
6 #include <map>
8 #include <iosfwd>
9 
11 
13 
15 
17 
19 
21 
23 
25 
27 
28 
29 std::ostream & operator<<(std::ostream & os, const DDNumericArguments & t);
30 std::ostream & operator<<(std::ostream & os, const DDStringArguments & t);
31 std::ostream & operator<<(std::ostream & os, const DDVectorArguments & t);
32 std::ostream & operator<<(std::ostream & os, const DDMapArguments & t);
33 std::ostream & operator<<(std::ostream & os, const DDStringVectorArguments & t);
34 
35 // Formats an angle in radians as a 0-padded string in degrees; e.g. "0001.293900" for 1.2939 degrees.
36 std::string formatAsDegrees(double radianVal);
37 
38 // Formats an angle in radians as a 0-padded string in degrees expressed as integer between 0 and 360; e.g. "090" for -270.001 degrees.
39 std::string formatAsDegreesInInteger(double radianVal);
40 
41 
42 #endif // DDTYPES
ReadMapType< double > DDNumericArguments
corresponds to a collection of named doubles
Definition: DDTypes.h:12
std::string formatAsDegreesInInteger(double radianVal)
Definition: DDTypes.cc:86
std::ostream & operator<<(std::ostream &os, const DDNumericArguments &t)
Definition: DDTypes.cc:13
ReadMapType< std::string > DDStringArguments
corresponds to a collection of named strings
Definition: DDTypes.h:16
std::string formatAsDegrees(double radianVal)
Definition: DDTypes.cc:75
ReadMapType< std::vector< double > > DDVectorArguments
corresponds to a collection of named std::vectors of doubles */
Definition: DDTypes.h:20
ReadMapType< std::vector< std::string > > DDStringVectorArguments
Definition: DDTypes.h:26
ReadMapType< std::map< std::string, double > > DDMapArguments
corresponds to a collection of named std::maps of strings to double */
Definition: DDTypes.h:24