File indexing completed on 2024-04-06 12:05:24
0001 #ifndef DD_DDTYPES_H
0002 #define DD_DDTYPES_H
0003
0004 #include <string>
0005 #include <vector>
0006 #include <map>
0007 #include "DetectorDescription/Core/interface/DDReadMapType.h"
0008 #include <iosfwd>
0009
0010
0011
0012 typedef ReadMapType<double> DDNumericArguments;
0013
0014
0015
0016 typedef ReadMapType<std::string> DDStringArguments;
0017
0018
0019
0020 typedef ReadMapType<std::vector<double> > DDVectorArguments;
0021
0022
0023
0024 typedef ReadMapType<std::map<std::string, double> > DDMapArguments;
0025
0026 typedef ReadMapType<std::vector<std::string> > DDStringVectorArguments;
0027
0028 std::ostream& operator<<(std::ostream& os, const DDNumericArguments& t);
0029 std::ostream& operator<<(std::ostream& os, const DDStringArguments& t);
0030 std::ostream& operator<<(std::ostream& os, const DDVectorArguments& t);
0031 std::ostream& operator<<(std::ostream& os, const DDMapArguments& t);
0032 std::ostream& operator<<(std::ostream& os, const DDStringVectorArguments& t);
0033
0034
0035 std::string formatAsDegrees(double radianVal);
0036
0037
0038 std::string formatAsDegreesInInteger(double radianVal);
0039
0040 #endif