Belle II Software
release-08-01-10
|
Class representing Millepede steering. More...
#include <PedeSteering.h>
Public Member Functions | |
PedeSteering () | |
Default constructor. | |
PedeSteering (const std::string &filename) | |
Constructor to directly import command from file. More... | |
virtual | ~PedeSteering () |
Destructor. | |
void | import (std::string filename) |
Load commands from existing text file. More... | |
void | command (std::string line) |
Add command to the steering. More... | |
std::string | make (std::string filename="") |
Compose and write out steering file. More... | |
void | fixParameters (std::vector< int > labels, std::vector< double > values={}, std::vector< double > presigmas={}) |
Fix parameter values and set presigmas. More... | |
void | addFile (std::string filename, double weight=1.) |
Add a file (optionally with weight) to list of binary files. | |
void | clearFiles () |
Clear list of files. | |
Private Attributes | |
std::vector< std::string > | commands |
list command lines | |
std::vector< std::string > | files |
list of binary files | |
std::string | name |
Name of steering (used as default filename) | |
Class representing Millepede steering.
Definition at line 23 of file PedeSteering.h.
|
inlineexplicit |
Constructor to directly import command from file.
filename | text file with Pede commands |
Definition at line 29 of file PedeSteering.h.
void command | ( | std::string | line | ) |
Add command to the steering.
line | Line with command to be added |
Definition at line 35 of file PedeSteering.cc.
void fixParameters | ( | std::vector< int > | labels, |
std::vector< double > | values = {} , |
||
std::vector< double > | presigmas = {} |
||
) |
Fix parameter values and set presigmas.
labels | Vector of Pede labels (see GlobalLabel.h) |
values | Vector (of size labels) with values to be set to parameters in labels |
presigmas | Vector (of size labels) with presigmas for parameters (<0 means fixed parameter) |
Definition at line 51 of file PedeSteering.cc.
void import | ( | std::string | filename | ) |
Load commands from existing text file.
filename | Path to txt file to be loaded |
Definition at line 39 of file PedeSteering.cc.
string make | ( | std::string | filename = "" | ) |
Compose and write out steering file.
filename | Output steering file name |
Definition at line 16 of file PedeSteering.cc.