CbmRoot
Loading...
Searching...
No Matches
CbmMagnet.h
Go to the documentation of this file.
1
/* Copyright (C) 2019-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Florian Uhlig [committer] */
4
5
#ifndef CBMMAGNET_H
6
#define CBMMAGNET_H
7
8
#include "FairModule.h"
9
10
class
TGeoRotation;
11
class
TGeoCombiTrans;
12
13
class
CbmMagnet
:
public
FairModule {
14
public
:
15
CbmMagnet
(
const
char
* name,
const
char
* title =
"CBM Magnet"
, Double_t px = 0., Double_t py = 0., Double_t pz = 0.,
16
Double_t rx = 0., Double_t ry = 0., Double_t rz = 0.);
17
CbmMagnet
();
18
virtual
~CbmMagnet
();
19
virtual
void
ConstructGeometry
();
20
21
virtual
Bool_t
IsSensitive
(
const
std::string& name);
22
Bool_t
CheckIfSensitive
(std::string name);
23
24
private
:
25
TGeoRotation*
frot
;
26
TGeoCombiTrans*
fposrot
;
27
28
CbmMagnet
(
const
CbmMagnet
&);
29
CbmMagnet
&
operator=
(
const
CbmMagnet
&);
30
31
ClassDef(
CbmMagnet
, 2)
//CBMMagnet
32
};
33
34
#endif
// CBMMAGNET_H
CbmMagnet
Definition
CbmMagnet.h:13
CbmMagnet::~CbmMagnet
virtual ~CbmMagnet()
Definition
CbmMagnet.cxx:25
CbmMagnet::frot
TGeoRotation * frot
Definition
CbmMagnet.h:25
CbmMagnet::operator=
CbmMagnet & operator=(const CbmMagnet &)
CbmMagnet::fposrot
TGeoCombiTrans * fposrot
Definition
CbmMagnet.h:26
CbmMagnet::CbmMagnet
CbmMagnet(const CbmMagnet &)
CbmMagnet::ConstructGeometry
virtual void ConstructGeometry()
Definition
CbmMagnet.cxx:27
CbmMagnet::CheckIfSensitive
Bool_t CheckIfSensitive(std::string name)
Definition
CbmMagnet.cxx:74
CbmMagnet::CbmMagnet
CbmMagnet()
Definition
CbmMagnet.cxx:15
CbmMagnet::IsSensitive
virtual Bool_t IsSensitive(const std::string &name)
Definition
CbmMagnet.cxx:68
sim
passive
CbmMagnet.h
Generated on Sun Dec 22 2024 23:04:19 for CbmRoot by
1.12.0