CbmRoot
Loading...
Searching...
No Matches
CbmLitField.h
Go to the documentation of this file.
1
/* Copyright (C) 2009-2012 GSI/JINR-LIT, Darmstadt/Dubna
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Andrey Lebedev [committer] */
4
11
#ifndef CBMLITFIELD_H_
12
#define CBMLITFIELD_H_
13
14
#include "
base/CbmLitFloat.h
"
15
16
#include <string>
17
using
std::string;
18
25
class
CbmLitField
{
26
public
:
30
CbmLitField
(){};
31
35
virtual
~CbmLitField
(){};
36
46
virtual
void
GetFieldValue
(
litfloat
x
,
litfloat
y
,
litfloat
z,
litfloat
& Bx,
litfloat
& By,
litfloat
& Bz)
const
= 0;
47
48
/*
49
* \brief Return string representation of class.
50
* \return String representation of this class.
51
*/
52
virtual
string
ToString
()
const
{
return
"CbmLitField::ToString"
; }
53
};
54
55
#endif
/* CBMLITFIELD_H_ */
CbmLitFloat.h
Define floating point number type litfloat.
litfloat
double litfloat
Definition
CbmLitFloat.h:19
y
Double_t y
Definition
CbmMvdSensorDigiToHitTask.cxx:64
x
Double_t x
Definition
CbmMvdSensorDigiToHitTask.cxx:64
CbmLitField
Interface for accessing the magnetic field.
Definition
CbmLitField.h:25
CbmLitField::GetFieldValue
virtual void GetFieldValue(litfloat x, litfloat y, litfloat z, litfloat &Bx, litfloat &By, litfloat &Bz) const =0
Return field value at (x,y,z) position.
CbmLitField::~CbmLitField
virtual ~CbmLitField()
Destructor.
Definition
CbmLitField.h:35
CbmLitField::CbmLitField
CbmLitField()
Constructor.
Definition
CbmLitField.h:30
CbmLitField::ToString
virtual string ToString() const
Definition
CbmLitField.h:52
reco
littrack
std
interface
CbmLitField.h
Generated on Sun Dec 22 2024 23:04:17 for CbmRoot by
1.12.0