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] */
4
#include "
HalCbmAnalysisManager.h
"
5
6
#include "
CbmFieldMapSym3.h
"
7
#include "
CbmHelix.h
"
8
#include "
HalCbmField.h
"
9
10
HalCbmAnalysisManager::HalCbmAnalysisManager
() {}
11
12
Bool_t
HalCbmAnalysisManager::Init
()
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
24
HalCbmAnalysisManager::~HalCbmAnalysisManager
()
25
{
26
if
(
fMagField
)
delete
fMagField
;
27
}
CbmFieldMapSym3.h
CbmHelix.h
HalCbmAnalysisManager.h
HalCbmField.h
CbmFieldMapSym3
Definition
CbmFieldMapSym3.h:39
CbmHelix::SetField
static void SetField(Hal::MagField *field)
Definition
CbmHelix.h:41
HalCbmAnalysisManager::HalCbmAnalysisManager
HalCbmAnalysisManager()
Definition
HalCbmAnalysisManager.cxx:10
HalCbmAnalysisManager::Init
virtual Bool_t Init()
Definition
HalCbmAnalysisManager.cxx:12
HalCbmAnalysisManager::fMagField
FairField * fMagField
Definition
HalCbmAnalysisManager.h:14
HalCbmAnalysisManager::~HalCbmAnalysisManager
virtual ~HalCbmAnalysisManager()
Definition
HalCbmAnalysisManager.cxx:24
HalCbmField
Definition
HalCbmField.h:11
analysis
PWGC2F
femtoscopy
hal
helpers
HalCbmAnalysisManager.cxx
Generated on Sun Dec 22 2024 23:04:05 for CbmRoot by
1.12.0