9#include <alignment/PedeApplication.h>
28 string tmpfile(
"pede_test.tmp.txt");
30 string cmd(
"pede > " + tmpfile);
33 ifstream file(tmpfile);
34 string line;
string verText;
37 stringstream ss(line);
40 remove(tmpfile.c_str());
46 ifstream result(filename);
55 result.read(
"millepede.res");
56 result.readEigenFile(
"millepede.eve");
62 string cmd(
"export OMP_THREAD_LIMIT=1000 && pede " + steering.make());
63 int retval = system(cmd.c_str());
Class representing Millepede steering.
bool run(PedeSteering &steering)
Run Pede with given steering.
PedeResult calibrate(PedeSteering &steering)
Run Pede and return full result with parameter corrections.
int warnings() const
Level of warnings converted to int.
std::string exitMessage
Pede exit message.
void readEndFile(std::string filename="millepede.end")
Reads the millepede.end file and sets this object retrieved state.
int exitCode
Pede exit code.
bool aborted() const
True if Pede was aborted (parameters not calculated)
int revision()
Return Pede revision number.
Class to process Pede result file(s)
Abstract base class for different kinds of events.