Belle II Software  release-08-01-10
PedeApplication Class Reference

Class interfacing Millepede solver (Pede) More...

#include <PedeApplication.h>

Collaboration diagram for PedeApplication:

Public Member Functions

 PedeApplication ()
 Constructor.
 
bool run (PedeSteering &steering)
 Run Pede with given steering. More...
 
PedeResult calibrate (PedeSteering &steering)
 Run Pede and return full result with parameter corrections. More...
 
bool success ()
 Was Pede successfull (can the result be used)?
 
int warnings () const
 Level of warnings converted to int.
 
bool aborted () const
 True if Pede was aborted (parameters not calculated)
 
int getExitCode () const
 Returns the Pede exit code (from millepede.end file)
 
std::string getExitMessage () const
 Returns the Pede exit message (from millepede.end file)
 
void readEndFile (std::string filename="millepede.end")
 Reads the millepede.end file and sets this object retrieved state.
 
int revision ()
 Return Pede revision number.
 

Private Attributes

int exitCode
 Pede exit code.
 
std::string exitMessage
 Pede exit message.
 

Detailed Description

Class interfacing Millepede solver (Pede)

Definition at line 23 of file PedeApplication.h.

Member Function Documentation

◆ calibrate()

PedeResult calibrate ( PedeSteering steering)

Run Pede and return full result with parameter corrections.

Parameters
steeringPede steering object with commands

Definition at line 51 of file PedeApplication.cc.

52  {
53  PedeResult result;
54  if (run(steering)) {
55  result.read("millepede.res");
56  result.readEigenFile("millepede.eve");
57  }
58  return result;
59  }
bool run(PedeSteering &steering)
Run Pede with given steering.

◆ run()

bool run ( PedeSteering steering)

Run Pede with given steering.

Parameters
steeringPede steering object with commands

Definition at line 60 of file PedeApplication.cc.


The documentation for this class was generated from the following files: