CbmRoot
Loading...
Searching...
No Matches
HalCbmAnalysisManager.cxx
Go to the documentation of this file.
1/* Copyright (C) 2023-2023 Warsaw University of Technology, Warsaw
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Daniel Wielanek [committer] */
5
6#include "CbmFieldMapSym3.h"
7#include "CbmHelix.h"
8#include "HalCbmField.h"
9
11
13{
14 if (fMagField == nullptr) {
15 fMagField = new CbmFieldMapSym3("field_v18a");
16 fMagField->Init();
17 SetField(new HalCbmField(fMagField));
18 }
19 Bool_t stat = Hal::AnalysisManager::Init();
20 CbmHelix::SetField(GetField());
21 return stat;
22}
23
static void SetField(Hal::MagField *field)
Definition CbmHelix.h:41