CbmRoot
Loading...
Searching...
No Matches
CbmOnlineParWrite.h
Go to the documentation of this file.
1/* Copyright (C) 2024 FIAS Frankfurt Institute for Advanced Studies, Frankfurt / Main
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Felix Weiglhofer [committer] */
4
5#pragma once
6
12#include "Definitions.h"
13
14#include <TString.h>
15
16class FairRunAna;
17class TList;
18class CbmSetup;
19
26
27 public:
32
33 void Run(const Config& config);
34
35 private:
37 TString fSrcDir = ""; // CbmRoot Source directory
38 CbmSetup* fSetup = nullptr; // Global Geometry setup
39 FairRunAna* fRun = nullptr; // FairRunAna object
40 TList* fParList = nullptr; // List of parameter files, opened with FairRuntimeDb
41
42 void AddDetectors();
43
44 void AddTrd();
45 void AddTof();
46 void AddSts();
47};
This class is responsible for writing the online parameters to configuration files.
void Run(const Config &config)