![]() |
Project
|
#include <boost/program_options.hpp>
#include <string>
#include "DataFormatsParameters/GRPECSObject.h"
#include "DataFormatsParameters/GRPMagField.h"
#include "DataFormatsParameters/GRPLHCIFData.h"
#include "CommonUtils/FileSystemUtils.h"
#include <fairlogger/Logger.h>
#include <TFile.h>
#include <CommonUtils/NameConf.h>
#include <DetectorsCommonDataFormats/DetID.h>
#include <CCDB/BasicCCDBManager.h>
#include <SimConfig/SimConfig.h>
#include <unordered_map>
#include <filesystem>
#include "CommonUtils/ConfigurableParam.h"
#include "DataFormatsCalibration/MeanVertexObject.h"
#include "SimConfig/InteractionDiamondParam.h"
Go to the source code of this file.
Classes | |
struct | Options |
Enumerations | |
enum class | GRPCommand { kNONE , kCREATE , kANCHOR , kSETROMODE , kPRINTECS , kPRINTLHC , kPRINTMAG } |
Functions | |
void | print_globalHelp (int argc, char *argv[]) |
void | printGRPECS (std::string const &filename) |
void | printGRPMAG (std::string const &filename) |
void | printGRPLHC (std::string const &filename) |
void | setROMode (std::string const &filename, std::vector< std::string > const &continuous, std::vector< std::string > const &triggered, bool clear=false) |
bool | publish (std::string const &filename, std::string const &path, std::string CCDBpath) |
bool | anchor_GRPs (Options const &opts, std::vector< std::string > const &paths={"GLO/Config/GRPECS", "GLO/Config/GRPMagField", "GLO/Config/GRPLHCIF"}) |
bool | create_MeanVertexObject (Options const &opts) |
bool | create_GRPs (Options const &opts) |
void | perform_Command (Options const &opts) |
bool | parseOptions (int argc, char *argv[], Options &optvalues) |
int | main (int argc, char *argv[]) |
Variables | |
std::unique_ptr< CCDBHelper > | gCCDBWrapper |
|
strong |
Enumerator | |
---|---|
kNONE | |
kCREATE | |
kANCHOR | |
kSETROMODE | |
kPRINTECS | |
kPRINTLHC | |
kPRINTMAG |
Definition at line 36 of file GRPTool.cxx.
bool anchor_GRPs | ( | Options const & | opts, |
std::vector< std::string > const & | paths = {"GLO/Config/GRPECS", "GLO/Config/GRPMagField", "GLO/Config/GRPLHCIF"} |
||
) |
Definition at line 223 of file GRPTool.cxx.
bool create_GRPs | ( | Options const & | opts | ) |
Definition at line 293 of file GRPTool.cxx.
bool create_MeanVertexObject | ( | Options const & | opts | ) |
Definition at line 243 of file GRPTool.cxx.
Definition at line 643 of file GRPTool.cxx.
Definition at line 491 of file GRPTool.cxx.
Definition at line 459 of file GRPTool.cxx.
Definition at line 98 of file GRPTool.cxx.
void printGRPECS | ( | std::string const & | filename | ) |
Definition at line 130 of file GRPTool.cxx.
void printGRPLHC | ( | std::string const & | filename | ) |
Definition at line 140 of file GRPTool.cxx.
void printGRPMAG | ( | std::string const & | filename | ) |
Definition at line 135 of file GRPTool.cxx.
bool publish | ( | std::string const & | filename, |
std::string const & | path, | ||
std::string | CCDBpath | ||
) |
Definition at line 198 of file GRPTool.cxx.
void setROMode | ( | std::string const & | filename, |
std::vector< std::string > const & | continuous, | ||
std::vector< std::string > const & | triggered, | ||
bool | clear = false |
||
) |
Definition at line 145 of file GRPTool.cxx.
std::unique_ptr<CCDBHelper> gCCDBWrapper |
Definition at line 96 of file GRPTool.cxx.