mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 16:20:03 +02:00
incrmented precision of the precision on the angcallog
git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@739 951219d9-93cf-4727-9268-0efd64621fa3
This commit is contained in:
parent
400611f38a
commit
224f5cee90
@ -28,6 +28,7 @@ class angCalLogClass {
|
||||
argv[0]=cmd; \
|
||||
sprintf(cmd,"_%d.angcal",det->getFileIndex()); \
|
||||
outfile.open(string(det->getFilePath()+string("/")+det->getFileName()+string(cmd)).c_str()); \
|
||||
outfile.precision(8);
|
||||
myDet=new slsDetectorCommand(det); \
|
||||
if (outfile.is_open()) { \
|
||||
for (int iv=0; iv<nvars; iv++) { \
|
||||
@ -43,7 +44,7 @@ class angCalLogClass {
|
||||
#endif
|
||||
|
||||
|
||||
int addStep(double pos, string fname) {outfile << pos << " " << fname << endl; return 0;};
|
||||
int addStep(double pos, string fname) {std::cout.precision(5); outfile << pos << " " << fname << endl; return 0;};
|
||||
|
||||
|
||||
//
|
||||
@ -143,7 +144,6 @@ class angCalLogClass {
|
||||
|
||||
char vars[100][100];
|
||||
int nvars;
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user