|
BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
|
#include "BmnAlignConfig.h"#include "BmnAlignDefines.h"#include "BmnAlignModels.h"#include "fairlogger/Logger.h"#include <fstream>#include <iomanip>#include <nlohmann/json.hpp>#include <vector>Go to the source code of this file.
Typedefs | |
| using | inDetModel = BmnRun8cgDM |
| using | outDetModel = BmnRun8DM |
Functions | |
| int | expandS (const char *inSolutionPath="/home/igor/bmnroot/align_new/cfg/run8/slALL.e11.00.json", const char *outSolutionPath="/home/igor/bmnroot/align_new/cfg/run8/slALL.e76.00.json") |
| Re-encode a solution from a coarse detector model into a finer one. | |
| using inDetModel = BmnRun8cgDM |
| using outDetModel = BmnRun8DM |
| int expandS | ( | const char * | inSolutionPath = "/home/igor/bmnroot/align_new/cfg/run8/slALL.e11.00.json", |
| const char * | outSolutionPath = "/home/igor/bmnroot/align_new/cfg/run8/slALL.e76.00.json" ) |
Every element of the fine model inherits the correction of the coarse element it belongs to, so a solution obtained on half-stations can seed a run that aligns individual modules. The two models are named by the inDetModel and outDetModel aliases at the top of the file.
| inSolutionPath | .json solution written for the coarse model |
| outSolutionPath | .json file to write the expanded solution into |
Definition at line 47 of file expandS.C.
References BmnRun8DM::Alignables(), BMN_GLOBAL_PARAMS_PD, BmnAlignHierarchy::BuildFlat(), BmnDetectorModel::EncodedID(), i, BmnRun8cgDM::IDfromHit(), BmnDetectorModel::Idx(), BmnDetectorModel::Init(), BmnAlignConfig::Solution::leaves, BmnAlignConfig::NodeValues::node, BmnParamLayout::ParamNames(), BmnAlignConfig::ReadSolution(), BmnDetectorModel::UnknownID(), and BmnAlignConfig::NodeValues::values.