CbmRoot
Loading...
Searching...
No Matches
CbmStripHit.h
Go to the documentation of this file.
1
/* Copyright (C) 2009-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2
SPDX-License-Identifier: GPL-3.0-only
3
Authors: Florian Uhlig [committer], Andrey Lebedev */
4
14
#ifndef CBMSTRIPHIT_H_
15
#define CBMSTRIPHIT_H_
16
17
#include "
CbmHit.h
"
// for CbmHit
18
19
#include <Rtypes.h>
// for THashConsistencyHolder, ClassDef
20
21
#include <cstdint>
22
#include <string>
// for string
23
24
class
TVector3;
25
26
class
CbmStripHit
:
public
CbmHit
{
27
public
:
31
CbmStripHit
();
32
47
CbmStripHit
(int32_t address,
double
u,
double
phi,
double
z,
double
du,
double
dphi,
double
dz, int32_t refId,
48
double
time = -1.,
double
timeError = -1.);
49
59
CbmStripHit
(int32_t address,
const
TVector3&
pos
,
const
TVector3& err, int32_t refId,
double
time = -1.,
60
double
timeError = -1.);
61
65
virtual
~CbmStripHit
();
66
70
virtual
std::string
ToString
()
const
;
71
72
/* Accessors */
73
double
GetU
()
const
{
return
fU
; }
74
double
GetPhi
()
const
{
return
fPhi
; }
75
double
GetDu
()
const
{
return
fDu
; }
76
double
GetDphi
()
const
{
return
fDphi
; }
77
78
/* Setters */
79
void
SetU
(
double
u) {
fU
= u; }
80
void
SetPhi
(
double
phi) {
fPhi
= phi; }
81
void
SetDu
(
double
du) {
fDu
= du; }
82
void
SetDphi
(
double
dphi) {
fDphi
= dphi; }
83
84
private
:
85
double
fU
;
86
double
fDu
;
87
double
fPhi
;
88
double
fDphi
;
89
90
ClassDef
(
CbmStripHit
, 1);
91
};
92
93
#endif
/* CBMSTRIPHIT_H_ */
CbmHit.h
pos
TVector3 pos
Definition
CbmMvdSensorDigiToHitTask.cxx:56
CbmHit
Definition
CbmHit.h:44
CbmStripHit
Definition
CbmStripHit.h:26
CbmStripHit::CbmStripHit
CbmStripHit()
Default constructor.
Definition
CbmStripHit.cxx:20
CbmStripHit::ClassDef
ClassDef(CbmStripHit, 1)
CbmStripHit::fDphi
double fDphi
strip rotation error [rad]
Definition
CbmStripHit.h:88
CbmStripHit::fDu
double fDu
U error [cm].
Definition
CbmStripHit.h:86
CbmStripHit::GetPhi
double GetPhi() const
Definition
CbmStripHit.h:74
CbmStripHit::GetDu
double GetDu() const
Definition
CbmStripHit.h:75
CbmStripHit::GetDphi
double GetDphi() const
Definition
CbmStripHit.h:76
CbmStripHit::SetDu
void SetDu(double du)
Definition
CbmStripHit.h:81
CbmStripHit::ToString
virtual std::string ToString() const
Inherited from CbmBaseHit.
Definition
CbmStripHit.cxx:41
CbmStripHit::SetU
void SetU(double u)
Definition
CbmStripHit.h:79
CbmStripHit::SetDphi
void SetDphi(double dphi)
Definition
CbmStripHit.h:82
CbmStripHit::fU
double fU
U coordinate in the rotated c.s [cm].
Definition
CbmStripHit.h:85
CbmStripHit::fPhi
double fPhi
strip rotation angle [rad]
Definition
CbmStripHit.h:87
CbmStripHit::SetPhi
void SetPhi(double phi)
Definition
CbmStripHit.h:80
CbmStripHit::GetU
double GetU() const
Definition
CbmStripHit.h:73
CbmStripHit::~CbmStripHit
virtual ~CbmStripHit()
Destructor.
Definition
CbmStripHit.cxx:39
core
data
CbmStripHit.h
Generated on Sun Dec 22 2024 23:04:08 for CbmRoot by
1.12.0