R3BROOT
R3B analysis software
Toggle main menu visibility
Loading...
Searching...
No Matches
R3BAladinMagnet.cxx
Go to the documentation of this file.
1
/******************************************************************************
2
* Copyright (C) 2009 GSI Helmholtzzentrum für Schwerionenforschung GmbH *
3
* Copyright (C) 2009-2026 Members of R3B Collaboration *
4
* *
5
* This software is distributed under the terms of the *
6
* GNU General Public Licence (GPL) version 3, *
7
* copied verbatim in the file "LICENSE". *
8
* *
9
* In applying this license GSI does not waive the privileges and immunities *
10
* granted to it by virtue of its status as an Intergovernmental Organization *
11
* or submit itself to any jurisdiction. *
12
******************************************************************************/
13
14
#include "
R3BAladinMagnet.h
"
15
#include <FairLogger.h>
16
17
const
Double_t
__ALADIN_POS_DX
= 0.;
18
const
Double_t
__ALADIN_POS_DY
= 0.;
19
const
Double_t
__ALADIN_POS_DZ
= 350. - 95.;
20
const
Double_t
__ALADIN_ROT
= +7.;
21
const
TString
__ALADIN_NAME
=
"Aladin Magnet"
;
22
23
R3BAladinMagnet::R3BAladinMagnet
()
24
// NOTE: Delegate Constructor, such that geometry operations are set up.
25
:
R3BAladinMagnet
(
""
)
26
{
27
}
28
29
R3BAladinMagnet::R3BAladinMagnet
(
const
TString& geoFile)
30
:
R3BModule
(
__ALADIN_NAME
,
31
__ALADIN_NAME
,
32
kFALSE,
33
geoFile,
34
{
__ALADIN_POS_DX
,
__ALADIN_POS_DY
,
__ALADIN_POS_DZ
},
35
{
""
, -90.,
__ALADIN_ROT
, 90. })
36
{
37
}
38
39
void
R3BAladinMagnet::SetPosition
(
const
TGeoTranslation&)
40
{
41
LOG(fatal) <<
"Moving "
<< GetName() <<
" (which is a "
<< ClassName() <<
") is not allowed!"
;
42
}
43
44
void
R3BAladinMagnet::SetRotation
(
const
TGeoRotation&)
45
{
46
LOG(fatal) <<
"Rotating "
<< GetName() <<
" (which is a "
<< ClassName() <<
") is not allowed!"
;
47
}
48
49
ClassImp
(
R3BAladinMagnet
)
__ALADIN_POS_DX
const Double_t __ALADIN_POS_DX
Definition
R3BAladinMagnet.cxx:17
__ALADIN_NAME
const TString __ALADIN_NAME
Definition
R3BAladinMagnet.cxx:21
__ALADIN_POS_DZ
const Double_t __ALADIN_POS_DZ
Definition
R3BAladinMagnet.cxx:19
__ALADIN_ROT
const Double_t __ALADIN_ROT
Definition
R3BAladinMagnet.cxx:20
__ALADIN_POS_DY
const Double_t __ALADIN_POS_DY
Definition
R3BAladinMagnet.cxx:18
R3BAladinMagnet.h
ClassImp
ClassImp(R3B::Neuland::Cal2HitPar)
R3BAladinMagnet
Definition
R3BAladinMagnet.h:19
R3BAladinMagnet::SetPosition
void SetPosition(const TGeoTranslation &)
Method to setup the position of the detector-origin.
Definition
R3BAladinMagnet.cxx:39
R3BAladinMagnet::SetRotation
void SetRotation(const TGeoRotation &)
Method to setup the rotation of the detector.
Definition
R3BAladinMagnet.cxx:44
R3BAladinMagnet::R3BAladinMagnet
R3BAladinMagnet()
Definition
R3BAladinMagnet.cxx:23
R3BModule::R3BModule
R3BModule()
Definition
R3BModule.cxx:18
passive
R3BAladinMagnet.cxx
Generated by
1.18.0