mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-27 00:30: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; \
|
argv[0]=cmd; \
|
||||||
sprintf(cmd,"_%d.angcal",det->getFileIndex()); \
|
sprintf(cmd,"_%d.angcal",det->getFileIndex()); \
|
||||||
outfile.open(string(det->getFilePath()+string("/")+det->getFileName()+string(cmd)).c_str()); \
|
outfile.open(string(det->getFilePath()+string("/")+det->getFileName()+string(cmd)).c_str()); \
|
||||||
|
outfile.precision(8);
|
||||||
myDet=new slsDetectorCommand(det); \
|
myDet=new slsDetectorCommand(det); \
|
||||||
if (outfile.is_open()) { \
|
if (outfile.is_open()) { \
|
||||||
for (int iv=0; iv<nvars; iv++) { \
|
for (int iv=0; iv<nvars; iv++) { \
|
||||||
@ -36,14 +37,14 @@ class angCalLogClass {
|
|||||||
}; \
|
}; \
|
||||||
}; \
|
}; \
|
||||||
};
|
};
|
||||||
~angCalLogClass(){delete myDet; outfile.close();};
|
~angCalLogClass(){delete myDet; outfile.close();};
|
||||||
#else
|
#else
|
||||||
angCalLogClass() { createVars(); };
|
angCalLogClass() { createVars(); };
|
||||||
~angCalLogClass(){};
|
~angCalLogClass(){};
|
||||||
#endif
|
#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];
|
char vars[100][100];
|
||||||
int nvars;
|
int nvars;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user