BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
comment_ids.C File Reference
#include "BmnRun9DM.h"
#include <algorithm>
#include <fstream>
#include <functional>
#include <string>
#include <vector>
#include "fairlogger/Logger.h"
#include <nlohmann/json.hpp>
Include dependency graph for comment_ids.C:

Go to the source code of this file.

Functions

int comment_ids (const char *jsonPath)
 Add the text form of its detector IDs to every entry that names some.

Function Documentation

◆ comment_ids()

int comment_ids ( const char * jsonPath)
Parameters
jsonPathconstraints or presigmas file, rewritten in place
Returns
0 on success (also when the file names no ID and is left as it is), -1 if the file cannot be read, parsed or written

Definition at line 65 of file comment_ids.C.

References BmnRun9DM::DecodeID(), entries, and v.

Here is the call graph for this function: