CbmRoot
|
Main steering class of reconstruction in CBM. More...
#include <CbmReco.h>
Classes | |
struct | Config |
Public Member Functions | |
CbmReco (Config config, std::string source, std::string outFile, std::string configFile, int32_t numTs=std::numeric_limits< int32_t >::max(), uint16_t port=0, cbm::Monitor *monitor=nullptr) | |
Default constructor. | |
CbmReco (Config config, std::vector< std::string > sources, std::string outFile, std::string configFile, int32_t numTs=std::numeric_limits< int32_t >::max(), uint16_t port=0, cbm::Monitor *monitor=nullptr) | |
Standard constructor for list of sources. | |
virtual | ~CbmReco () |
Destructor. | |
std::string | ListSources () const |
List all entries in the input vector. | |
int32_t | Run () |
Configure and execute run. | |
Private Member Functions | |
ClassDef (CbmReco, 1) | |
Private Attributes | |
Config | fConfig = {} |
Configuration. | |
std::vector< std::string > | fSourceNames = {} |
Sources (input files or stream) | |
std::string | fOutputFileName = "" |
Output file (ROOT) | |
std::string | fConfigFileName = "" |
Configuration file (YAML) | |
int32_t | fNumTs = 0 |
Number of timeslices to process. | |
uint16_t | fHttpServerPort = 0 |
cbm::Monitor * | fMonitor = nullptr |
Main steering class of reconstruction in CBM.
The class instantiates the processing steps as FairTasks, and configure and executes the run as FairRunOnline.
Currently included processing steps:
CbmReco::CbmReco | ( | Config | config, |
std::string | source, | ||
std::string | outFile, | ||
std::string | configFile, | ||
int32_t | numTs = std::numeric_limits< int32_t >::max(), | ||
uint16_t | port = 0, | ||
cbm::Monitor * | monitor = nullptr ) |
Default constructor.
Standard constructor for a single source
source | Name of input file or stream |
outFile | Name of output file |
numTs | Number of timeslices to process. If negative, all available will be used. |
config | Configuration |
port | Port number for the http server. If 0, server will not be activated. |
CbmReco::CbmReco | ( | Config | config, |
std::vector< std::string > | sources, | ||
std::string | outFile, | ||
std::string | configFile, | ||
int32_t | numTs = std::numeric_limits< int32_t >::max(), | ||
uint16_t | port = 0, | ||
cbm::Monitor * | monitor = nullptr ) |
Standard constructor for list of sources.
source | Vector of names of input files or input sources |
outFile | Name of output file |
numTs | Number of timeslices to process. If negative, all available will be used. |
config | Configuration |
port | Port number for the http server |
|
private |
std::string CbmReco::ListSources | ( | ) | const |
List all entries in the input vector.
Definition at line 65 of file CbmReco.cxx.
References fSourceNames.
Referenced by Run().
int32_t CbmReco::Run | ( | ) |
Configure and execute run.
Definition at line 78 of file CbmReco.cxx.
References cbm::algo::evbuild::DigiTriggerConfig::Detector(), CbmReco::Config::dumpSetup, CbmTaskUnpack::Config::dumpSetup, cbm::algo::evbuild::Config::fBuilder, fConfig, fConfigFileName, cbm::algo::evbuild::Config::fDigiTrigger, fHttpServerPort, fMonitor, fNumTs, fOutputFileName, cbm::algo::evbuild::Config::fSelector, fSourceNames, and ListSources().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Sources (input files or stream)
Definition at line 97 of file CbmReco.h.
Referenced by ListSources(), and Run().