16 #include "CLHEP/Vector/ThreeVector.h"
17 #include "CLHEP/Vector/Rotation.h"
30 static void dump3v(
const CLHEP::Hep3Vector& vec,
const std::string&
msg);
57 static void dumpVS(
const std::vector<ALIstring>& wl ,
const std::string&
msg, std::ostream& outs =
std::cout) ;
91 if( fabs(val) <= 1.E-9) {
return 0.;
92 }
else {
return val; }; }
98 static std::string
changeName(
const std::string& oldName,
const std::string& subsstr1,
const std::string& subsstr2 );
111 static std::vector<double>
getRotationAnglesFromMatrix( CLHEP::HepRotation& rmLocal,
double origAngleX,
double origAngleY,
double origAngleZ );
112 static double diff2pi(
double ang1,
double ang2 );
113 static bool eq2ang(
double ang1,
double ang2 );
115 static double addPii(
double val );
static void set_time_now(time_t now)
static ALIdouble maximum_deviation_derivative
static ALIdouble _OutputLengthValueDimensionFactor
static double approxTo0(double val)
static double diff2pi(double ang1, double ang2)
static bool eq2ang(double ang1, double ang2)
static void dumprm(const CLHEP::HepRotation &rm, const std::string &msg, std::ostream &out=std::cout)
static void SetOutputLengthDimensionFactors()
static ALIdouble getMaximumDeviationDerivative()
static ALIdouble _AngleValueDimensionFactor
static ALIdouble LengthSigmaDimensionFactor()
static double addPii(double val)
static void setMaximumDeviationDerivative(ALIdouble val)
static int checkMatrixEquations(double angleX, double angleY, double angleZ, CLHEP::HepRotation *rot)
static double getFloat(const ALIstring &str)
Convert a string to an float, checking that it is really a number.
static bool getBool(const ALIstring &str)
Convert a bool to an integer, checking that it is really a bool.
static ALIdouble OutputAngleValueDimensionFactor()
static ALIdouble val0(ALIdouble val)
static ALIdouble _OutputAngleSigmaDimensionFactor
static ALIdouble _AngleSigmaDimensionFactor
static ALIdouble CalculateAngleDimensionFactorFromString(ALIstring dimstr)
static ALIdouble CalculateLengthDimensionFactorFromInt(ALIint ad)
static int IsNumber(const ALIstring &str)
static ALIdouble OutputAngleSigmaDimensionFactor()
static void setFirstTime(ALIbool val)
static ALIdouble CalculateLengthDimensionFactorFromString(ALIstring dimstr)
static void SetAngleDimensionFactors()
static void SetOutputAngleDimensionFactors()
static ALIdouble AngleSigmaDimensionFactor()
static void dump3v(const CLHEP::Hep3Vector &vec, const std::string &msg)
static void SetLengthDimensionFactors()
static std::string changeName(const std::string &oldName, const std::string &subsstr1, const std::string &subsstr2)
static ALIdouble _LengthSigmaDimensionFactor
static ALIbool getFirstTime()
static void dumpVS(const std::vector< ALIstring > &wl, const std::string &msg, std::ostream &outs=std::cout)
dumps a vector of strings with a message to outs
static ALIdouble getDimensionValue(const ALIstring &dim, const ALIstring &dimType)
static ALIdouble OutputLengthValueDimensionFactor()
static void setDebugVerbosity(ALIint val)
static ALIdouble OutputLengthSigmaDimensionFactor()
static ALIdouble _OutputAngleValueDimensionFactor
static ALIdouble AngleValueDimensionFactor()
static std::vector< double > getRotationAnglesFromMatrix(CLHEP::HepRotation &rmLocal, double origAngleX, double origAngleY, double origAngleZ)
static int getInt(const ALIstring &str)
Convert a string to an integer, checking that it is really an integer.
static ALIdouble _OutputLengthSigmaDimensionFactor
static void setReportVerbosity(ALIint val)
static void dumpDimensions(std::ofstream &fout)
static ALIstring subQuotes(const ALIstring &str)
static ALIdouble _LengthValueDimensionFactor
static ALIdouble LengthValueDimensionFactor()
static ALIdouble CalculateAngleDimensionFactorFromInt(ALIint ad)